Source Code Profanity

The source code for J2SE 5.0 has been made available. Slashdot covered the event, and one of the posts showed that the community has already poured over the source code in an attempt to clean up its quality...

I immediately started a search command on the current Creator source to see if we have any juicy comments I can share with you.... But we don't. I tried successively less "offensive" words, and the only hits I got were for "stupid" and "lame"...

xxx/Utilities.java:     \*  is really lame. The problem is that at the top level, I need
xxx/DnDSupport.java:   // insertTab is too stupid to notice that inserting a tab at the

This brought back some good (?) memories though. I used to work on Sun WorkShop, the C/C++ IDE for Solaris from Sun, and one of the really nice things about the IDE was that it integrated (not emulated) the XEmacs and vi editors. So we shipped XEmacs with the product. Well, XEmacs came with a bunch of supporting packages, such as Zippy -- which had a large database of insults copackaged with it, ready to be automatically attached as e-mail signatures etc. People actually complained about this, so we removed some of these, and we added a script to the emacs source tree integration process which scanned for a list of "offensive words" and yanked elisp packages containing them!

Comments:

Not sure I'd call "really lame" profane.

Posted by david on November 07, 2004 at 10:08 PM PST #

I agree -- that's why I put "obscene" in quotes :-)

Posted by Tor Norbye on November 08, 2004 at 12:27 AM PST #

....but some of he words I -did- check for would have fit that description...

Posted by Tor Norbye on November 08, 2004 at 12:28 AM PST #

I think the slashdot poster was disappointed that they didn't find any juicy comments.

They were too late as I removed most of the interesting stuff back in 1999. To be honest, there wasn't much and most of the offending pieces of code were not actually written by Sun in the first place.

Posted by Calvin Austin on November 08, 2004 at 07:12 AM PST #

Post a Comment:
Comments are closed for this entry.
About

Tor Norbye

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today