1313
you are viewing a single comment's thread
view the rest of the comments
[-] xmunk@sh.itjust.works 6 points 1 year ago

C++ is still the far and ahead leader in game programming. All the tools are written in it and everyone is used to it.

[-] Sonotsugipaa@lemmy.dbzer0.com 16 points 1 year ago

C++ is an awful candidate for a first programming language to learn, at least nowadays - it is very powerful, but it's also full of foot-guns and past a certain point the learning curve becomes a wall

[-] bort@sopuli.xyz 16 points 1 year ago

it's a great candidate. It was my first "real" languages (i.e. the first language, that is not php/js)

you have a text file. then call the compiler on it, and then you have a exe file, that you can run. It does exactly what it is supposed to do without thinking about the browser, the webserver, the JVM, or some other weirdness.

I get, that doing "good cpp" is difficult. And using all the weird languages features is difficult. But as long as you use strings, ints, ifs, fors, you should be fine. Just don't use generics, templates, new (keep everything on the stack), multi-inheritance, complex libraries, and it's a nice beginner language.

[-] firelizzard@programming.dev 1 points 1 year ago

Go is just as easy. Install the compiler, write a file, compile it, get an exe. And a lot less foot-guns.

load more comments (6 replies)
load more comments (13 replies)
load more comments (13 replies)
this post was submitted on 19 Mar 2024
1313 points (98.9% liked)

Programmer Humor

24874 readers
1139 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS