A disturbing new trend?
-
To say nothing of COBOL. No please, say nothing of COBOL!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
COBOL's a pleasure compared to RPG !!! (IBM AS/400 for example)
-
When I first learned BASIC in the '80s, the only structure available was the array, so we had to use that and build up more complex structures, but that's just not necessary with C#, OOP, and Collections. So I am saddened to these posts from the last few days: "Int32[] playerNumbers, String[] playerLastName, Int32[] playerPoints" -- Arrays how to delete multiple entries[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- Cannot convert type int[] to int[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- delete method not deleting[^] "Array carPark[10][2];" -- What Is Wrong With The Code And Why Doesnt It Run When I Try To Run It In C#[^] Those first two are the same member, the third probably is as well. The fourth is at least using a two-dimensional array, but he obviously copied it from somewhere and has no idea what it is. Oh, sweet Bob, they keep coming... "public string[][] Select(string query)" -- How to return array or list 2 dimensional from SQL Query[^] WTF!? "ProcessDelete(Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints )"
This entire thread brought a tear to my eye! Here I was thinking I'm the only grizzled fossil among a million "please, sirs, to send me the codes" or "can you do my programming homework for me?" and find that I am not alone! There are others whose first programming ventures were indeed programmable *calculators*? (TI-57 in my case) Mayhaps who thought that BASIC was a dumbing down and that Real Programmers used Assembler - when they were lazy and didn't just want to hack in 6502 machine code? *sniff* Vale atque ave, amici, vale atque ave!
-
When I first learned BASIC in the '80s, the only structure available was the array, so we had to use that and build up more complex structures, but that's just not necessary with C#, OOP, and Collections. So I am saddened to these posts from the last few days: "Int32[] playerNumbers, String[] playerLastName, Int32[] playerPoints" -- Arrays how to delete multiple entries[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- Cannot convert type int[] to int[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- delete method not deleting[^] "Array carPark[10][2];" -- What Is Wrong With The Code And Why Doesnt It Run When I Try To Run It In C#[^] Those first two are the same member, the third probably is as well. The fourth is at least using a two-dimensional array, but he obviously copied it from somewhere and has no idea what it is. Oh, sweet Bob, they keep coming... "public string[][] Select(string query)" -- How to return array or list 2 dimensional from SQL Query[^] WTF!? "ProcessDelete(Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints )"
-
When I first learned BASIC in the '80s, the only structure available was the array, so we had to use that and build up more complex structures, but that's just not necessary with C#, OOP, and Collections. So I am saddened to these posts from the last few days: "Int32[] playerNumbers, String[] playerLastName, Int32[] playerPoints" -- Arrays how to delete multiple entries[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- Cannot convert type int[] to int[^] "Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints" -- delete method not deleting[^] "Array carPark[10][2];" -- What Is Wrong With The Code And Why Doesnt It Run When I Try To Run It In C#[^] Those first two are the same member, the third probably is as well. The fourth is at least using a two-dimensional array, but he obviously copied it from somewhere and has no idea what it is. Oh, sweet Bob, they keep coming... "public string[][] Select(string query)" -- How to return array or list 2 dimensional from SQL Query[^] WTF!? "ProcessDelete(Int32[] playerNumbers, ref Int32 playerCount, String[] playerLastName, Int32[] playerPoints )"
Ah, the good old days... I was early enough not to taught that the string is a data type, but that it's an array (which it still is, but no-one bothers to try to get that into their heads any more), and I've twice seen people reinventing the string by creating an array of characters that can be truncated, searched through, etc. And if I had a penny for every vacant stare I've seen when linked lists were mentioned... * * I could probably buy a Mars bar, but I'd rather let everyone's imagination exaggerate it for me
I wanna be a eunuchs developer! Pass me a bread knife!
-
:-D :-D :-D My HP-67 calculator was, at the time, far more advanced than the version of BASIC available then.
Will Rogers never met me.
I'll match your HP-67 and raise you an HP-35. (Bargain price $397 [3 weeks before HP-21 came out at $180 RRP])
-
Ah, the good old days... I was early enough not to taught that the string is a data type, but that it's an array (which it still is, but no-one bothers to try to get that into their heads any more), and I've twice seen people reinventing the string by creating an array of characters that can be truncated, searched through, etc. And if I had a penny for every vacant stare I've seen when linked lists were mentioned... * * I could probably buy a Mars bar, but I'd rather let everyone's imagination exaggerate it for me
I wanna be a eunuchs developer! Pass me a bread knife!
Well of course, we 'ad it 'ard. I used to get up at one in the morning, before I went to bed, and hand-punch cards with lines of Fortran IV. Then I'd assemble them into a batch, and place them in the card reader with a weight on top. You tell young kids today what a 'batch file' is, and they don't believe you! :-\
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
Then C introduced the
struct
. Then C++ decidedstruct
should have methods, and called it aclass
and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.) Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, theDataTable
,DataView
andDataSet
, but those caused impedence mismatches so a new artifact was born, the ORM. Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents. And this is called progress. MarcImperative to Functional Programming Succinctly Higher Order Programming
Exactly. When reading Piebald's post, also I thought of some "serialized as text" compatibility mode. That's progress in these times...
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
Then C introduced the
struct
. Then C++ decidedstruct
should have methods, and called it aclass
and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.) Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, theDataTable
,DataView
andDataSet
, but those caused impedence mismatches so a new artifact was born, the ORM. Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents. And this is called progress. MarcImperative to Functional Programming Succinctly Higher Order Programming
As the song said, "There's nothing new, except what has been forgotten". To add my bit - some things should be forgotten.
-
ledtech3 wrote:
If this is a school project
That's very likely.
ledtech3 wrote:
teacher that needs pulled out of the 80's
Indeed. I know I'm old-school, but this is a ridiculous level of archeology.
PIEBALDconsult wrote:
I know I'm old-school
ftfy
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
Then C introduced the
struct
. Then C++ decidedstruct
should have methods, and called it aclass
and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.) Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, theDataTable
,DataView
andDataSet
, but those caused impedence mismatches so a new artifact was born, the ORM. Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents. And this is called progress. MarcImperative to Functional Programming Succinctly Higher Order Programming
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
Then C introduced the
struct
. Then C++ decidedstruct
should have methods, and called it aclass
and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.) Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, theDataTable
,DataView
andDataSet
, but those caused impedence mismatches so a new artifact was born, the ORM. Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents. And this is called progress. MarcImperative to Functional Programming Succinctly Higher Order Programming
I am reminded of the quote, "Those who cannot remember the past are condemned to repeat it" - George Santayana.
-
I'll match your HP-67 and raise you an HP-35. (Bargain price $397 [3 weeks before HP-21 came out at $180 RRP])
Good choices! I had the -21, too, or maybe it was the -25 (I forget), but the -67 hurt the most financially when I was making $5/hr. Now I have and use a HP-12C and -15C, and for some reason keep a -48G around; I've never quite mastered that one.
Will Rogers never met me.
-
I'd heard of COBOL.NET, but since I last touched COBOL almost 30 years ago I though I'd do a quick search. I found this:
program-id. Program1 as "ConsoleHelloWorld.Program1".
data division.
working-storage section.
procedure division.
display "Hello World"
goback.
end program Program1.X|
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
You can use COBOL to write restful webservices these days... http://azac.pl/cobol-on-wheelchair/[^]
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
COBOL's a pleasure compared to RPG !!! (IBM AS/400 for example)
I've never "played" with RPG (unless we're talking Doom!), but I've had my time with AS400 "screen scrapes".
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
You can use COBOL to write restful webservices these days... http://azac.pl/cobol-on-wheelchair/[^]
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
You can probably go from Land's End to John O'Groats on a unicycle, but should you! :)
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
When I first learned BASIC in the '70s, the only arrays we had were 1 dimensional, 20 DATA 12, 22, 15, 'X' . . . 120 READ A, B, C, $D 130 GOTO 9999 . . . 9999 LPRINT A, B, C, $D 10000 END
Will Rogers never met me.
When I were a lad, y'know we flipped them switches by 'and. You 'ad it good, we 'ad to turn the handle on t' side 'n t' only electric we 'ad was when we got struck by lightning.
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
-
COBOL's a pleasure compared to RPG !!! (IBM AS/400 for example)
-
PIEBALDconsult wrote:
When I first learned BASIC in the '80s, the only structure available was the array,
Then C introduced the
struct
. Then C++ decidedstruct
should have methods, and called it aclass
and added all sorts of other artifacts (inheritance, polymorphism, and encapsulation.) Then came along relational databases, and we were introduced in C# to a newfangled way of working with structures, theDataTable
,DataView
andDataSet
, but those caused impedence mismatches so a new artifact was born, the ORM. Then the jar-heads decided to inflict themselves on the process because this was all too complicated and created JSON, a string "structure" that took us back to the BASIC 80's of untyped data and structure encoded in the string itself. Simultaneously, the "kids" (who were not even a glimmer in the eyes of their parents in the 80's) decided that relational databases were bad and gave us NoSQL, which, guess what, uses JSON, is document oriented and requires client-side callbacks to "join" data across documents. And this is called progress. MarcImperative to Functional Programming Succinctly Higher Order Programming
"Then the jar-heads decided to..." This is the first I've heard of the involvement of the U.S. Marines in programming lore, and I must say, I'm skeptical. Weren't they too busy in the Halls of Montezuma and the Shores of Tripoli to be flipping bits and decoding bytes and such?
-
You can probably go from Land's End to John O'Groats on a unicycle, but should you! :)
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.
Depends on how important the charity you're sponsoring is to you. Apparently it can be done in less than 9 days in a wheelchair, so you'd only have to take one week of work off. :laugh:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
-
Depends on how important the charity you're sponsoring is to you. Apparently it can be done in less than 9 days in a wheelchair, so you'd only have to take one week of work off. :laugh:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies. -- Sarah Hoyt
Dan, I said
Quote:
You can probably go from Land's End to John O'Groats on a unicycle.
I can't even ride one. Let me know when you're going, I'll chip in some sponsorship!
Life is like a s**t sandwich; the more bread you have, the less s**t you eat.