Words like "breathtaking", "stunning", "astounding", "amazing", and "incredible" are not positive words. Oh, they're often used in a positive context, but in reality, they only convey a sense of wonder and disbelief. They can be applied to something horrifying just as easily as something delightful
(
Read more... )
Comments 12
Your rants are always the best to read. :D
Reply
I could maybe see a system where a superclass called that gets created. Then various classes offering specific types of utility functions and data inherit off that.
I'm having a hard time coming up with a situation where you would set up a utility class that you use in itself. It's only slightly better than calling a class "things".
The column add bit is funny. I might do something like that if it's a quick and dirty app that I use for myself, but in code I actually expect people to pay for? Assuming the database server, whose code I have no control over, will not malfunction and write my empty columns over full columns? This would hopefully never happen, but the one time it does the client is screwed. Or if the columns can't be created on first run, it throws an error, which I then ignore. Some world class dumb here. Way too strong an assumption that other software in the system will always function correctly.
Reply
The other class with a kitchen-sink set of functionality is actually the parent form. The app is an MDI application, and the main form contains all the data access and business logic. All of the other forms have to constantly call out to that form to actually get stuff done.
And yes- on first run, if it fails to create the columns, in just keeps trucking along merrily. The real irony is that this guy also wrote a DB converter to uplift the Access DB into SqlServer, but apparently didn't have IT create the columns.
Oh, also, the way he attempted to implement transactions was by sending "BEGIN TRANSACTION" to the database, instead of using the actual transaction functionality. Needless to say, it didn't work, so he actually had a ( ... )
Reply
Reply
Reply
WOW. You started my day off right!
Reply
Reply
Reply
Leave a comment