That's right -- the entire project has been copied over and over, with minor changes to a few of the methods here and there. The Expert Pigpen Developer doesn't create libraries jar files in the Java world , he just copies the entire code base whenever a new customer comes along. Oh, and by the way, instead of using something like, oh, I don't know, a database , the projects get their runtime information from properties files that -- you guessed it -- have been copied and pasted.
Note: A real software best practice here is to refactor your code so you don't repeat yourself. Don't be a Pigpen. Here's another one of my favorites: give your variables meaningless names. A lot of Pigpen Developers define variables like Properties p , or Iterator i , but I'm talking about really meaningless names, things like this:. That's right, create a variable named directoryName that implies that you're working with one directory, but define it as a list.
So then, later, when another developer comes in to work with your code and sees something like this:. You've magically hidden a List in your code and it will take the new guy quite some time to figure out what you've done.
Personally, I'm a believer in documenting my classes. Before each class I like to write the intent of the class, i. A Pigpen developer also believes in documenting his classes. At the top of every class you'll find his documentation, and it looks almost exactly like this:. The requirement for fonts to remain under this license does not apply to any document created using the fonts or their derivatives.
This may include source files, build scripts and documentation. These can be included either as stand-alone text files, human-readable headers or in the appropriate machine-readable metadata fields within text or binary files as long as those fields can be easily viewed by the user.
This restriction only applies to the primary font name as presented to the users. The requirement for fonts to remain under this license does not apply to any document created using the Font Software. F onts B log. Learn how to conduct yourself in social situations with Social Interaction Trainer. Internet Archive's 25th Anniversary Logo. Search icon An illustration of a magnifying glass. User icon An illustration of a person's head and chest.
Sign up Log in. Web icon An illustration of a computer application window Wayback Machine Texts icon An illustration of an open book.
0コメント