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

No. Don't write classes. Write useful abstractions. It doesn't matter what the abstraction is (a class, a function, or something else you programming language supports)as long as it fits your current architecture and can be easily modified for possible future extensions.(I will agree with the author that one giant monolithic function is probably a bad abstraction).


+1, one of the best points in the discussion so far. :)




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

Search: