DEV Community

Kolton Kulis
Kolton Kulis

Posted on • Edited on

Ruby: A New Journey

I just listened to this 6 hour long Lex Fridman interview with DHH, and 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 ..."

Top comments (1)

Collapse
 
vgoff profile image
Victor Goff

This should be fun, as there are plenty of Perlisms in Ruby! It is one of the influences of the language, and it becomes apparent.