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

I've tried to do this for years now and I think it's not possible. I've heard that the people that use design patterns correctly end up discovering the pattern after they've intuitively implemented it already.


I wouldn't be surprised. The objective of design patterns isn't just to have a list of structures in your head you can rattle off in coding interviews. It's to provide you (the coder) with a way to think about program structure and function. Think back to when you learned functional programming. You can say "oh. functional programming is about programming with functions," but that's different than the moment you understood at an intuitive level how to construct programs out of functions. And different from the time you were able to reason about the operation of programs that are constructed out of functions.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: