Hacker News new | ask | show | jobs
by KingOfCoders 1296 days ago
Only answer to this one: Don't use inheritance (unless you're building an UI framework, and even then ...)
1 comments

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.