r/Python • • Nov 11 '19

I made c++-style printing in Python :P

Post image
1.7k Upvotes

130 comments sorted by

View all comments

Show parent comments

18

u/peterpetermarie Nov 12 '19

The worst bit is the semicolons.

-7

u/sam-lb Nov 12 '19

Believe it or not, I always use semicolons. Since I'm not working for a company or organization, why not? It's one less thing to remember when switching between languages. I also wrote a script that converts other people's code into my style (semicolons and naming conventions) for GitHub.

But I forget sometimes that no one else does that. Maybe it's a bad habit.

14

u/abrazilianinreddit Nov 12 '19

When sharing your code people will complain to no end that it doesn't adhere to PEP 8. If you don't mind that, than fuck it, it's your code. Use 8-units tabs, end lines with \r, put spaces before commas but not after, just go wild.

-1

u/sam-lb Nov 12 '19 edited Jul 02 '20

Lol. I'm not that far gone - I have a soul.