the trailboss abuses his CodeRanch power for his other stuff (power corrupts. absolute power corrupts absolutely is kinda neat!)
permaculture light bulbs permaculture electric heat permaculture cast iron permaculture wood burning stove permaculture solar food dehydrators
The moose likes Meaningless Drivel and the fly likes Overheard at the office...that should never have to be said Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Other » Meaningless Drivel
Bookmark "Overheard at the office...that should never have to be said" Watch "Overheard at the office...that should never have to be said" New topic
Author

Overheard at the office...that should never have to be said

fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11497
    
  16

So a teammate and I were looking at some code another person wrote, trying to make some small changes. The code dynamically builds a regex based off a config file, which is used to validate some file names. So to add a new, valid report, you update the .cfg, and the new regex is created. We were debugging, and logging stuff to see what was going on. we got to the regex...
My teammate has widescreen monitor...

A third person came by and said:

If your regex does not fit on a single screen, it's too long.


There are only two hard things in computer science: cache invalidation, naming things, and off-by-one errors
Bert Bates
author
Sheriff

Joined: Oct 14, 2002
Posts: 8883
    
    5
and now you have three problems...


Spot false dilemmas now, ask me how!
(If you're not on the edge, you're taking up too much room.)
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 31057
    
232

Bert Bates wrote:and now you have three problems...

Nice!


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
fred rosenberger
lowercase baba
Bartender

Joined: Oct 02, 2003
Posts: 11497
    
  16

Bert Bates wrote:and now you have three problems...

sorry for all the smilies, but that was really funny.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Overheard at the office...that should never have to be said