3 ms·
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
by Borg3 2y ago
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.
- IshKebab 2y agoWhen 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/warning/redefined-builtin.html https://pylint.pycqa.org/en/latest/user_guide/messages/warni...
- Borg3 2y agoHmm, nice stuff.. Luicky, I avoid python, so case closed. Ruby is so much nicer for me.
- IshKebab 2y agoRuby is even worse in my experience, but I guess some people have strange priorities.
- Borg3 2y agoHehe.. 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 :)