3 ms·
CS is more than just syntactic sugar, but speaking in terms of syntax it has a more minimal mindset like Python or Ruby. The difference between source and comp
by lowboy 14y ago
CS is more than just syntactic sugar, but speaking in terms of syntax it has a more minimal mindset like Python or Ruby.
The difference between source and compiled code is much much closer. CS has been designed as a pure abstraction of JS, whereas those other projects take full-fledged languages with all of their idoms and features and make JS out of it. I agree that new syntax is a cost, and in general that we should fear abstractions. PyJS seems like it's more of a web framework (as is GWT) rather than a pure language compiler.
Python is a beautiful language, but just code in JS if you're working on the front end and are wary of CS. I'm a capable JS developer and it took me almost no time to get started with CS. Sure, you hit snags here and there with oddball situations and sometimes you have to check the output, but the benefits definitely outweigh the learning costs.