this post was submitted on 19 Mar 2024
1308 points (98.9% liked)

Programmer Humor

25511 readers
1725 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] xmunk@sh.itjust.works 6 points 1 year ago (16 children)

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 (15 children)

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 15 points 1 year ago (7 children)

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.

[–] owen@lemmy.ca 6 points 1 year ago

Yeah. My intro programming classes used C and C++ and they were great for illustrating the fundamentals. Plus I think it's important to learn the building-blocks/history

load more comments (6 replies)
load more comments (13 replies)
load more comments (13 replies)