|
I am reminded of the quote, "Those who cannot remember the past are condemned to repeat it" - George Santayana.
|
|
|
|
|
"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?
|
|
|
|
|
B. Clay Shannon wrote: This is the first I've heard of the involvement of the U.S. Marines in programming lore,
I know, it's a bad pun on my part of Java libraries known as JAR.
Marc
|
|
|
|
|
B. Clay Shannon wrote: 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?
My boss learned to program in the Marines in the early 90's- using Ada no less.
|
|
|
|
|
The U.S. Marines are part of the U.S. Navy. The U.S. Navy gave us Admiral Grace Hopper. Admiral Grace Hopper gave us COBOL.
|
|
|
|
|
As well as ForTran? I didn't know that!
|
|
|
|
|
RESTFul services are also a big step forward.
modified 20-Oct-19 21:02pm.
|
|
|
|
|
And don't forget how hard we all worked to get rid of the "Mainframe+dumb terminal" structure and introduce distributed, networked, intelligent workstations instead.
Now they push the Cloud: centralized data and processing again, but with your data controlled and protected by the lowest bidder...
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
|
|
|
|
|
I never understood why to allow C++ records to use methods, or act like classes. It's confusing.
I now that those methods are used as constructors or to assign values.
Sometimes, developers need to work with both, structs like "Pure C", and "C++" classes.
Usually when they need to interact a Object Oriented Application, or, with large massive data, or with low level O.S. data that is not Object Oriented, or just a legacy library.
When I require to use both "struct (s)" and "class (es)", I avoid adding methods to "structs".
Just my 2 cents.
|
|
|
|
|
JSON is more lightweight as opposed to XML (no tags required - but does imply foreknowledge of the data formatting).
As well - you don't have to worry about malformed tags et al.
This is particularly important when trying to reduce traffic on the wire...
XML is "pretty", but can be a pig on the wire.
|
|
|
|
|
Rene Pilon wrote: XML is "pretty", but can be a pig on the wire.
True, but the fact that we have to serialize data to in JSON / XML is absurd to begin with, and is a "workaround technology" to deal with doing something that HTTP was never originally intended to do.
JSON is simply a bandaid on a corpse that refuses to die, and yet it has also become a way to animate other monsters.
Marc
|
|
|
|
|
Zackly! Long live SQL Server!
|
|
|
|
|
The fourth example uses a jagged array, an array of arrays, not quite the same thing as a 2-d array, and under-the-hood in .NET:
"If you write some simple code using jagged and multidimensional arrays and then inspect the compiled assembly with an IL disassembler you will see that the storage and retrieval from jagged (or single dimensional) arrays are simple IL instructions while the same operations for multidimensional arrays are method invocations which are always slower" [^].
« I am putting myself to the fullest possible use which is all, I think, that any conscious entity can ever hope to do » HAL (Heuristically programmed ALgorithmic computer) in "2001, A Space Odyssey"
|
|
|
|
|
BillWoodruff wrote: not quite the same thing
Pfft, details.
|
|
|
|
|
I once worked with a developer that couldn't figure out why this:
for i=0 to a.length
response.write(a[0])
end
output the same value over and over again. He had only worked with ADODB recordsets.
|
|
|
|
|
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.
|
|
|
|
|
Oh, then having two was like twice as many. The BASIC I learned even had matrix operations built in!
|
|
|
|
|
|
Roger Wright wrote: HP-67
1867?
|
|
|
|
|
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.
|
|
|
|
|
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.
|
|
|
|
|
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!
|
|
|
|
|
So is the trend that teachers can't teach or that students can't learn?
It's an OO world.
public class SanderRossel : Lazy<Person>
{
public void DoWork()
{
throw new NotSupportedException();
}
}
My blog[ ^]
|
|
|
|
|
It is a bit of both. There are teachers who can't teach, because they are so busy trying to keep up their "no child left behind" status or simply are collecting a paycheck. There are students who are more concerned with facebook, twitter, or whatever than with the educational system. Then there are school which lack funding to update to the best teaching methods.
|
|
|
|