2 ms·
> you have no idea what invariant or structure is required for the task I often write the program in TypeScript types/interfaces first because it forces me to
by cercatrova 6y ago
> you have no idea what invariant or structure is required for the task
I often write the program in TypeScript types/interfaces first because it forces me to think about the data flow both in and out. In my opinion, data, not code, is the most important thing about a program.
- agumonkey 6y agothat way of working was my only pleasurable experience in eclipse/java start with interfaces and let the live type checker tell you where your incoherences are. Very very smooth way to work.