Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Root512832dErb is friendly and easy. I've never had a problem with it. It does what it's supposed to, does it well, and doesn't do anything extra.
I didn't like HAML much, but it's been so long I can't remember why. I hate significant whitespace, so that's probably most of it. It is, however, much more ruby-like, which gives it some definite points.
There are other choices too, like slim, but I think most of the rest have died. (Like Shoes 😅). Slim is the other big alternative, and is ostensibly faster than erb/haml. Though I found myself hating it for several reasons, notably needing a filthy hack to inject rails data into JS. I don't remember all of the reasons, but I'd ranted about Slim many times while working with it. But maybe it's less terrible now? It has been several years, so it's worth checking out if you're strongly considering haml.
bioDan52182dI prefer haml over erb. Minimizes the size of the file which makes it much more readable and its also easier to write.
M1sf3t407418h@AleCx04 I got curious about it the other day and glanced over the docs. Actually feel like I halfway understood what I read. Cleared up a couple things concerning organization of the front end as well.
I'm working on trying to put together a portfolio, think I may make an attempt to figure it out when I get the front end done. My js ability seems to be improving quite a bit faster than my ink skills now thanks to this little compiler, so I'm thinking to focus more on the logical side of things rather than attempt to show off my feeble attempts at art.
Built this cluster fuck of a puzzle for myself on repl earlier...
Basically the same 2 variables being used between 3 components in a manner that works but somewhat redundantly. Not really for public consumption of course, more just a pita bomb disarming exercise for me should I happen to forget the flow of props for yet the 100th time 🙄
Your Job Suck?
Take a quick quiz from Triplebyte to skip the job search hassles and jump to final interviews at hot tech firms
Get a Better Job