2 ms·
It would be cool to see a solution to some problem written out step by step not in code but in English (or the language of your choice). Then from there link to
by chiefalchemist 6y ago
It would be cool to see a solution to some problem written out step by step not in code but in English (or the language of your choice). Then from there link to the code example that solves that bit.
Having to grasp logical problem solving _and_ code syntax at the same time can be overwhelming when just starting.
- alex_portabella 6y agoCan you expand a little on your suggestion? How deep into semantics would you go when describing something? ie. making an http request, do you include DNS, headers, TLS or is it simpler to just say `https.get(url)`
- chiefalchemist 6y agoOff the top of my head, I envisioned trying to teach someone. First, I'd write out the problem. Then I'd break that down, again and again. All in English (read: no code). Then I'd say: Now that we've dissected the problem, let's write the code. Yeah. High level. But I can see it making learning simpler as it separates the problem solving, from the implementation (code). And the same problem could be demo'ed across multple languages.