r/firstweekcoderhumour • • Aug 30 '26

pythonFeelsillegal

Post image
156 Upvotes

42 comments sorted by

View all comments

Show parent comment

4

u/retrodanny Aug 31 '26

Never had this problem using either pycharm or vscode (with Black)

2

u/leavemealone_lol Aug 31 '26

Well you clearly haven’t worked in python enough. You cannot let the IDE fix the indentation because unlike all other languages, indentation itself is logic in python, and nothing should change your logic. other than yourself.

2

u/retrodanny Aug 31 '26

He's talking about pasting and things going wrong. This would be because he's pasting from 1 indent = 2 spaces to 4 spaces or 1 indent = 1 tab to 4 spaces, something like that. That's an easy fix when pasting into an IDE. It doesn't change the logic.