This content originally appeared on DEV Community and was authored by Kolton Kulis
DHH told me I’m an idiot if I don’t use Ruby. No, he didn’t actually say that, but I just listened to this 6 hour long Lex Fridman interview with DHH. DHH’s enthusiasm inspired me to finally give Ruby a try. So here I am a couple days into learning Ruby, and it has been a lot of fun!
First things first, Perl used to be my main scripting language. I know. I know. It’s a weird one, but you can do so many cool things when a language has first class regex support. I’ve tried to like Python, but I do not like the syntax and writing in it feels abrasive. I do not like the space/tab formatting of Python, and I often butt up against one of Python’s core tenets: “There should be one– and preferably only one –obvious way to do it.” Eh. No! Give me options! More options may make the language more difficult to learn, but having shortcuts makes the programmer experience more enjoyable as you gain language mastery. I like languages that give me the tools to shoot myself in the foot, and I don’t mind a steep learning curve (I use Neovim btw) if the payoff is satisfying.
I love the flexibility of Perl, but I’m looking for something to replace Perl’s acid trip syntax. Ruby is supposedly pleasant, so here we go.
puts "hello world!"
puts "To be continued ..."
This content originally appeared on DEV Community and was authored by Kolton Kulis