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

I leave semicolons out in my code. But it's python so I think that's ok.


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


    SyntaxError: not a chance!


yep, and roughly speaking:

javascript - var - ';' - '{' - '}' | s/function/def/ ~= python




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

Search: