- 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
My point was more that I would view any functionality granted by standard libraries of a language as features of the language as a whole.
Admin
Admin
thank god for that
Admin
Exactly. Its not so ancient that it isn't usable. Quite usable and efficient actually. I think alot of people would be very surprised to realize just how much of their lives finds its way through COBOL code every day.
Admin
I'm a bloody Englishman! Java is amazing.
Admin
Admin
So you're arguing that he's wrong by citing a standard that is widely ignored and admitting it? Interesting tactic.
Admin
Shame on Hoodaticus for not using the word primitive, even though most (non-pendants) would be able to infer that's what he meant. Sheesh.
Admin
It's better than Binary Coded Decimals, which I still have to work with, occasionally.
Admin
I think your right! Why just the other day, I'm pretty sure she logged on to bridgeonline.org and started a thread about how spades was a far superior card game. It caused quite a ruckus.
Admin
Admin
"knowledge worker"? Getouttaheah! This is a site for geeks, not management types.
Admin
Which is a good idea, because it leads to nice and predictable results.
Admin
Admin
Behold!
Your link discusses the argument fallacy. Mine discusses the words themselves. So my logic wins.
Admin
Do I need to remind you about winning arguments on the internet?
Admin
Child, until you've stared deeply into the horror that is binary-to-decimal conversion, you have no understanding about what is going on. Depending on the sensitivity of the environment, this might well have been a language feature designed to keep OMG!ITEOFTW! wtfs from happening due to cowboys who think that 0.2 * 5 == 1. That's entirely besides the fact that you can get faster processing on cheaper hardware if you don't have floating point.
Is that what was going on there? I don't know. But your failure to indicate that it was not suggests that you don't know the importance of the fact.
Admin
Admin
Admin
Admin
Admin
No, silly. His point is that old code is best enjoyed with a well chosen spoiled milk and some simple water crackers or a good loaf of bread, and good conversation.
Admin
Could have been worse, like T/T ('tis false/'tisnt false).
Admin
No no no, this is not refunctered enough. It should be-
VALUES FOR INVALID-BATCH-OPERAND, PIC X(1) --> "F" - represents False --> "N" - represents Not False --> "JK" - suffixed "not" operator; reverses the value. Do not use with "N" as double negatives are still frowned upon.
Admin
Its a simple problem to be solved using physics. you only need an external iteraction in your system to decay state (think of schrodinger cat). your boolean N is true and false in same time, it needs an observer to decay.
Perhaps some EMP device that activate aleatory near the "mainframe".
Or something like this in cobol (if possible, i dont know cobol) #define true (rand()%2)
Admin
Admin
Some technologies, like some people, age better than others.
Admin
Correction - For a time you could get CICS on an AS/400. But, not VSAM.
Admin
I worked on an AS400. T meant 'Thursday' and F meant 'Friday' except when it didn't.
Admin
It could also mean "F"ail / "N"ormal
Admin
Admin
What you use to reason about spaghetti code, or alternatively the logic that lead to such code.
Admin
"H" means tHursday. "T" means Tuesday. No wonder your program doesn't work. ;)
Admin
Well, based on my experience with a certain horrid program I am having to tackle, it can be done by using alternate values for 'N'. So, for example...
To make it true:
To make it false:
Later on (and in as many places as possible):
Yes, you would go insane (I certainly did).
Admin
I once used an Analog Devices sensor that measured rotation and temperature. What do you think the labels on the board, "R" and "T" stood for?
"Relative temperature" and "twist," apparently.
Admin
Even better, there is a boolean type in ABAP that has three different values: "X" for True, "-" for False and " " for Unknown. Still in use.
Admin
Sigh.
Not everyone uses ints for bool, and they're never used for bools simply because C does not have a bool. Char is frequently used for bool because C doesn't have a bool. But then the programmer confuses the situation, by assigning numbers to the char variable...
Ints are used for bools because ints are defined to be the fastest integer type that's at least 16 bits. Because of this, you're guaranteed that the compiler isn't going to be loading a word and splitting it, behind the scenes, to get you your variable. It just loads it, and you're done. So ints are fast, and sometimes, especially on newer systems, byte-sized chars are not as fast.
Different processors are different. Some can compare against a particular bit in the same time it takes to compare the whole word - so bitpacked boolean comparisons are just as fast as int comparisons. Some can set the true/false flag simply by loading the variable, so you can skip the comparison if you're using a native integer type. Some processors have different speeds for different types of comparison operators. Some systems can load just 4 bits (nybble), some can only load a word at a time, some can load a byte but not a nybble.
If I explain all of the reasons why you are wrong, and then insult you, it's not ad hominem. If I insult you, then explain all the reasons why you're wrong, it's still not ad hominem, but it doesn't matter, because you won't read any of the explanation.
Ad hominem is simply saying that you're obviously wrong, because you're a dumbass. That's totally not the case here, because none of you are real dumbasses. Instead, what we have here is people who have communication difficulties, and are calling each other dumbasses out of frustration.
A real dumbass would do something truly stupid, like trying to make an intelligent post long after everyone else has finished commenting on the story, so nobody'd see it.
Admin
I think I just burst a vein in my cornea.