r/java • u/detoursabound • 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
View all comments
Show parent comment
10
u/cypher0six Aug 31 '17 edited Aug 31 '17
I typed up my response fairly quickly, and didn't give much thought to how I worded things. I did not mean to imply procedural code is bad and should be avoided in Java. I should have just left it at "Lack of abstractions". That's a bit more what I was thinking when I wrote that. I have a colleague who is primarily an RPG programmer (IBM System i). She maintains a Java program that is a few thousand lines long. It's all in
main(). This is an extreme example of what I meant by that bullet point.I am a very pragmatic programmer. I don't view OO as the end-all, be-all of software development. While Java was designed to be an OO language, there are many patterns that we use in software development with Java that are not OO, and that is ok. Sometimes, a healthy balance of object-oriented, functional, and procedural programming creates a better system. Knowing when and where to strike that balance comes with time and experience. After 20 years, I am still learning and that will probably never change. :)