DEV Community


Discussion on: Reasons I've Been Rejected For Software Engineering Roles

theodesp profile image
Theofanis Despoudis

Speaking of which. Take a look at this comment thread:

I believe it's not about the language or what the JDK offers but about the way you approach the problem.

sunitk profile image
Sunit Katkar

Well he asked me which method i would use. I replied that the character array method but for most tried and tested way I would use the jdk method. So I had demonstrated my algorithm thinking and coding ability but in reality i would prefer a tried and tested facility. Whats wrong in that?

Thread Thread
dexygen profile image
George Jempty

Nothing is wrong in that of course. I've run into home-rolled code that should have never gone into production. IIRC it was an implementation for encoding a string, instead of using either the implementation or Apache commons implementation. Well their implementation forgot to encode the all-important new-line character, so they were sending out incomplete emails, emails that, depending on the response, could generate thousands of dollars of revenue per month and therefore had already cost the company tens of thousands, before I figured out the problem. There's even a name for this anti-pattern: "not invented here" (or "re-inventing the wheel")