3 ms·
Ruby on (Guard)Rails
- deleted 2y ago[deleted]
- falkensmaize 2y agoAs someone who writes a lot of RoR and typescript at work, I find I’m generally happier and more satisfied after completing a ticket in typescript. It seems counterintuitive because Ruby is generally more expressive and readable than JavaScript. In theory, Ruby should be the “happy” language. I think it really just comes down to confidence that what I’ve written will work properly at runtime. There’s always a nagging paranoia with Ruby that I’ve missed adding a safe nav operator or forgotten an .is_a? somewhere, and those mistakes have led to embarrassing production issues in the past. Typescript is far from perfect, but I experience a lot less bugs when writing code in it.