Ruby Hacking Guide (2004)
ruby-hacking-guide.github.io
ruby-hacking-guide.github.io
Rails has been going through a midlife crisis.
I know there's other frameworks but Rails is awesome other than how they bowed down to different JS frameworks for asset pipelines in 5 and 6. This is spose to be better in 7, but I still get weird edges cases and and work tough them in code, and my therapist.
Sometimes I long for PHP, I left right as it was getting proper, Composer, Yii (I know most Laravel fans, but w/e), being able to just hot editing 1 line of code without full deploys.
Yeah, Many people will tell you how surprised they are that I advocated Ruby and Rails, and im fine with that.
Same here. Sometimes I wish there is something that takes the best of Ruby and PHP.
What would this language look like, and what features would it have?
Wait... I was going to cobble up something together with CGI, but then recalled that a) I did that already for a small internal project previous company† and b) mod_ruby is still a thing! I may still give it a shot just for kicks.
https://github.com/mikeowens/ModRuby
† CGI was good enough because it did not need that much perf, so I never needed to go FCGI/mod_ruby. Instead of FTP deployment was done via `git push` to a bare repo + server side post-receive git hook to checkout and atomically replace files (I was kinda mimicking Heroku there)
https://stackoverflow.com/questions/2245634/setting-up-ruby-...
The metaprogramming is just too good.
So it’s with a heavy heart, I must announce the death of JavaScript.
Personally I still really like the Pickaxe book, the latest (5th) edition of which covers Ractors, Fibre Scheduling and static typing. All things added to the latest versions of Ruby.
I also really love Jeremy Evans' "Polished Ruby" book which I think has some really great ideas for how to write ruby well.
Despite a lot of FUD Ruby in 2023 is better than ever.
-
https://pragprog.com/titles/ruby5/programming-ruby-3-2-5th-e...
https://www.packtpub.com/product/polished-ruby-programming/9...
I've been learning about Rust game development with some friends after being a long time Ruby developer and am looking for better ways of explaining the low level stuff to high level rubyists.
I've tried once, but felt the barrier to contribute to ruby-core to be too big, you'd also need to understand how ruby-core rubymine is organised and so on.
I'd love to write a guide about it, if I only knew. I bet many other engineers faced a similar issue and dropped out at some point.
That said, it would be really great if Pat (or someone besides me) published an update version of RUM
Once you learn what the "magic" is and how to create it yourself and the tradeoffs involved, it becomes much less of a problem than it is for others who don't dig in to how Ruby/Rails work.
I eventually moved to working in a proprietary environment where you can't do that, so I've had to rediscover learning from the manual instead of digging into the code and seeing how things really work.
Ruby hacking guide - https://news.ycombinator.com/item?id=6197222 - Aug 2013 (22 comments)
Needing to migrate off it as you count the fuckyou money? I’ll take that problems thanks!
I just got a job last year with a company that used RoR. It was challenging but it's fun to work with now, coming from a Java background.
The companies you're talking about are the ones that got to market first and survived because they used Ruby. Those that didn't simply aren't around any more. ...like those competitors to Github and Gitlab that bet against Ruby. :P
More seriously you're probably just not aware of the wider market. Rails >7, including Hotwire, is fantastic for small productive start ups. If you want to move fast use full-stack Rails.