4 ms·
How come you guys compare with it CoffeScript? Compiling to JS makes sense because that’s how the code should be distributed. That’s what browsers understand. B
by mostafah 13y ago
How come you guys compare with it CoffeScript? Compiling to JS makes sense because that’s how the code should be distributed. That’s what browsers understand. But why should a new language come to compile to PHP? Why not build a first-class language?
CoffeeScript took off because that was the best way to write client-side code with a cleaner language/syntax. But for server-side, if someone wants a better language/syntax, there are a lot of options to choose from and you don’t have to continue with PHP if you don’t like it.
- tiles 13y agoPHP is still the only option on many, many shared hosting services. Less common over time, but imagine the amount of legacy code that requires PHP libraries or frameworks. If newcomers wanted to ease their development with a more concise language, that holds the same opportunities and difficulties anyone chosing CoffeeScript, Scala, etc. in development has made.
- lukeholder 13y agoI agree at first glance you could see how it would seem to be a waste of time, but I think you underestimate how big of a foothold PHP has for building websites and applications. There are A LOT of php developers. Ease of deployment with PHP, and the run anywhere on any shred hosting service really is a game changer for people learning how to code on the web. I think this project has the ability to build a language that could hide allot of the things developers do not enjoy about PHP while still keeping the huge platform already existing for cheap hosting and integrating with existing code bases.
- AdrianRossouw 13y agoit's $5 for a vps these days. why would you need shared hosting?
- singlow 13y agoPrevious replies had great points, but I also imagine it would be useful for developers who are extending existing PHP codebases. I have to write Drupal and Wordpress plugins/themes pretty often and I get frustrated at simple things like starting variables with dollar signs when I have to switch into PHP mode. Not sure if I would use this, but it is interesting.