syd
1
This is a good creative approach to coding from the web:
"Writing Code from Scratch
- Write down clearly what the code should do
- Sketch it out β on paper and in pseudocode (human language)
- Translate each step into code one line at a time
- Iterate - refine the code to make it more efficient"
Does anyone have any other approaches?
1 Like
michel
2
Well yes, the layer cake approach is a bit idealistic. In the real world we have the sherry trifle approach

- Steal the 100 lines or so of code that do the actual work.
- Start adding UI elements at random
- IF (stuck) LAUNCH StackOverflow
- When the UI elements start interfering with one another, call it a release.
- Immediately stop working on this and start on a completely different project.

3 Likes
syd
3
Maybe thereβs a meringue approach as well:
- Get some old, formless legacy code.
- Apply a hot new coding style to create a firm wrapper.
- Release it as a piece of solid object-oriented software for the OS.