Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Why does Ruby get so much hate? I know it's not the most performant, but the delight I get from Ruby code is still unparalleled IMO


Agreed, I would think that Python would have more haters, given its syntax such as spaces and need of self on each object function.

IMO Ruby has all the advantages of Python without the ugly bits.


My take on the two is this:

Python code looks like Python code. Its structure is rigid enough to let you take on new Python code and (unless it's been too heavily inspired by Ruby code or similarly makes injudicious use of certain powerful Python features) you'll just "get it". Python's strict structure and syntax enhance this.

Ruby? Ruby is a language, but it's sort of more like a meta-language, with the popularity of the concept of using DSLs. Its studied lack of syntax makes it look to me like you often need to know the codebase to know what to do with the code.

(I speak this as one extensively familiar with Python but who has only a passing acquaintance with Ruby at present.)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: