←back to thread

466 points pieterr | 1 comments | | HN request time: 0.204s | source
Show context
globular-toast ◴[] No.42160220[source]
My favourite part of SICP and something that has stuck with me for years is the idea of "wishful programming". That is where you build something top-down by simply wishing you had the lower-level routines. Then, of course, you actually go and build those lower-level routines until you reach the bottom. I find this way of thinking works really well with test-driven development. Write a test against functionality you wish you had, then go and fulfill that wish. Most developers seem to build stuff bottom-up and then end up with something that isn't really what anyone wished for.
replies(3): >>42161028 #>>42162235 #>>42162718 #
1. Qem ◴[] No.42161028[source]
The Smalltalk world has great support for this, through coding in the debugger. You should try Pharo.