- 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
Years ago I programmed using a 360/44 using punch cards. The antique FORTRAN compiler required all definitions be placed before any computation. You also never commented since comments caused card jams (well that was the legend anyway). Code looked just like the stuff in the example.
Admin
I like when WTFs explain the joke for those who don't use the language. You should do it more often.
Admin
Admin
Probably the cause of the WTF. Probably find the programmer was an old Fortran blower who refused to update his paradigms.
"ALL VARS MUST BE DECLARED AT THE TOP. ALL IN UPPERCASE AND NO VARIABLE NAME LONGER THAN 6 LETTERS. THAT''S HOW IT''S DONE IN FORTRAN. IT''S GOOD ENOUGH FOR ME SO IT''S GOOD ENOUGH FOR YOU."
Someone obviously went through afterwards and made the variables lower/camelcase. And added one or two more, with longer names.
It's the reason why managers are apt to refuse permission for their old boys to be trained in Java.
Admin
Admin
Thankfully the cleavage is foosball girl's.
Admin
A really skilled dev can keep a roughly even distribution of characters even taking into account getter and setter methods and the like.
Admin
That's not a cleavage.
(Points towards Australian girl's bosom.)
That's a cleavage.
Admin
Admin
Declare variables??
Why? In Fortran 2, you couldn't declare variables, you just used them and hoped for the best. The implicit naming (integers starting with I, J, K, L, M, N; and reals being the rest) was how it was done. This led to some names like 'KODE' when you wanted an integer (documented, for sure!).
As for nuclear reactors: I know of a university one that was de-commissioned over 30 years ago. The site is now a nice residential subdivision, and I suspect that nobody is the wiser. I drove by the site several times going to/from work in the 70's (when I worked at said university). No, I wasn't an alumnus (I was going to the university that was MUCH cheaper 20 miles to the south!).
Admin
I vote Octopodes....
Admin
Admin
Well,
...the prbx and prby variables are clearly used to store the XY position of the proboscus. ...and the plbx and plby variables position the plebians. ...and v(h/v)b(x/y) group is for the x/y positions of the horizontal and vertical vultures. ...and the tc(x/y) variables are for the tochtli. ...and the si(a/b)(x/y) variables are for the simians. ...and the vil(x/y) variables are for the villians. ...and the rod variables are for the rodents that ride the elevators, except for the rodents that are "in". ...and the w__(x/y) variables are for the wapiti, except for the warn(x/y) variables, which are blindingly obvious. ...the turb(x/y) are for the turbo tochtli. ...the trap(x/y) are for the sand traps. ...the guage(s)(x/y) are for the railroad. ...every program like this needs a reactor. ...and the remaining variables keep track of the joints and squiggles.
Simple, see?
Admin
Nonmilitary reactors probably have less manpower to throw at looking at dials and pressing buttons, but moving rods is something that is rare enough that it should require direct human intervention in all normal cases.
Admin
If it's a 4-way valve, it could be horizontal and vertical.
Admin
haha, I was just about to make this one too :)
Admin
In FORTRAN 77 You could still can use IMPLICIT ALL (or something) which allows you to not need to declare variables. Presumably the same applies to FORTRAN 95 as no features were removed. I had to maintain a couple of programs once which had been written as IMPLICIT ALL and it was not easy to do.
Most programming environments which use FORTRAN usually impose a set of house standards which enforce a certain level of structure on the programs. If done right, you get a level of elegance and attractiveness that is difficult to achieve in modern programs unless considerable effort is made.
Sigh. I miss FORTRAN. I loved it. But life moves on ...
Admin
No! There is "a lot" of "real world" experience. It just is from the time 30 years ago when the big languages were Fortran and BASIC.
Admin
USE variables??
Why? In RPL, you just put your values on the stack and write DUPs, SWAPs, DROPs and PICKs while simulating the state of your stack on a paper. And since everything in your HP48 is in the RAM and the RAM gets completely wiped in case of access violation, programs with bugs are automatically erased from the surface of the planet. That's how real men did back then.
Admin
I'd go with TAN, but avid readers will know I failed my 5th Grade Mathematic*
*: Pedant Anticipator ACTIVE
Re: What the @*&# are they? IN[I]TS, innit?
Admin
She told me about a commercially produced, high-end banking system her employer had bought. The sale included the source code, since they were required to make any changes themselves.
When she examined the said source code, she discovered that the first screen of a simple stock purchase required 88 variables (must have been a pianist who wrote the code). They were named: Int1, Int2, Text3, Float4, etc., with no comments explaining what they were for. After manually reverse engineering the code, taking a week to work her way through the intricacies of multiple-use variables, she told her boss to scrap the project and ask for their money back. There were, after all, a couple of hundred screens, not to mention reports, helper routines, etc.
She didn't want to have to work on it until retirement (she was 31 at the time).
Admin
Admin
Admin
Admin
Even that list either isn't complete, our college/university (whatever it calls itself now) no longer has its license, or it wasn't needed decades ago. The Robotics student org. now uses the basement where the reactor used to be, and background radiation in one of the rooms there is still sliiiightly higher than the average for the area.
Admin
Also, apparently you have to be more wordy to get past askimet.
Admin
Neither are Windows or standard editions of Linux anyway.
Admin
Admin
Admin
Admin
Admin
Admin
It still blows my mind that the university vs. not flamewar did not brake out.
Admin
Admin
No, zero percent of me is a university student.
Admin
So by my calculations (bear with me, math is not my strong suit) you're claiming to account for umm... > 95% of comments on this site? So you're the one?
Admin
You know what they say about universities with large physics departments.
Captcha: transverbero, the supervillain who can only use transitive verbs.
Admin
Big gloves?
Admin
Bah, rumbled. Just don't tell my clients.
Admin
Admin
Admin
Admin
sorry...
Admin
It's probably just a straight port of old Fortran code. Fortran used to have a low limit on the number of characters per identifier, so short names were commonplace.
There is usually a glossary in the comments, though.
Admin
Admin
You should be.
Reminds me, I once saw a parody T-shirt mocking a US visit by the Pope. The theme was heavy metal, the slogan was "Pastor of Muppets".
Admin
Admin
Admin