DEV Community

Discussion on: What do you dislike about your favorite language?

Collapse
 
mskog profile image
Magnus Skog

Ruby is my favorite language and what I really dislike is symbols vs strings. We have a dynamic language with no type checking so...was it myhash["foo"] or was it myhash[:bar]? Oh right I know! It was ActiveSupport::HashWithIndifferentAccess.new(myhash)[:foo]. How silly of me