- 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
Admin
Then again, using "24" whenever you need to use the number of hours in the day is a bad idea. Not because of the pain of changing it but because you won't be able to tell it by searching for instances of 24 from other instances of 24 (e.g from the 24 you'd hard-coded as the number of employees in the company).
Admin
Admin
Admin
For a moment I thought that you implied that being a political or business leader does not suck profusely.
CAPTCHA: nulla (is that between null and nullb?)
Admin
Something like that is easy enough to fix if needed. Meaning that if you need a path a PathProviderFactoryFactory shouldn't be your first idea. Meaning adding complexity is often easier than removing it.
Admin
Interesting all-nulls row there at the bottom...
Admin
Admin
I hope you do realize that you just discriminated against him.
Admin
Admin
Ah so basically having wrapped yourself up in change control red tape you stick a whacking great back door in the application allowing you to bodge anything you want without any record of it.
Of course I'm in RAD/Tactical development where if it's wrong you fix it but at least if you fire me you'll find the logic in the code where it belongs.
Admin
If it works, is quick to write, is well documented, and is easy to maintain, then IMHO anything is acceptable :)
Anything 'better' is just snobbery unless it really is generally agreed to be significantly more elegant.
Admin
(yes, you can do eval() in compiled languages, you just need a custom function that compiles the code on-the-fly, they exist).
Admin
And Muslims.
Admin
If you are pretend to be white, married, christmas, at least have courtesy to not use Indian name like Prashant, madarchod!
Admin
your development environment lacking search-replace in solution?
Just ported 20+ projects full of hard-coded paths to a mounted network drive from VS2005 to VS2010, and found 2010 wasn't keen on mounted drives (some permission thing, I guess), but happy with UNC ones. 2 minutes to do a search-replace on the whole solution. Hardly a disaster.
Admin
um... can't actually think of any... IIRC, the US doesn't have a white leader at the moment, don't think he practices any religion with any regularity, and his opponent is a Moron. Sorry, Mormon. There's a few political leaders who feign an interest in religion to get votes, perhaps, but those who do it for personal reasons not PR? Can't think of many.
Outside of the US, very few political or business leaders even feign an interest in religion, and many are openly hostile to it. And lots are neither white or male, though probably most are hetrosexual and married.
Admin
Gee thanks Foo, way to keep the white man down.
Admin
Admin
Admin
But the most powerful man in the free world is none of those things!
rimshot
I'll be here all week folks, don't forget to tip your waitresses.
(CAPTCHA: tristique, your waitress)
Admin
Yes, there's truth in that. If the point is that it lets them circumvent the bureaucrats, I'll grumble about the rules rather than those trying to function within them. Of course, sooner or later the bureaucrats will figure this out, and they'll institute a change control process for your XML files.
Admin
Okay, I'll bite. Name some.
Admin
Oh, let's agree that we'll accept Catholics, Protestants, and Eastern Orthodox as "Christians".
Admin
He's not pretending to be "christmas". He's pretending to be Easter.
Admin
Reminds me of that old chestnut, the white guy says to the black guy "how come you have BET and we don't get a WET?" To which the black guy says "what do you mean?!? Every other fucking channel is WET!" (except for the Spanish channels of course) captcha 'tego' as in 'a mi me tego telemundo.'
Admin
It depends on the software. The software I develop has a somewhat similar way of representing menu items (as database records). I will say a few things:
In our area, it IS very common for our customers to edit and change our menus - usually customizing the menu contents for each type of user, but sometimes they alter names, too. For example, while we try to use industry-standard terminology for what our activities do, our customers often have subtle variations in vocabulary so they will want to change the names to reflect their organization's terminology.
You don't necessarily need access to the source code in order to add new functionality, for example providing a plugin API for clients to write their own modules.
Admin
Twain: But I repeat myself.
Admin
You say that like it's a bad thing ...
Admin
So I would think that doing things this way would make it fairly simple to fix little typos and spelling errors such as spelling separate as "seperate".
Or maybe not.
Admin
You're a fuckin idiot.
Admin
You do know that Indians (both dots and feathers) are Caucasian, right? Of course not, otherwise you wouldn't have written that. I think you meant "white" instead of Caucasian. But that's even less politically correct.
Admin
People that argue that "soft coding" is a solution are too stupid to design systems. It is trivial to design a factory which can instantiate a class based on a configuration value read from a database. This way the code can be added and removed any time - no hardcoding needed, can be properly compiled and can be included in test cases whitout loosing the flexibility. Not to mention the ability to create different handlers for different platfoms if you need it.