187 karma · joined December 6, 2010
Needless to say, C++ is very complex and so the book doesn't cover a good part of it. But I think it is a fairly good start and is not too long either.
Well, I am certainly not complaining, I think it is mostly just that it needs to be compiled to javascript and that you need to have the right dependencies in place. If you are compiling from the command line it takes a long time (I know this is caused by the jvm startup time, but it still is a little annoying). I know there are workarounds such as cljs-watch but setting everything up right definitely takes some time. The browser-based Repl is awesome but sometimes breaks, I don't always understand why. I do think there could be some improvements in terms of tutorials but those will surely come (I might write one...)
So if you are using it on a daily basis then all of this probably doesn't matter but it does take a bit to get started. And I think to some part this reflects the fact that, well, Javascript was not really intended to be a platform to be compiled against, it is just used that way because it is the only platform in the browser.
This would indeed be nice but it seems that google wants to push the language more than the VM. I quite get this because saying "you can now run your favorite language for the browser" seems much much more attractive than saying "look we made programming language 1001 and this is what you people should be using now!".
> In general it's easier to put a typed language on an untyped runtime than it is to put an untyped language on a typed runtime.
I have no knowledge of how one would do this but a lot of dynamically typed languages exist for the (I am assuming) statically typed platforms such as the JVM and CLR now.
I like Clojure and have dabbled with clojurescript but the workflow feels pretty hacky and it is clear that this is not what javascript was made for.
I mean here in this thread we are already seeing it. Some people like semicolons, some people don't. Some people like a prototype based object system, some people like a class based system. And on and on.
I think what would really benefit us is a platform (like a JVM for the browser with a great API replacing the dom) where people could implement languages against. we would get
1) A lot of competition of languages (see what is happening on the JVM right now... Clojure, Scala, Groovy ... you name it), hopefully giving us better languages. Javascript has its strenghts but could you imagine that in such an environment a language that doesn't allow you to test whether or not something is a string would make it very long?
2) People could make their choice and be happy. Then you can program the server and the client in the same language, which is pretty much the main argument for server-side javascript.
Let the languages compete instead of giving us one and now another language for the platform!
The problem is with the broken legal system that needs to get fixed. No I am not happy about Astrolabe doing this stupid stuff, but they are quite clearly the symptom, not the root cause. We need to fix the system instead of crying foul everytime someone uses the broken system to do something that is against societies best interest.
The same is true of the financial system. Everyday I talk to people who complain about the greedy and 'stupid' bankers. Well, they behaved 100% rationally. If you work in a system where you can play 'heads I win, tails you loose' you almost have to do it (otherwise you will be outearned and get fired). The problem is the system that allows this kind of game. That is what needs to get fixed.
On the other hand I do feel that some of this sentiment is justified. After all the example of Italy (Bond markets demand high risk premiums, Italy announces much needed reforms, ECB buys Italian bonds, Italy removes reforms) is quite telling. The same (much worse, actually) applies to the financial institutions. What precedent have we set by bailing almost all of the out. Without a lot of reform investors will no doubt assume that financial institutions are state-guaranteed, allowing them to continue the tails I win, heads you (the state, taxpayers) loose game. Clearly more decisive action is required to deal with the current problems but I think we are deluding ourselves if we believe that we can make it out of this debt crisis only by clever policies.
And then... the Groupon comparison kind of sticks in your mind, doesn't it? I don't know, I get the feeling there is more behind this ...
Minor nitpick: When I click on 'Macedonia' the origin point appears in Sweden. When I click on 'Serbia' it appears in Canada.
https://bugs.launchpad.net/ubuntu/+bug/774089 http://old.nabble.com/Ubuntu-11.04-broke-my-MacBook-Pro-td31...
I really love ubuntu, but if you have a macbook pro be careful! I may have to have my logic board replaced!