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

Only answer to this one: Don't use inheritance (unless you're building an UI framework, and even then ...)


The whole point is probably to weed out people who can't do it or don't understand inheritance.

If thats what they are asking for, implement it, programmers and their ego always trying to "LoL, DuM iNtErViEw QuEsTiOn".

There is so much to learn from a person by just seeing how they solve a simple problem like this one.


Well yes, I'm asking String Reverse hundreds of times and learned a lot.




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

Search: