- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
One advantage may be that in many organisations there is a separate team to handle "installing" stored procedures (assuming they let you write them in the first place). Hopefully the guys in that area, presumeably being db specialists, would pick up the problem...
Admin
When Grammar Nazi makes grammatical/spelling errors, it makes my head hurt.
Admin
As I was browsing that truly astounding code sample, I felt a subtle chill of vague remembrance of days long past. I'd like to say "And the it hit me!" but it actually crept over me slowly like the feeling you get when you're driving home late and realize you broke the build and there's absolutely no way to fix it before the build starts.
Anyway, except for the programming language, that code is in the style and practice of dBASE or COBOL report generation. I had to rewrite a large (for dBASE) dBASE2 app in 1995-96 and the reports used very similar methods because that's all there were. Even in 1995, the app was ancient - running uner CP/M on a 'Mini' computer. The language was so incredibly limited that what we now consider absurd (e.g. manually traversing the record set to create a simple report) WAS the only way to get things done. But that was 15 years ago! And the app was at least ten years old when I first worked on it - parts of it had 'already' been upgraded to custom Turbo Pascal 1.0 for DOS apps by my predecessor.
So, the point I am trying to make is that code is perfectly good, clean programming style using the best practices for software development in highly restrictive database manipulation languages circa 1980.
How old was the person who wrote it?
Admin
Oracle doesn't have a boolean type. All the true/false values are accessible in the system views as CHAR(xx) values:
'Y'/'N' 'YES'/'NO' 'ENABLED'/'DISABLED' 'VALID'/'INVALID'
and even (including the extra spaces) ' Y'/ N' 'YES '/'NO '
The wierdness is, PL/SQL has got a boolean type, you just can't store it in tables.
Admin
Or the duplicate SSN's mistakenly issued. Or the people who, as is their right, refuse to give you the SSN. Or the people who get the SSN wrong. Or the people not eligible to have SSNs (Some Video Shops want to lend DVD's to tourists too). Or the wrongly entered SSN, including the thousands of people who seem to have the same SSN as the one on the advertising wallet insert. Or the person who's SSN was used by someone else.
Admin
Admin
Admin
I sincerely hope that you're a troll or that my sarcasm detector is failing utterly. Lotus Notes is ideal for crushing developer morale; aside from that it's a steaming pile of fail.
Admin
Yes, SSNs would be a bad choice for a publicly accessible system. However, he said SSN "for employee".
SSNs would be appropriate for some internal app like payroll for example. Your employer has to ask for that information and have it on file anyway.
Admin
WTF, five characters for a boolean?! And how do these losers hope to represent FILE_NOT_FOUND, eh?
Admin
TrUe programmers know much more than 3 boolean values. No, really, TruE, TRuE, 'true '. (and 'cogo')
Admin
Admin
How about an order or confirmation number?
Admin
Yes, anon, thanks for pointing out the obvious of simply asking the OS if the file exists, rather than assigning a file handle and trying to open the damn thing, throwing an exception if it doesn't exist.
Admin
Admin
Do Spollung amd gammer foulups really matter all that much i think not that is just a (as we call it here Fieldhouseism)
get a life .
Admin
I'm pretty sure it's likely that this system predates the fileSystemObject. I'd have to chime in with the pragmatists over the purists in this one. While I would fault it for not using descriptive, meaningful identifier names, it yet remains that the thing is solid, does what it advertises, is terse and concise, and handles all possible errors through the only two vectors that it has.
What more could you ask? A "class" here would only add bloat.
Admin
Supra shoes are so popular all over the world. Whatever you take on Supra being in the Supra Skytop Shoes market. Now Supra Strapped Shoes also very popular attention. It is nice that they actually took the time to make Supra Skate Shoes that work well. Supra shoes is a brand that has been inspired, designed and marketed by passionate individuals. We have brought to you the fullest selection of Supra footwear at cheapest price. Overload Skateshop carries a wide range of Supra Shoes to fit your 9-stair kickflips.