• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

Perfect example

 
Marshal
Posts: 67339
173
Mac Mac OS X IntelliJ IDE jQuery Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


Flyout:

I find that when someone's taking time to do something right in the present, they're a perfectionist with no ability to prioritize, whereas when someone took time to do something right in the past, they're a master artisan of great foresight.

 
Ranch Hand
Posts: 4714
9
Scala Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
haha. sometimes simpler is better. i recently enhanced an old homework assignment to open and save image files. someone kindly directed me to a class that will save components, part of components both swing and AWT, as well as entire screen and part of screen. i was tempted to use it but instead i just took what i needed to save my JPanel.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This kind of thing is very recognizable.

Once beginning programmers have learned the basics and are starting to think about how to design programs in a larger way, they often get this idea that things have to be designed in a more generic way, because that would make the code more flexible and easier to reuse. What they forget is that it also becomes more complex and more abstract.

I remember one project I worked on in the past where one of the other developers had just discovered generics. He thought it was a good idea to make everything as generic as possible. So he created classes that had 7 type arguments, completely unnecessary and way too complicated to be useful in any way.

The next thing that people who do that should learn is KISS and YAGNI.
 
You may have just won ten million dollars! Or, maybe a tiny ad.
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!