3 ms·
shipping binary code to browsers He's not talking about binary code. He's talking about bytecode with the same security restrictions Javascript has, with the o
by bad_user 16y ago
shipping binary code to browsers
He's not talking about binary code. He's talking about bytecode with the same security restrictions Javascript has, with the only difference being that a bytecode language is optimized for being a target of compilers, otherwise you have to be Google to make a functional compiler targeting Javascript.
Flash is bad enough
He's not talking about Java Applets or Flash either, he's talking about shipping a bytecode interpreter/compiler instead of a Javascript interpreter/compiler.
if you want to be a good programmer then you need to learn other
languages
I'm increasingly frustrated by having to learn programming languages, not for productivity, not because I'm learning useful new things, but because a certain platform requires it.
Eric Raymonds famous article actually recommends you should try and
learn a new language every year
I would take Eric's advice with a grain of salt: far more useful is to learn new algorithms, data structures, some design skills or do some math learning / exercises every year. Or how about sharping those marketing skills by reading some books / travelling / investing in some offshore relationships?
Learning a language that's similar to what you already know is a waist of time. And if you properly learn C++, Haskell and Lisp you're pretty much done with everything there is to know about programming languages.
Javascript is actually a real cool language masquerading as a very dull
mainstream one
IMHO, programming languages cannot be separated from their mainstream implementation, as many people seem to suggest. No matter how cool Javascript is, you're going to feel the pain related to browser issues.
If all you have is a hammer then every thing looks like a nail
Except that most programming languages are hammers of various sizes with a steeper learning curve than a library that could give you the same productivity.
Case in point for Java programmers: http://www.playframework.org/ http://www.playframework.org/
- junklight 16y agoI'm afraid all this seems like pedantic nit-picking to me - attacking the letter of what I said rather than what I was trying to say. However I did want to comment on my favourite line in this: " if you properly learn C++, Haskell and Lisp " Yes. If you properly learn them I would fully agree. I have in my time made my living as both a C++ programmer and a Lisp programmer and was pretty good at both - but not even close to having properly learned either. Learning them properly would be a life times experience and I suspect you would be a pretty decent programmer at the end of it.
- bad_user 16y agoThat's because you've got innacurate claims, especially regarding to binaries / Flash. To some extent, people can have this right now. Here's what you can do with Silverlight + the Gestalt script (yay, Python): http://ironpython.net/browser/gettingstarted.html http://ironpython.net/browser/gettingstarted.html And lets be clear: we are talking about IronPython working and manipulating the browser's DOM here, not the in-a-box model of Flash. Unfortunately, problems with Silverlight: proprietary, not cross-platform enough, not popular enough, Gestalt is loading slowly because it has to download stuff, the IronPython interpreter not fast enough. Some of these are solvable, but if it isn't a standard implemented by everybody, then it's useless.