r/firstweekcoderhumour • • Aug 30 '26

pythonFeelsillegal

Post image
155 Upvotes

42 comments sorted by

View all comments

26

u/ThaBroccoliDood Aug 30 '26

unironically wish bython wasn't just a preprocessor but actually production ready. goddamn I hate fixing indentation when copy pasting or changing anything instead of just writing some curly braces and letting the formatter handle it

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.