/
29.01.2020 at 10:48 am
Cuttings

Code & Shame

Be critical with your code, and sometimes yourself.

... There is a difference between saying "an idiot wrote this code" and "this code is crap". The comic is the latter. On purpose, I presume. Attacking the author is unlikely to have any benefits, but it should be possible to strongly criticize the code itself. In reality, many authors can't separate themselves from their work, but the ability to do so is a valuable asset.

Left to themselves, most people have a tremendous ability to ignore their flaws, and it hampers their growth. A bit of shame is often a positive motivation. I am ashamed of a lot of code I wrote last year. I have reasons why it is the way it is, some of which are defensible, but some are just "WTF was I thinking?" If you don't have nagging bits of guilt about your recent body of work, it might well be a benefit for someone to point out problems in terms that break through your defenses.

I would be happy if someone tore into everything I wrote for the Oculus Mobile SDK. I'm sure most of it would be just me nodding my head and agreeing, but I bet I would learn something from it, and it would influence my future work.


Filed under:
#
Words: 221 words approx.
Time to read: 0.88 mins (at 250 wpm)
Keywords:
, , , , , , , , ,

Other suggested posts

  1. 04.07.2024 at 08:43 am / Chronic Key Switching
  2. 29.11.2023 at 11:04 pm / Of Witchers By Trade
  3. 18.06.2022 at 06:52 pm / Strangling Deeds
  4. 08.06.2022 at 04:13 pm / Counsel vs Client Perspectives
  5. 12.02.2021 at 12:55 am / 46 Simple Python Exercises/#10
  6. 27.08.2020 at 09:33 pm / Write Like You Play Tetris
  7. 11.07.2016 at 12:00 am / SublimeREPL's Slow Printing/Freezing - A Solution
  8. 20.06.2015 at 12:00 am / Mike Tyson on (His) Lawyers
  9. 15.06.2015 at 12:00 am / Supposedly Cultivated Tastes
  10. 22.08.2010 at 12:00 am / 柿が赤くなると医者が青くなる
© Wan Zafran. See disclaimer.