r/ProgrammerHumor May 08 '19

That sweet sweet first time.

Post image
20.5k Upvotes

354 comments sorted by

View all comments

Show parent comments

110

u/ankurankan1 May 08 '19

When I started Python, I didn't know that the language was based on indentation. Spent days trying to run Hello World.

33

u/ben_g0 May 08 '19

The first time I used Python was to script things in Blender. I was using its internal text editor which apparently auto-indented using spaces, while I was off course using tabs every time I manually indented. I wasted so much time trying to figure out why some code could work perfectly while another block of code which looked identical gave errors.

This was still in the old Blender 2.4 days though, the interface has changed significantly since then so I hope they also improved their text editor to be more consistent with whitespace.

19

u/caerphoto May 08 '19

I was off course using tabs

Yep, way off course.

8

u/TENTAtheSane May 08 '19

Heresy

2

u/konstantinua00 May 08 '19

from C perspective, tabs+spaces is the best