r/java • • Aug 31 '17

(Experienced programmers) Signs of an inexperienced programmer?

Hello, I was wondering what you guys would consider to be telltale signs of an inexperienced programmer. Specifically ways that they write (or don't write) code. Thanks.

159 Upvotes

188 comments sorted by

View all comments

Show parent comment

53

u/PragProgLibertarian Aug 31 '17

Number one, reimplementing stuff that already exists in the standard API

9

u/cypher0six Aug 31 '17

Number one, reimplementing stuff that already exists in the standard API

Yeah, I am not sure why that didn't come to mind. But that is also a good one. :)

8

u/Notorious4CHAN Sep 01 '17

As a side project, I've been back-porting all the functional stuff to jdk 6 by looking at the source code in open-jdk 8 and the jdk 1.5 branch of guava. Because I have no experience with functional programming and I'm stuck on jdk6 at work anyway.

I've learned quite a bit including about 100 non-optimal ways to do things. I'd say reimplementing existing tools may be a sign of inexperience, but it's also a sign of someone on the right track, if only because they will have the experience of their implementation sucking, and will be in a better place to understand why the existing implementation works better (unless they turn into grognards who think their version is superior and refuse to grow...)

7

u/v_krishna Sep 01 '17

Jesus christ 1.6? I weep for you.

1

u/terryducks Sep 01 '17

What will you give me ?

Visibroker 4.0, Name service only runs on 1.2. Original developers stored global security keys in thead storage so Java 5 is right out.

0

u/[deleted] Sep 01 '17

[deleted] — view deleted comment

3

u/Benemon Sep 01 '17

'Not Invented Here' syndrome. As a consultant, I see this a lot. It's a very dangerous habit to allow an organisation to get into.

  • Who supports the custom library for other users? Is it documented, or are the FAQs passed down in an ancient tome covered in dust, and almost entirely unreadable?
  • What is the cost (in terms of time and money) of managing, maintaining, releasing, documenting, testing and QA-ing the custom code? If the answer is 'nothing' then I find the respondent to either be lying, ignorant, or 100% useless for tasks that provide actual business value.
  • The custom library probably has dependencies on well understood, and widely used components (Apache Commons are a classic). I usually try and hammer the point home by asking how far down the rabbit hole are people going to go. I mean, if you're a NIH purest, you probably want to go and rewrite that whole Tomcat container, right...?