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

I sometimes use semicolons in Python for convenience when writing short debug code. Fewer lines, fewer pound signs I have type to comment it out later.

e.g., print somevar, othervar; exit()




import pprint; pp = pprint.pprint




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

Search: