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

One might push that analogy past its limit, and suggest that you probably wouldn't try to build a road-legal car out of Lego :).

More seriously, I'm not expecting that most people will want to use the underlying language features, nor indeed that those who do should actually do so commonly. They're there to provide for a clean separation between control logic and business logic. And that helps us to create cleaner abstractions so we can test our control logic independently of our business logic.

Most of the time I should be using the control logic we've already written, not writing more of it.



You might enjoy this video:

https://youtube.com/watch?v=D-XXZilkAXU




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

Search: