Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×

Comment Re:...And one generation behind on HTML5 (Score 1) 341

if they think that Google, who provides about 85% of Mozilla's total revenue, is going to sit back and let them take the technical lead over Chrome, they're nuts.

Except that Google benefits from faster Javascript engines in any browser, not just Chrome. Firefox is a popular browser, and if Firefox can execute Javascript faster, that means that Google's web apps (which I am just going to guess account for more revenue than Chrome) will perform better. It also means that Google could potentially do more, i.e. have heavier Javascript programs, without worrying that people are going to get annoyed at how slow their applications are. How does Google lose here?

It was my impression that Google created Chrome primarily to push browser speeds (in particular, javascript) forward. Mozilla wouldn't be nearly so concerned with it now if it weren't for V8.

Comment Re:Getting screwed in both directions (Score 1) 443

You misunderstood what I was saying - unit tests should be testing functionality, rather than error handling on every possible type of input, etc. My phrasing was rather misleading, so I'll take the blame for that one.

I should also make the point that dynamically-typed languages do not necessarily allow variables to be used without declaration. `var foo` would be a perfectly acceptable statement (and is, I believe, how C# handles implicitly-typed variables), but none of the (popular) dynamically-typed languages of today have such a thing.

Comment Re:No, not even close... (Score 1) 510

Correct me if I'm wrong here, but I believe Droid was marketed as being based on the Java language as opposed to being an implementation of the Java spec.

Well, first off, Droid is a phone produced by Motorola, while Android is the platform that runs on it. Secondly, Android is an operating system, not a programming language; Dalvik is probably the term you wanted to use, but even that's not truly accurate, as it is a virtual machine. I'm not sure what Google refers to the primary language running on Dalvik as, but iirc they call it Java.

My apologies for being pedantic, but this is Slashdot.

Comment Re:Getting screwed in both directions (Score 1) 443

For example, on a current project, we have standardised JSON data that is accessed using several different programming languages in different contexts. In JavaScript or Python, it’s a breeze. In Java, it’s a chore.

Of course, if you're using Java, it's likely you'll also use XML, to make your application more "enterprisey".

While dynamic-typing weenies like myself see no need for schema validations, many classmates of mine seem to think it's a much better idea than receiving a data structure that may or may not be what you want. It's a difference in philosophy.

Comment Re:Ignorance, mostly. (Score 1) 443

Given the history of web development, dynamic languages became widely used mainly out of ignorance, and have remained widely used due to continuing ignorance. There's no technical argument in favor of dynamic languages. They're just used because their users and proponents often don't even know about how much better and easier static languages make the development of both small and large applications.

While I agree with much of your comment, I believe there are reasons for the continued use of scripting languages in web dev, other than ignorance or stupidity.

The web moves fast, and scripting languages, with their lack of compile-run cycle allow quicker development. Things change enough that this is often worth the corresponding drop in execution speed.

Secondly, the widely-used statically-typed languages (Java, C#) are about as non-DRY as you can get, Java in particular. While static typing does not necessitate needless boilerplate, the languages that remove it are only now starting to gain acceptance, and haven't gotten a firm hold on the market (or strong communities) yet.

Thirdly, shared web hosts (where the majority of small businesses and personal sites are hosted) often don't support much other than static files and PHP, possibly ASP (.NET or otherwise, I haven't checked in a while). I've recently switched to doing a lot more static sites generated by Jekyll, simply because GitHub will host it for me for free (and only having to push my git commits to deploy is nice, too). Hosting matters.

Finally, I find that community is far more important than the language itself, and the innovating part of the web community is a fickle beast, but tends to stay in the realm of dynamically-typed languages. It takes a few years to get something roughly as nice as Rails (well... other people like it) or Django, and years are decades in our field. Things like HAML have been ported to .NET and Java, but the development's done in Ruby.

Comment Re:A Gnome user that wants to give this a try... (Score 1) 302

Er... You're going to get about the same experience no matter what distro you use. About the only thing that'll change is the package management system.

While you would think that would be the case, the versions of KDE packages included, as well as the patching that many distros seem to enjoy doing so much, can make the experience quite different.

Comment Re:NOT the most disgusting form of human imaginabl (Score 1) 774

Next time you have the misfortune of overhearing a rant against child porn, observe that (most probably) there will be no distinction between "pedophiles", "possessors of an illegal photograph" and "child molesters". They are all just "pedophiles" and equally blameworthy.

You will also find an unfortunate lack of distinction between pedophiles, hebephiles, and ephebophiles. Preferring high school girls does not make you a pedophile, despite what the common person says.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...