4 ms·
I've spent the last five years in Rails, but finally got the whole "the browser handles the MV* framework" thing with Node.js, and now I've converted myself tot
by christiangenco 13y ago
I've spent the last five years in Rails, but finally got the whole "the browser handles the MV* framework" thing with Node.js, and now I've converted myself totally to javascript.
Write backend and frontend code in the same language? Yes please. Longing for that fantastically delicious Ruby syntax? Do everything in coffeescript.
- yen223 13y ago"Write backend and frontend code in the same language? Yes please." It's an awesome goal. I just wish that language wasn't Javascript...
- DoubleCluster 13y ago(Smart)GWT makes this possible with Java. I like my languages for big projects strict and unforgiving ;)
- sfjailbird 13y agoI love GWT for this reason. Working with the same classes and objects in server and client-side code transparently is such a treat.
- kaoD 13y agoCoffeeScript alleviates the issue. Seriously. I don't really like Ruby/Python (which CS seems to be heavily inspired on) but it's WAAAY better than JS. It's seamlessly integrated with Node.js. I don't even notice I'm doing coffee, even my files are auto-compiled and minified to JS via express-coffee-script without me or the user noticing. Or try one of the many alternatives: LiveScript, Coco...
- PommeDeTerre 13y agoCoffeeScript still suffers from many of the same problems that JavaScript does, as it's basically a very thin syntactic veneer over JavaScript. Like CoffeeScript's homepage current states, 'The golden rule of CoffeeScript is: "It's just JavaScript".' The problems with JavaScript are very inherent and at its very core. They aren't the kind of things that are fixed by changing the syntax. While languages like Dart and TypeScript go far beyond where CoffeeScript does, the mere presence of JavaScript underneath still causes problems and forces in limitations.
- kaoD 13y agoWhich are the problems in your opinion? You mention Dart and TypeScrypt. Does that mean that typing is an issue for you? I actually like dynamic languages, that's why Coffee solved my problem.