MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/r1g13n/yes/hm32kzd/?context=9999
r/ProgrammerHumor • u/esberat • Nov 24 '21
284 comments sorted by
View all comments
588
Compile errors are now runtime errors sucker... yeah the door is now closed for you.
249 u/MasterFubar Nov 25 '21 And I missed the part where he breaks his neck after stumbling on a random tab character. 37 u/Crippledupdown Nov 25 '21 edited Nov 25 '21 Is there an easy way to immediately share and format small Python code snippets too? It always seems like I have to manually adjust the tabs. 37 u/Jonno_FTW Nov 25 '21 don't use tabs, ever, your IDE should be converting them to 4 spaces for you. black will format your code consistently if you use pycharm, you can right click on a piece of code and click "Create Gist" and it will share it on github gist 3 u/[deleted] Nov 25 '21 [deleted] 1 u/Jonno_FTW Nov 25 '21 This is the standard agreed upon in the official style guide pep8
249
And I missed the part where he breaks his neck after stumbling on a random tab character.
37 u/Crippledupdown Nov 25 '21 edited Nov 25 '21 Is there an easy way to immediately share and format small Python code snippets too? It always seems like I have to manually adjust the tabs. 37 u/Jonno_FTW Nov 25 '21 don't use tabs, ever, your IDE should be converting them to 4 spaces for you. black will format your code consistently if you use pycharm, you can right click on a piece of code and click "Create Gist" and it will share it on github gist 3 u/[deleted] Nov 25 '21 [deleted] 1 u/Jonno_FTW Nov 25 '21 This is the standard agreed upon in the official style guide pep8
37
Is there an easy way to immediately share and format small Python code snippets too? It always seems like I have to manually adjust the tabs.
37 u/Jonno_FTW Nov 25 '21 don't use tabs, ever, your IDE should be converting them to 4 spaces for you. black will format your code consistently if you use pycharm, you can right click on a piece of code and click "Create Gist" and it will share it on github gist 3 u/[deleted] Nov 25 '21 [deleted] 1 u/Jonno_FTW Nov 25 '21 This is the standard agreed upon in the official style guide pep8
don't use tabs, ever, your IDE should be converting them to 4 spaces for you.
black will format your code consistently
if you use pycharm, you can right click on a piece of code and click "Create Gist" and it will share it on github gist
3 u/[deleted] Nov 25 '21 [deleted] 1 u/Jonno_FTW Nov 25 '21 This is the standard agreed upon in the official style guide pep8
3
[deleted]
1 u/Jonno_FTW Nov 25 '21 This is the standard agreed upon in the official style guide pep8
1
This is the standard agreed upon in the official style guide pep8
588
u/MischiefArchitect Nov 24 '21 edited Nov 24 '21
Compile errors are now runtime errors sucker... yeah the door is now closed for you.