|
That sounds like a gross underestimate.
For example, the following shows 99 Bottles of Beer implemented in, so far, over 1500 languages...
99 Bottles of Beer | Start
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
"It's funny but it's true".
|
|
|
|
|
Must admit, I've pretty much given up on C++ now. Although I like some of the new directions, the insistence on backward compatibility has resulted in a language that is increasingly Byzantine.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Byzantine? I see yur point.
Anyway I am still fashinated by the language and like so much the new features.
|
|
|
|
|
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.
INTP
"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
|
|
|
|
|
Quote: The best way I know to learn the dusty corners of C++ is to write your own template library Or, alternatively, find the origin of the universe.
Templates do are rocket science; compiler errors on template code fills me with the urge...
Still I guess you are right.
|
|
|
|
|
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.
Nick Polyak
modified 10-Aug-18 14:20pm.
|
|
|
|
|
Well i learned some Javascript.
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.
Scrapping all that, I wanted to learn Vanilla Javascript (+1), but stopped to look at TypeScript which I heard was similar to CoffeeScript.
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.
|
|
|
|
|
React is a JavaScript library, not a language.
I would go back and look up things that you think are languages, just to be sure.
|
|
|
|
|
I seem to unlearn quicker
|
|
|
|
|
It's a good thing they're all in English, otherwise I'd be a bad programmer!
====
And, while comical, here's proof this post is based on fact that I know my stuff when it comes to language:
PATENT: US20030065499A1 - System and methods for language translation printing[^]
The best way to improve Windows is run it on a Mac.
The best way to bring a Mac to its knees is to run Windows on it.
~ my brother Jeff
|
|
|
|
|
... of my learning years ago (and many languages), now I only learn what is absolutely necessary and can't be avoided, the last one being javascript (after years of avoiding it like the plague).
|
|
|
|
|
After 25 years or so, I'd say that I only really know C, C# and MSSQL.
I've worked on stuff in other languages over the years - I4GL, VB.NET, Javascript (eurggh!) and (please don't shoot me) BASIC and I've had a quick play with others like C++ and F# but while I might have been reasonably proficient with one or two of those at the time, they're just not really embedded in my head as languages. In a sense, I "speak" them like I "speak" French (comme une vache espagnole!), I know some of the words and the basic grammar and I can garner a generalised meaning from reading it, but I can't tap into the idiom or hold a truly meaningful conversation.
Whenever you find yourself on the side of the majority, it is time to pause and reflect. - Mark Twain
|
|
|
|
|
Those of you who listed a new language every 1-2 years, 5 languages last year, 10 a year list them.
If you have been in the business for 10+ years, then duh, you better know at least 5 languages. What are they?
C#, C++, Java, JavaScript, SQL, what else - Python, if that? VB\VB.Net God forbid?
|
|
|
|
|
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.
|
|
|
|
|
Mike Barthold wrote: maybe lua
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.
|
|
|
|
|
lua is often used in game engines.
Defold is an example (the engine from Candy Crush Saga). Yes, CCS is a lua game.
There are many engines around that support lua. Applications too, not only games, but yes, it's mostly some kind of "addin" oder "module" language. Still quite used.
Depends on your working environment, how much contact you might have with it.
|
|
|
|
|
I may be showing my age, but X86 Assembler, HP Assembler (yes, they were very different in the 80's), Pascal, Fortran, Basic (BasicA, GWBasic, and VB I consider to be the same), C/C++/C# (again, pretty much the same syntax), Scripting (JavaScript, VBScript, SQL, HTML, XAML) and various other short-lived languages. Since I've been programming for 35 years, that would average about a new language every 4 to 5 years depending, of course, what your definition of a language is.
When you are dead, you won't even know that you are dead. It's a pain only felt by others.
Same thing when you are stupid.
modified 19-Nov-21 21:01pm.
|
|
|
|
|
Over 25 years of experience so lets see if I can list/remember all of the languages that I have learned or used over the years.
Basic
GWBasic
Lisp
Smalltalk
C
C++
FoxPro
Rexx
Pascal
x86 assembler
PowerPC assembly
PLC Programming (Allen Bradley)
Java
Visual Basic
SQL
PL/SQL
C#
COBOL
Python
Javascript
Bash
KSH
Perl
Swift
Objective C
Kotlin
Go
I know there are a couple of others that I am missing but this was the best I could remember. Some of the languages are very similar to each other but still have differences making them different.
I used to learn new languages as a hobby when I was younger and I guess I still do to a certain extent just not as extreme before.
|
|
|
|
|
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)
|
|
|
|
|
WoodseyAU wrote: ruined my head by learning COBOL
as fast I learned COBOL is about as fast as I tried to forget it... I learned it for one job and after that job I couldn't hit the "flush" button fast enough.
|
|
|
|
|
Each number is a different year, not counting different versions of languages...
1). C, then C++
2). TSQL, C# (Backend Web Development), Objective C,Java (Mobile Apps), ActionScript3
3). HTML, CSS, JavaScript, Sass, Razor, K#
4). Less, Pug (aka Jade), Purescript, CoffeeScript, Ruby, F#, Haskell, Visual Basic .Net, XML
5). XAML, Powershell, XHTML, Lucene
6). PHP, VB6, Bash, Twig
7). Typescript, Python, HCL, Cypher, XSLT
8). PSQL
It wouldn't surprise me if I've missed a few, and I left at least a few out like Prolog or GraphQL where I've dabbled, but don't really know, and also thinks that aren't really languages like JSON
|
|
|
|
|
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)
Just started dabbling with Javascript because I want to know what it's like in Mordor.
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.
|
|
|
|
|
Maybe if your still in school and taking classes. Even then learning 5+ programming languages is a bit of a stretch. I would not call this learned its more you were introduced to the language.
John
|
|
|
|
|
over about 25 years
Professionally:
ANSI Basic
Pascal
Fortran
C
Forth
SQL
C++
Visual Basic
VB.Net
C#
Delphi
Python
Perl
Java
Groovy
Javascript
Typescript
although Typescript is a superset of javascript, you will not get any benefit if you include vanilla javascript in your typescript.
Dabbled:
Algol
6510 Assembler Language
Lisp
Prolog
Modula-2 more than dabbled, but not professionally
Ruby
F#
Erlang
Scala
Shells:
csh
ksh
bash
powershell
would like to dabble in:
scheme
go
rust
newer features of c++
|
|
|
|
|