The associative arrays in JS are simpler than objects in Java but the expressiveness means you need to be aware of all the different types of type coercion and how it all interacts at runtime. I don't think this is that difficult but it's no more difficult to lay out your data before runtime. I think this is a wash that goes to the dynamic vs static debate which we all know can be argued about for days.
You're leaving out prototypes which I find much more complicated than Java Classes.
>I didn't mean bigger in the sense that you need to know more to be able to use it
Ah ok, well I can see why we have differing opinions because that's exactly what I mean :)
I mean base language including corner-cases, not any of the libraries (even if they're included in the SDK). I think they'd both be huge if we included libraries, since I'd lump in DOM manipulation and something like JQuery into Javascript if Java gets the SDK libraries.
I'll give you generics. Statics, method visibility vs global/local/self. Interfaces, abstract classes, inner classes vs metatables. Data-structures apart from array are implemented on top of the language, array vs tables. Iterators are implemented on top of the language vs lua where they are part of the language. Checked exceptions can just be cast to Exception and ignored. Annotations are optional. Threads vs coroutines.
Yes, comparable to Lua. I'd probably not say it's smaller than Lua but I would say it's not greatly larger than it.
I didn't see a point, just a bunch of facts and a smarmy, self-righteous turn-about comment. If I could downvote it, I would.
The parent comment said "Javascript is a bad language but it's incredibly useful because it's in every browser." and you just agreed with him after writing a bunch of sarcastic drek.
From my perspective, Java has, effectively, structs (well defined groups of data) and a few primitive types, and a class system which is dead simple. It's tiny, comparable to Lua imo.
It's more restrictive, sure, but the dynamic-ness of Javascript is a hindrance when it comes to language spec because the base language functions need to be able to interpret all the different primitive types. There's stacks and stacks of corner cases to remember while Java just says "Nope, wrong type".
Ehhh, no. That's how dropbox works. If you delete a file it stays in the cloud for a month before it's fully deleted. You can use the web interface to do a proper delete, but the interface makes it clear what you are doing.
Not only that but dropbox keeps a few revisions for you if you happen to overwrite the file.
I've NEVER heard anyone complain about these features before.
Exactly. The most successful lothario in my university class was a short guy who went to the gym 5 days a week, had exceptional grooming and was extremely confident/comfortable around women. Height is a very small factor in these things.
Not to mention fringe benefits of being short. Relatively, EVERYTHING IS BIGGER. This idea alone makes me want to try being smaller for a day. Fitting on beds, fitting in airplanes, all food portions are bigger, cars are more spacious.
Yes on prestige. Last I checked lawyers make an excellent living here too. University fees are less crippling because you aren't forced to make repayments unless you are earning over a certain amount.