3 ms·
Modeling the problem domain is so important that I dont know why the first year of every compsci undergrad program isnt entirely dedicated to teaching the idea.
by bob1029 6y ago
Modeling the problem domain is so important that I dont know why the first year of every compsci undergrad program isnt entirely dedicated to teaching the idea.
Instead, day 1 is installing python or java, running hello world and talking about pointers, binary, encoding, logic gates, etc.
We should be teaching students on day 1 that code is a liability and to be avoided whenever it is convenient to do so.
- codemonkey-zeta 6y agoIMO Matthias Felleisen (building on work of Sussman (IIRC) et. al.) gets first-year CS education right with How to Design Programs (https://htdp.org/2020-5-6/Book/index.html https://htdp.org/2020-5-6/Book/index.html). Literally step 1 in the design recipe presented in the preface is: "1. From Problem Analysis to Data Definitions Identify the information that must be represented and how it is represented in the chosen programming language. Formulate data definitions and illustrate them with examples."
- pjettter 6y agoI recommend Domain Modeling Made Functional by Scott Wlaschin. It's analaysis first, DDD, then coding (in F#) Best intro to functional programming imo.