The Artima Developer Community
Sponsored Link

Java Answers Forum
Team Coding - Bloody Incompetence***

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Kondwani Mkandawire

Posts: 530
Nickname: spike
Registered: Aug, 2004

Team Coding - Bloody Incompetence*** Posted: Apr 28, 2006 6:00 AM
Reply to this message Reply
Advertisement
Some frustrations on Team coding.

Why in the hell to people do garbage such as:

import folder1.folder2.folder3.*;

Maintainance becomes a serious drag, especially when you
are trying to set your class path in an IDE.

Here's a scenario:

Someone does the crap above importing *, You find that
some of the crap he has imported isn't even used.

In a distributed application such as JBoss, where you
are using ant and your IDE for debugging and building, you
may have your ant script building perfectly meaning all necessary
libs were copied correctly to

/usr/local/jboss/ server/default/lib

but you are still struggling to setup your IDE (e.g. Eclipse).

Had the inconsiderate lazy oaf imported the appropriate class:

import folder1.folder2.folder3.ClassA;

You could simply do a:

grep -ilr 'ClassA' *

in your console (obviously only if you are developing in Linux -
that's why Linux rocks), and it will list possible jars that you
will then be able to set in Eclipse.

Unfortunately importing *, doesn't give us this priviledge. I think
that is an extremely lazy way of coding.

With automatic completion in IDE's and if someone is a programmer i.e.
he/she should be typing atleast 35wpm, there should be no excuse for
importing *.

If I was in a Sr. position, I'd give heavy warnings and possibly fire
people for coding in such crappy mannerisms. A Jr. developer could be
excused for doing such but not anyone who has been coding for 1+ years.

Anyways, just venting.

Topic: info about SCJP 1.4 Previous Topic   Next Topic Topic: java program problem..

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use