3 ms·
I take it you've never used Objective-C and Cocoa. Objective-C is a very dynamic language, especially among compiled languages. It was based on Smalltalk, the
by tlrobinson 19y ago
I take it you've never used Objective-C and Cocoa.
Objective-C is a very dynamic language, especially among compiled languages. It was based on Smalltalk, the same language Python and Ruby were influenced by.
There is really very little room for JavaScript to improve upon Objective-C.
- rontr 19y agoJavascript is simpler - but more importantly, much more popular than Objective-C. It's also garbage collected, a feature that Objective-C may also have these days, but not when I last used it a couple of years ago.
- boucher 19y agoJavascript's also a hell of a lot more popular than ruby, haskel, lisp, <insert your favorite dynamic language here>, etc. But nobody here is saying "Let's give up ruby and switch to Javascript!" Popularity is not everything. (It's also worth noting that Objective-C itself may well be as popular, or more so, than most of those same languages. It is, of course, a difficult thing to measure, but there is some evidence to suggest its at least more popular than languages like Lisp)
- davidw 19y agoAPI's count a lot too. You'd have to look at two equivalent bits of code and see what things look like. Still, though, you can do some interesting things with interpreted languages, like eval()...