It's not a secret anymore!
The moose likes Meaningless Drivel and the fly likes Perfect example Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Perfect example" Watch "Perfect example" New topic

Perfect example

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

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.

[Asking smart questions] [About Bear] [Books by Bear]
Randall Twede
Ranch Hand

Joined: Oct 21, 2000
Posts: 4351

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.

Visit my download page
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 15092

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.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: Perfect example
It's not a secret anymore!