Hacker News new | past | comments | ask | show | jobs | submit login

It's just one of the little things, but I'm still very conflicted about print as a function. The reasoning is sound, but I just can't seem to get used to it. It feels especially cluttered and clumsy with new-style string templates:

    print('ver: {}'.format(', '.join(str(i) for i in sys.version_info)).upper())
versus:

    print 'ver: {}'.format(', '.join(str(i) for i in sys.version_info)).upper()
Despite the more consistent naming (ConfigParser -> configparser), simplified api (iteritems() -> items()) and all other syntactic improvements, I somehow still find 2.x code more enjoyable. Writing small scripts in Python has kind of lost its charm for me.

This, of course, is all very subjective and I'll probably grow over it in a few thousand lines of code. I hope you're all less sensitive to the little things that annoy you.




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

Search: