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

Right... Python.. Its syntax is so ugly. So I guess you can have really awful gems there with hidden bugs :)

I myself, shoot myself in a foot once doing Python code. I declared variable called 'len' and boom! What an interesting failure mode the script had. Took me a while to figure it out.



When I write Python it's an absolute hard line requirement to run it through Pylint and Pyright. They catch sooooo many issues you'd have to be a complete idiot not to do this (many people are unfortunately).

In this case Pylint will tell you about this mistake:

https://pylint.pycqa.org/en/latest/user_guide/messages/warni...


Hmm, nice stuff.. Luicky, I avoid python, so case closed. Ruby is so much nicer for me.


Ruby is even worse in my experience, but I guess some people have strange priorities.


Hehe.. Well, most importand is, use whatever language that makes you happy using it. I ve started using Ruby around 2006 I think. I was evaluating Python too, but syntax annoyed me and portability issues as well back then. I never regreted that I choosed Ruby. Its just solid for me :)




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

Search: