Click here to Skip to main content
15,887,027 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: A week and a half, now in the bin Pin
Steve Raw24-Oct-23 1:36
professionalSteve Raw24-Oct-23 1:36 
GeneralThat is interesting... Pin
Kornfeld Eliyahu Peter22-Oct-23 22:43
professionalKornfeld Eliyahu Peter22-Oct-23 22:43 
GeneralRe: That is interesting... Pin
RickZeeland22-Oct-23 23:35
mveRickZeeland22-Oct-23 23:35 
GeneralRe: That is interesting... Pin
charlieg23-Oct-23 0:44
charlieg23-Oct-23 0:44 
GeneralRe: That is interesting... Pin
Richard MacCutchan23-Oct-23 1:52
mveRichard MacCutchan23-Oct-23 1:52 
GeneralRe: That is interesting... Pin
pkfox23-Oct-23 2:42
professionalpkfox23-Oct-23 2:42 
GeneralRe: That is interesting... Pin
charlieg23-Oct-23 2:49
charlieg23-Oct-23 2:49 
GeneralRe: That is interesting... Pin
trønderen23-Oct-23 4:43
trønderen23-Oct-23 4:43 
charlieg wrote:
Talk about mind blowing, COBOL was just different.
Charlie Gilley
When people ask me how many programming languages I know, I use to answer something like "Well, the first one is the algorithmic, with conditional execution and explicit loops and stuff - there are dialects called Pascal and Algol and C and Basic and a lot of others names.

The second one is predicates, known under names such as Prolog, regex, XSLT and Snobol.

The third one is matrix programming; I know only the APL dialect, but there are a handful of others. Isn't R a matrix programming dialect?

Number four is list programming. I have programmed a little in the Lisp dialect, for emacs only.

I will count state/event programming as number five, although it usually use an algorithmic or matrix language as "machine code". State/event coding requires an completely different approach than both algorithmic and predicate programming. (Look at the Game of Life example in the APL language article in Wikipedia!)

So, I know about five languages, to varying degrees. Fortran, C#, Cobol and assembly (and scores of others) all represent algorithmic programming. I see them as dialects of algorithmic coding.

We may of course split algorithmic dialects into subgroups, e.g. bases on the data structuring facilities, but they are still programmed by the algorithmic paradigm. And there are some crossovers: Snobol has one foot in the algorithmic world (whereas Prolog doesn't), yet you have to think in predicated terms when programming Snobol.

There was recently a question of 'Pet Peeves". One of mine is when programming language people do not respect the nature of the language. Say, when the APL is expanded with all sorts of flow control from the algorithmic world. That is not how APL is to be used! Or Lisp with classes and object and inheritance. That isn't list oriented programming!

My second Peeve relates to the quote at the top: Lots of people think that they have learned two (or maybe three or four) very different programming languages because one uses square brackets for indexing, the other uses parentheses. Or one uses = for assignment, the other uses := . These are just tiny little details that you have to remember, but your approach solving the problem is 99.99% identical. Schools of today teach one single language.

If you show young IT people completely different approaches, such as Prolog and APL (note: without trying to mold it into some sort of algorithmic-like thing!), they shake their heads and generally refuse to active relate to it. It is just some strange thing, like an African tribal language: They would never consider spending any resources on learning anything as useless as that!

I think that learning different languages - algorithmic, predicate, array, list, ... - stimulates you creativity and ability to develop good workable problem solutions. If you know a few different ways to skin a rabbit, you can apply it to other animals as well. Colleges and universities should teach all IT students at least the principles behind different programming languages.

It would be a lie to claim that all IT people of my generation is fluent in everything from C# to APL to Prolog to Lisp to whatever. We did have a required course called 'Programming Languages' (not about compilers, but about the languages to be compiled!), and I guess that for the majority, that course was their only contact with some of the languages - until they 10 years later had to do some XSLT work, or some statistics in R. Maybe they had to configure their emacs. But quite a few of the students were fascinated by the different ways, and a lot of us played around with the other languages, mostly focused on Lisp and Prolog and some APL. (As seniors, we did a major group project where APL was the only language provided.)

Learning other human languages is considered valuable to understand other human cultures. Learning other (major classes of) programming languages is valuable to understand other ways of problem solving.
GeneralRe: That is interesting... Pin
k505423-Oct-23 4:54
mvek505423-Oct-23 4:54 
GeneralRe: That is interesting... Pin
trønderen23-Oct-23 5:30
trønderen23-Oct-23 5:30 
GeneralRe: That is interesting... Pin
englebart23-Oct-23 13:38
professionalenglebart23-Oct-23 13:38 
GeneralRe: That is interesting... Pin
Kornfeld Eliyahu Peter23-Oct-23 3:24
professionalKornfeld Eliyahu Peter23-Oct-23 3:24 
GeneralRe: That is interesting... Pin
jschell23-Oct-23 5:27
jschell23-Oct-23 5:27 
GeneralRe: That is interesting... Pin
Cp-Coder23-Oct-23 3:09
Cp-Coder23-Oct-23 3:09 
GeneralRe: That is interesting... Pin
Rick York23-Oct-23 5:13
mveRick York23-Oct-23 5:13 
GeneralRe: That is interesting... Pin
DerekT-P23-Oct-23 8:40
professionalDerekT-P23-Oct-23 8:40 
GeneralRe: That is interesting... Pin
trønderen23-Oct-23 10:54
trønderen23-Oct-23 10:54 
JokeRe: That is interesting... Pin
Sander Rossel23-Oct-23 21:44
professionalSander Rossel23-Oct-23 21:44 
GeneralCCC 23-10-2023 Pin
pkfox22-Oct-23 21:16
professionalpkfox22-Oct-23 21:16 
GeneralRe: CCC 23-10-2023 Pin
DerekT-P22-Oct-23 21:41
professionalDerekT-P22-Oct-23 21:41 
GeneralRe: CCC 23-10-2023 Pin
pkfox22-Oct-23 22:52
professionalpkfox22-Oct-23 22:52 
GeneralRe: CCC 23-10-2023 Pin
DerekT-P23-Oct-23 2:48
professionalDerekT-P23-Oct-23 2:48 
GeneralRe: CCC 23-10-2023 Pin
OriginalGriff22-Oct-23 23:27
mveOriginalGriff22-Oct-23 23:27 
GeneralRe: CCC 23-10-2023 - Winner Pin
pkfox22-Oct-23 23:48
professionalpkfox22-Oct-23 23:48 
GeneralYour Most Absurd Pet Peeves Pin
Steve Raw22-Oct-23 19:39
professionalSteve Raw22-Oct-23 19:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.