|
That looks a lot like the young Alien
|
|
|
|
|
Now that you say it, but I saw something different. I thought it was a bit too short and wondered where you can turn of the vibrations.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
No good for me. My wireless is high-powered, not medium.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
|
Thanks for that - I'll bear it in mind. I prefer wired, and that is clearly wireless.
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
They loved big guns. Putting one made for a warship on a tank already was idiotic, but they actually tried to put such a thing under an airplane.
I wonder who they were planning to shoot at?[^]
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Münchhausen ! that explains it all
|
|
|
|
|
Yes, but refering to the story about riding a cannonball, not his lies.
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
OriginalGriff wrote: This one keeps skidding off into the weeds in all this snow...
If you can still see weeds, you don't have all that much snow.
|
|
|
|
|
|
Maggie Stiefvater on Twitter:
"Hotel clerk: looks up reservation did you know there’s an author with your same name?
Me: really
Clerk: yeah! I’ve read some of them!
Me: carefully are they any good?
Clerk: I loved the Raven Cycle!
Me: soooooooo I have something to tell you
|
|
|
|
|
Okay, I was writing some code and noticed that I was using 'i','j', and 'k' for looping indices - it shook me that I still retained that habit. Then I thought: "Who cares? They do the job"
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
stoneyowl2 wrote: Who cares? The next guy to look at the code after you. And that includes you in 2 weeks.
Everyone is born right handed. Only the strongest overcome it.
Fight for left-handed rights and hand equality.
|
|
|
|
|
If the next guy (or me) can't figure out what the 'i', or 'j' or 'k' is used for, then the need to get a different job (or take a FORTRAN course!).
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
It's funny how we pick up these habits along the way, going from one language to the next. I immediately knew you had programmed in Fortran at some point.
|
|
|
|
|
Or just about any other language.
|
|
|
|
|
They shouldn't have to figure it out. We aren't coding on punch cards where short variable names help programmer efficiency.
Also, for most projects, triply-nested loops are a code smell and the method should be refactored.
JohnnyCee
|
|
|
|
|
Errr...are claiming that a programmer that sees the first rather than the second is going to somehow be better off?
for(int index=0; index < 10; index++)
for(int i=0; i < 10; i++)
|
|
|
|
|
For those unaware... In maths and physics (along with others I suppose) i, j, k are standard vector spaces. Just sayin...
|
|
|
|
|
Old FORTRAN habits die hard ... I do the same, but at least I have to declare them these days.
Old FORTRAN programmers never die, they RETURN to caller
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
True, true.
But at least it is faster than typing 'rowndx' or (Deity forbid!) 'elementIndex'
A human being should be able to change a diaper, plan an invasion, butcher a hog, navigate a ship, design a building, write a sonnet, balance accounts, build a wall, set a bone, comfort the dying, take orders, give orders, cooperate, act alone, solve equations, analyze a new problem, pitch manure, program a computer, cook a tasty meal, fight efficiently, die gallantly. Specialization is for insects! - Lazarus Long
|
|
|
|
|
Single letter loop counters is not just FORTRAN -- C as well.
|
|
|
|
|
But it started in FORTRAN which had implicit typing based on the first letter of the variable name: I to N inclusive were integers, everything else were reals. With no enforced declaration, it became a convention that I, J, K were integer values used in loop guards.
C always had compulsory variable declaration, which made typing by variable name irrelevant - and got rid of a lot of errors: NASA "lost" a probe because someone mistyped a comma.
What they meant to type:
DO 15 I = 1,100 A loop to Label 15, integer I runs between 1 and 100 inclusive.
What was typed:
DO 15 I = 1.100 Because FORTRAN ignored spaces outside strings, this was seen by the compiler as:
DO15I = 1.100
which is a perfectly valid assignment to a brand new variable called DO15I. Since there is no need to declare a variable, the "D" makes it a real variable, and that's completely legal (if rather useless)
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: But it started in FORTRAN Very true! However, I expect a lot more folks frequenting this forum picked the naming habit from C rather than FORTRAN.
That would make an interesting poll -- list languages popular before 1990 and get counts of who has done what.
|
|
|
|
|
God is real, unless declared otherwise by an IMPLICIT statement or an explicit declaration.
This joke was well known in the late 1970s. For those who never worked with Fortran:
IMPLICIT COMPLEX (F-H) would make all variables starting with an F, G or H to be of default type COMPLEX. You could explicitly decare REAL GOD, overriding the IMPLICIT, but if you simply referenced GOD with no declaration, GOD would be COMPLEX.
I once spent a full day helping one guy find the cause for his program Fortran behaving in completely crazy ways. I didn't spot it until I single stepped through his program, machine instruction by machine instruction, seing that the compiler referenced two different locations, seemingly selected at random, that should have been a single location. Or ... Searching for the variable name in the source code hit only half of them. In the other half, the letter O was written as the digit 0, and in both the screen and printer fonts the two were almost perfectly identical. Obviously, the coders had used a lot of copy/paste to get that many occurences of 0.
In Fortran, you can declare IMPLICIT NONE (at least from Fortran 77 onwards), forcing you to explicitly declare every variable, as in any other decent programming language. But lots of old Fortran programmers hated having to tell in advance that they were going to need this and that variable; they didn't see the point of explicit declaration, and refused to use IMPLCIT NONE.
Some programmers are that way even anno 2019, praising their favorite language because variables are implicitly declared. (Or that they don't need braces around composite statements. Or use braces rather than BEGIN END. Or int rather than integer, bool rather than boolean / logical. Or... So don't be too harsh with the old Fortran programmers!)
|
|
|
|
|