r/learnprogramming • • 2h ago

Topic Advice on which language to learn?

I am not looking to get into the tech industry or make money from coding. I have coding before as part of a non cs degree and just found it fun.

I would like to eventually make something, perhaps a simple videogame to share with friends or a simple AI tool that can tell you if a photo is of a cat or a dog.

I also want to enjoy the learning process and by that I'm hoping along the way I can learn a bit about how computers work. Python doesn't appeal to me because it feels like a language which is great for making software but without teaching you "whats under the hood"

Which lamguage is best to learn?

C++ seems great because of its association with videogames.

C also seems cool because it seems to be the closest to the hardware

I dont know anything about Rust

I don't have the time to learn mutliple languages, like I said this is just for fun so I can only realpy learn one.

Which language should I learn, and are there any others you would reccomend?

0 Upvotes

7 comments sorted by

2

u/Gloopann 2h ago

Python could fit your use case really well

1

u/MarsupialLeast145 2h ago

Golang is a small language to learn with a lot of tooling considered up front. Very powerful. Natively cross platform. I recommend it.

1

u/MyNameIsRichardCS54 2h ago

You could try python. It's not the fastest of programming languages, but it will be a long time before you reach the limits of what it can do. If interested in python, take the University of Helsinki Mooc. It even has a section on pygame.

C++ is a more performant language, but it is harder to learn. If you decide to go with C++, have a look at learncpp.com.

1

u/knouqs 1h ago

I program professionally and for fun. C is still my favorite, though I do appreciate classes in larger projects. Kotlin is also an extremely fun language in my opinion.

1

u/BleachedPink 1h ago

Python is fine, not sure what do you want to see under the hood? Assembly?

Python often also used for embedded systems and microcontrollers if you want to, with MicroPython

You can often go as deep as you want or abstract was away using a pre made library.

You can learn C# or GDscript and learn Godot if you want to make a game

1

u/IcyScratch8633 1h ago

Most hobby projects start big and end up as a bouncing square.

1

u/podule-games 2h ago

If I programmed for fun only, I'd probably use C.