- 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
And this is one of those reasons why self-documenting code (purism esp.) is retarded.
Admin
///
/// If this is true, then setting "store price" changes store
/// product price, updates product price, and updates product
/// modified timestamp. It does not modify a product that has
/// non-default pricing already.
///
/// If this is false, then setting "store price" does not change store
/// product price, or does not update product price, or does not update product
/// modified timestamp, or it modifies a product that has
/// non-default pricing already.
///
Admin
[quote user="gallier2"][quote user="Matt Westwood"][quote user="Cad Delworth"]
I'm suddenly reminded about a WTF of a language - which one I can't remember just now - such that the compiler lets you define variables with as many characters as you like, but only actually takes any notice of the first 31.
So if you define two variables with names 100-odd characters long, only the last 50 of those being different, the compiler will treat these as the same variable, and not tell you what it's doing.
Although it may be kind and tell you that you've just tried to declare the same variable twice - I can't say.[/quote]
That happenned on DOS and early Windows but it was not a language limitation but one of the linker. When C++ was invented with its name mangling scheme this limit was then lifted.
Early BASICs also had a 2 significant character limit, that was a PITA.[/quote]
Sounds like Atari BASIC, which never even had loops.
Admin
Admin
CSS3 allows further options on how to split up ornery strings for greater flexibility. So future versions of this site might be able to treat such stuff differently. Thot it was worth mentioning.
Admin
Clay continues, "someone should write a plug-in that limits method names to a sane amount of characters."
Maybe after that, they could also write one that limits Property names. Because that's what this is - an automatic Property, not a Method.
Are we absolutely certain that Clay didn't write this code himself?, perhaps in the form of some deranged programmer alterego like in The Dark Half? Because honestly, anybody that could get those two mixed up might JustBeCrazyEnoughToComeUpWithAPropertyStrokeMethodNameLikeThat. ;)
Admin
Double FIRST
Or maybe not.
===================================== http://www.stubstop.com
Admin