I remember writing so much C code that I could see the assembly instructions in my head.
The best way I know to learn the dusty corners of C++ is to write your own template library. Then you'll have your own code to reference when you forget the details, which we all do at some point.
"Program testing can be used to show the presence of bugs, but never to show their absence." - Edsger Dijkstra
"I have never been lost, but I will admit to being confused for several weeks. " - Daniel Boone
C++ is a great language with a lot of features, but the compilation time is what turns me off.
The way templates are built into C++ unfortunately requires code generation. On any reasonably sized project it becomes very annoying and even prohibitive.
Oh, then I started to learn Angular, whole different kettle of fish.
After a week, someone said I should be using React. so that is 3 ''languages'' so far.
Oh and let me tell you about SQL. I was taught good lovely Structure Query Language. But my first job required MS-SQL - which looked like sql, but was like the difference of London English and Scottish English. To an outsider they the same, but a local knows different.
Then a couple years later offered a fantastic contract gig. Said SQL, i was like "I know SQL". but it was Oracle-SQL - which required another week learning that SQL. Maybe like English to German, they both come from Latin, but something happened along the way.
so that's another 3 languages.
But if you want to do some nice stuff, you need to learn t-sql. Which is like knowing C#, but then want to use linq, or is it knowing SQL and want to use linq? I'm not sure, Ill just add another 3 lanuages for C#, Linq query syntax, linq method syntax.
After 25 years or so, I'd say that I only really know C, C# and MSSQL.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
I would add some of the script languages to the mix. The python you mentioned, maybe lua and php.
C# and SQL. If you know those two, you can "walk" (but maybe not "run") also in Java, different sql-dialects (P/SQL, T-SQL, ...) and you can at least "read" C and to some extend C++.
But c++ is a completely different world and all but easy for beginners.
The only time I have seen Lua used is in creating add-ons for the World of Warcraft game client. Obviously people use it, and use it for other projects, or it wouldn't be around, but in 15+ years, that is the only time I have seen it used in a production setting.
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Still waiting for someone to list Pick Basic. Different enough from the basic's to be a stand-alone.
2nd language I learnt.
Then I ruined my head by learning COBOL (the dark days of the late 70's and early 80's)
Sort of close to the order I learnt/used them in...
PL/360, Various assemblers, Pascal, Fortran, Algol (68 and W), COBOL, The Basics (GW, MS etc)
FoxPro, The "VBs" (1, 3, 5 and 6 - because I was an evil person in a previous life), Siebel scripting and VBA.
Various Scripting things (VBScript, DOS batch, Perl etc),
Various dbs stuff - SQL, PL/SQL (because it is different enough to the other SQLs). Bit of PL/I but thats almost the same as the Oracle stuff.
The standard C, C++, C# (because all 3 are more different than @Donanthan-Hutchings would have us believe )
VB.NET. HTML/CSS and XML/XSLT/Xpath stuff (does that really count? If it does I've clumped it together)
Bit of XMAL but that is/was a work in progess.
Looked into Java and Ruby but ran away when the needs went away (so not counting them)
So, because I'm an old elephant, and depending on how you clump them together, I reckon that averages out somewhere between 1 every 2.5 to 5 years. So I checked "I learn a new language maybe every 3 - 5 years" - In reality it followed more of a normal distribution curve though, and I reckon I've forgotten most of the old stuff entirely.
6510 Assembler Language
Modula-2 more than dabbled, but not professionally
would like to dabble in:
newer features of c++
Last Visit: 26-Mar-19 10:11 Last Update: 26-Mar-19 10:11