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

Source: John Carmack
Filed under:
#
Words: 11 words approx.
Time to read: 0.04 mins (at 250 wpm)
Keywords:
, ,

Other suggested posts

  1. 02.04.2023 at 01:03 pm / Witching May Die, But Not Litigation
  2. 01.04.2023 at 11:27 am / Search Notes Fast: With Taskwarrior, jq & ripgrep
  3. 29.01.2020 at 10:48 am / Code & Shame
  4. 16.09.2019 at 10:32 am / Legal Practice & Taking From Software Best Practices
  5. 16.12.2017 at 12:00 am / When Defying Simplicity
  6. 15.06.2015 at 12:00 am / Supposedly Cultivated Tastes
  7. 13.06.2015 at 12:00 am / Sexism Against Modern Men
  8. 17.01.2015 at 12:00 am / Grandma - Guitar Arrangement (NieR Gestalt)
  9. 04.07.2012 at 12:00 am / When To Not Use Data Structures/Algorithms
© Wan Zafran. See disclaimer.