My first program was also FORTRAN, specifically FORTRAN IV in 1971 for IBM 360-44. It was a plotting program for a line printer. But I did have occasion to write a leap-year detector for the same shop. It was called the Engineering Systems Simulation Laboratory at the University of Houston. We had nifty stuff like an analog computer and disk drives the size of washing machines. One of our card-punch consoles printed the characters right on the cards, which made it really easy to know when you typed a wrong key. I visited the place in the mid 80's. They were still using that plotting format. They had lost the punch cards that printed the documentation, so everyone shared a dirty, dog-eared copy.
Curly brackets on a Swedish keyboard is Alt-7 and Alt-0, square brackets are Alt-8 and Alt-9 and parenthesis are Shift-8 and Shift-9... Granted I have lived with it my entire life, but I hardly find it mindbogglingly confusing :)
I bet he was thinking of Swedish Mac keyboards? My native language is German, and every time I have to do something on a Mac I get angry: They put [ ] { } on different places than on the German PC keyboards *and more importantly* they don't label the keys! WTF?! Also the hand motion to type an @ on a German PC keyboard closes the current window on a Mac (AltGr+Q -> CMD+Q). Are they doing that deliberately?
That's not a real goto example. You haven't seen real gotos unless you've seen a multi-thousand line subroutine, with several dozen gotos jumping to random points scattered throughout the whole subroutine.
I've never understood the aversion to goto. Even if it did really produce spaghetti code, spaghetti is delicious. There are over 100,000 goto's in the Linux kernel. If it's good enough for Linus, it's good enough for me
If it's good enough for Linus... there's still miles and miles of room for improvement. Been using Linux for nearly 30 years, Git for 20-ish years.... They're better than the other stuff that we had before but...
excellent; everything has been said before; but since nobody listens, we must always start again;
My first program was also FORTRAN, specifically FORTRAN IV in 1971 for IBM 360-44. It was a plotting program for a line printer. But I did have occasion to write a leap-year detector for the same shop. It was called the Engineering Systems Simulation Laboratory at the University of Houston. We had nifty stuff like an analog computer and disk drives the size of washing machines. One of our card-punch consoles printed the characters right on the cards, which made it really easy to know when you typed a wrong key. I visited the place in the mid 80's. They were still using that plotting format. They had lost the punch cards that printed the documentation, so everyone shared a dirty, dog-eared copy.
Curly brackets on a Swedish keyboard is Alt-7 and Alt-0, square brackets are Alt-8 and Alt-9 and parenthesis are Shift-8 and Shift-9... Granted I have lived with it my entire life, but I hardly find it mindbogglingly confusing :)
I bet he was thinking of Swedish Mac keyboards? My native language is German, and every time I have to do something on a Mac I get angry: They put [ ] { } on different places than on the German PC keyboards *and more importantly* they don't label the keys! WTF?! Also the hand motion to type an @ on a German PC keyboard closes the current window on a Mac (AltGr+Q -> CMD+Q). Are they doing that deliberately?
The Bret Victor talk mentioned at ~1:14:39 would appear to be: ua-cam.com/video/8pTEmbeENF4/v-deo.html
That's not a real goto example. You haven't seen real gotos unless you've seen a multi-thousand line subroutine, with several dozen gotos jumping to random points scattered throughout the whole subroutine.
Oh, yes...
why would anyone use goto when we are not artificially restricted by memory size?
My {}[] has been located in the same position on my norwegian layout keyboard for the last 30+ years - no confusion :-)
I've never understood the aversion to goto. Even if it did really produce spaghetti code, spaghetti is delicious. There are over 100,000 goto's in the Linux kernel. If it's good enough for Linus, it's good enough for me
If it's good enough for Linus... there's still miles and miles of room for improvement. Been using Linux for nearly 30 years, Git for 20-ish years.... They're better than the other stuff that we had before but...
@@edgeeffect the improvement to goto exist. It is called comefrom
Any idea how many of those gotos are used for cleanup logic? Those can be replaced nicely with defer.
So this swedish person didn't feel the need to mention the Norwegian SIMULA-67 that invented Object Oriented Programming OOP?
Swedish? The guy’s obviously English
It was mentioned.