TreeTide / underhood

UnderHood is a code browsing interface backed by Kythe indices.
https://codeunderhood.com
Apache License 2.0
86 stars 5 forks source link

Weinberg code shuffling (tracking issue) #18

Open robinp opened 4 years ago

robinp commented 4 years ago

Tracking issue to implement various code shufflers, inspired by Gerald M. Weinberg's the Psychology of Computer Programming (Part 4, Chapter 13, Documentation).

The observation is that once a programmer is stuck on debugging, he is stuck since he already tried all rational approaches. So irrational / unconventional methods are needed to shake the programmer out of stuckness - the "set". In Underhood we constrain the methods to code display methods.

Examples from the book (pdf page 442), with some additional remarks:

(Note: many items from the list, which was published in 1971 originally, is clearly a forerunner of many modern niceties. Absolutely stunning, respect to the elders.)

Inspired custom additions:

kamahen commented 4 years ago

https://github.com/google/oss-fuzz https://security.googleblog.com/2019/07/chrome-fuzzer-program-update-and-how-to.html

robinp commented 4 years ago

Ah, I badly overloaded the term fuzzing, thanks. Will change it to something else.