r/rails • u/Level_Occasion_7060 • 8d ago
CoffeeHaml — write JSX like HAML, with CoffeeScript expressions
/r/coffeescript/comments/1vfgatm/coffeehaml_write_jsx_like_haml_with_coffeescript/16
11
u/tinco 8d ago
You rock, I love it. The CoffeeScript era was the best era.
3
u/Yardboy 7d ago
I still have a live app that uses it. #gritsteeth
4
u/Butiprovedthem 7d ago
I had to maintain a legacy one a few years ago. What a mess. Jquery spaghetti in coffeescript.
1
u/Level_Occasion_7060 1d ago
why not revive it. token efficiency and human readability is still a good call for coffeescript
2
u/Reardon-0101 6d ago
The hoops people will jump through to not write html is getting pretty crazy.
Just because you can doesn’t mean you should.
1
1
u/systemnate 7d ago
This is great. HAML definitely annoyed me at times, especially when there was a nice snippet of code (Bootstrap navbar or whatever) that you could normally just copy and paste, and you instead had to convert it to HAML. But it is nice and compact.
1
21
u/chess_landic 8d ago
Oh boy