What programming language would your recommend? by johnblood | tildeverse BBJ

>0 johnblood @ 2021/01/31 18:41

Hi,

I haven't logged into this tilde in a while.  I've wanted to learn how to
program for a while, but life keeps getting in the way.
I want to finally accomplish something.

What programming language would you recommend that I learn? I'd like to
create apps that work on both Windows and Linux (because I split my time
between both). I've bought a bunch of programming ebooks from the Humble
Bundle over the years, but am not sure where to start.

One caveat: I see recommendations for Python everywhere, but I would like to
try something different.

Thanks

>1 voytek @ 2021/02/01 00:03

>>OP

I'd recommend C++; classic language with compliers on all platforms.

While it's true that python has less boilerplate code to write,
is dynamically typed, and handles pointers under the hood; most
freely-available IDEs will auto-complete most of the boilerpate,
and learning materials have vastly improved since my college
days.

>2 anonymous @ 2021/02/01 00:09

>>OP

You don't mention what sort of programming you are interested in so any advice is going to be necessarily vague. Similarly, you don't say why _not_ python, so there's a real chance you'll get recommendations in the same vein.

With that being said you should probably just learn JavaScript. There are plenty of resources aimed at beginners and little prerequisite knowledge to starting. It was designed to run in the browser but has been ported to be used as server/desktop software as well. You'll get people that tell you it is wasteful or poorly designed, and even if they are right there's little argument that it isn't widely used. There's no sense being a language snob when you're just getting started anyway.

I'd read and work through Mozilla's tutorials[0] and skip books for now.

[0]: https://developer.mozilla.org/en-US/docs/Learn/Getting_started_with_the_web/JavaScript_basics

>3 jacksonbenete @ 2021/06/09 15:20

I agree with anon,
without knowing what kind of programming you are interested in, it's hard 
to suggest something.

JavaScript it terrible, it's an horrible language, but I would also 
recommend it if you don't know exactly what you want, simply because 
you have browsers available in both Operational Systems you're using and 
it would be portable for sure.

Another suggestion would be Java or something running on top of JVM, 
this would give you a lot of power and the portability as well since 
you have JVM for a lot of devices.
I would recommend Clojure, because it's a powerful language, new, 
and there is a lot of nice material to learn from.
I'm just learning Clojure myself so I'm not a guru.

If you wanted to learn programming for fun I would tell you to learn 
C and Assembly, so you could be programming microcontrollers to build 
fun and impressive gadgets yourself.

If you wanted to learn programming for enlightenment I would tell you 
to learn Lisp, more precisely MIT Scheme using the book SICP, which 
is free and teaches a lot of nice things that I didn't know even after 
years working as a programmer.

If you wanted to learn programming for geekness to do stuff like 
Math, Physics and Statistics I would say you can learn Fortran and R.

But since you want to learn for "apps" and portability, I think that 
JavaScipt or Java/JVM is the way to go.
Do Kotlin can make desktop apps (GUI)?
If so it would be a nice choice as well, now you can have portability 
since it runs on top of JVM, and you can write mobile apps (Android) as well.

>4 stern @ 2021/10/14 04:57

>>OP
It has been my experience that one can never go wrong with ADA

>5 isvarahparamahkrsnah @ 2021/10/16 09:28

I liked C# for Windows