Hacker News new | past | comments | ask | show | jobs | submit login

> 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.




that 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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: