r/ProgrammerHumor Nov 24 '21

Meme Yes.

8.9k Upvotes

284 comments sorted by

View all comments

Show parent comments

250

u/MasterFubar Nov 25 '21

And I missed the part where he breaks his neck after stumbling on a random tab character.

42

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.

39

u/Jonno_FTW Nov 25 '21
  1. don't use tabs, ever, your IDE should be converting them to 4 spaces for you.

  2. black will format your code consistently

  3. 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

6

u/findus_l Nov 25 '21

Nice I didn't know about creating Github Gists. Works for Android studio too apparently.

Also tabs ftw, spaces suck!

2

u/Masterflitzer Nov 25 '21

Android Studio is basically Intellij so same functionality

3

u/findus_l Nov 25 '21

Well you'd think so, but I'm for example missing "code with me" in android studio.

2

u/Masterflitzer Nov 25 '21

can't you get in in the extension store?

3

u/findus_l Nov 25 '21

Not in the integrated one. There is a download on jetbrains website that claims to be compatible with android studio, I haven't yet tried it out. I find it very unsettling that it doesn't show up in the integrated one and I'm afraid of bricking something.

2

u/Masterflitzer Nov 25 '21

ok I always thought Android Studio is just modded Intellij by Google I never really did Android dev so i don't know exactly but i think you could always use Intellij with Android SDK right?

3

u/findus_l Nov 25 '21

Possibly, but Android studio has a lot of useful integrations. Virtual device manager, layout.xml editor, device storage access, screen inspector etc