Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I code both ways simultaneously.

I'm interested in what types I need to solve my business problem. The rest of it, I don't care. The reason I care about the types I need for my business problem is that I don't want my code doing something that it shouldn't: DDD-style coding allows me to code in such a way that it's impossible for the program to exist in a state that's invalid. That's a great time-saver. Other than that, polymorphic coding FTW.



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

Search: