3 ms·
Python and Go are both like that. The language really encourages a single way of doing things, so when a new programmer sticks 20 lines of new logic in the midd
by lacker 6y ago
Python and Go are both like that. The language really encourages a single way of doing things, so when a new programmer sticks 20 lines of new logic in the middle of someone else’s file, it quite often aesthetically blends in. I like it, but sometimes there’s a trade off against power and flexibility.
- goatlover 6y agoPython has magic methods, metaclasses and decorators, which gives you quite a bit of flexibility when you need it. Maybe not quite to the extent of Ruby, but more than Go.
- Florin_Andrei 6y agoI've had to read other people's Perl code before, and that experience basically made "flexibility" a bad word in this area for me. Please stop the ^$%@#$%#@^@$%^&( nonsense, Perl hackers. That's not flexibility, it's childish bravado. Write code that people can read. If some of that precious "flexibility" is lost in the process, that's a net gain actually.
- cutler 6y agoLong live Perl golf. Can't we have a bit of fun with our language in this anodine, Python-dominated world?