The Stack Overflow podcast is back! Listen to an interview with our new CEO.

New answers tagged

3

Code formatting: Black: I recommend to use black to format your code. Comments: Just a personal preference: if the code in one line is getting too long, put the comment regarding the line on top of it, not in the same line to stay below a certain line length. I recommend 120, you can specify this in black. Cleaner code: Do not use * imports: When I go ...


Top 50 recent answers are included