How can one write code (that runs!) for one's thesis without paying attention to Python's semantically significant whitespace?
How can one write code (that runs!) for one's thesis without paying attention to Python's semantically significant whitespace?
By fiddling around with different indentations levels till the code works.
So much code out there is written this way.
Kind of gives a new meaning to 'iterating' on one's code doesn't it?
I expect it was, as the other commenter said, probably via an IDE like PyCharm. I never asked because there's no good way to ask a question like that.
But that's my point, people's knowledge is all over the place. It's probably a joke, but it could easily not be.
After submitting changes that started 10 indents past the previous line, and had little to no rhyme or reason for subsequent indentation, we asked them to reformat and resubmit. When it became clear that they could not, we reviewed the code itself separately from the indentation and reformatted it ourselves.
Multiple co-workers sat next to them to try to explain how to line things up vertically, but they were unable to do so without said help.
This was over the course of about two weeks in which we were instructed to try to bring them onboard some of our projects. Both our and their projects at the time were frontend web projects.
I have not looked at any of their code outside what was submitted to our side, but I do know they are praised for the quality of their work by management.