Post 9yHTcfpLaPRWWOZZMu by jboy@mastodon.xyz
(DIR) More posts by jboy@mastodon.xyz
(DIR) Post #9yHSwJTwH7zl3YMOQ4 by CarlCravens@mastodon.xyz
2020-08-19T12:52:54Z
0 likes, 0 repeats
Am I a bad Python developer if I put# end of mything()at the end of every function/class definition of significant length?To be fair, I do this in Perl, too.
(DIR) Post #9yHTcfpLaPRWWOZZMu by jboy@mastodon.xyz
2020-08-19T13:00:27Z
0 likes, 0 repeats
@CarlCravens maybe it says more about your text editor than about your python skills. I think a well-configured text editor would make those kinds of boundaries clear.
(DIR) Post #9yHVHySRK5rG887DOq by craigmaloney@octodon.social
2020-08-19T13:19:13Z
0 likes, 0 repeats
@CarlCravens It's not necessary, but if it makes you happy and nobody is telling you to stop then I don't find an issue with it.
(DIR) Post #9yHYx5cvs9w26IJvBg by aethycus@mastodon.xyz
2020-08-19T14:00:15Z
0 likes, 0 repeats
@CarlCravens I don't think so. In fact, it also might help line up your code the way the end keyword does in ruby or lua.I might try it out myself just to see how it feels