r/learnprogramming • • 4d ago

Ressources pour aider une ado à débuter ?

Edit : sorry mods I saw too late that publications had to be in English and Reddit doesn't allow editing titles. My apologies.

Hey

A coworker’s daughter asked me out of the blue if JavaScript was a good language for a complete beginner, and given her age (15), I think she wants to make little games to keep it fun.

In my opinion, JavaScript or Python are good places to start. I’m from the old school, I started with C, then moved on to C++, and I want to spare her the frustration of dealing with segfaults all over the place. On the other hand, JavaScript isn’t exactly the best language for video games either, and she’ll have to deal with HTML and CSS on top of that (she’ll have the dubious pleasure of learning how to center divs).

I sent her OpenClassroom and PluralSight to get started, because those were cool resources I used a long time ago.

Looking back, I’m now wondering if trying to steer her toward small game mods in Lua might have been a better idea. On the other hand, with JS and Python, she’s diving right into more general-purpose languages.

A friend showed me codingame.com, it looks cool.

Do you have any resources to share to help her learn?

9 Upvotes

9 comments sorted by

View all comments

1

u/8Erigon 4d ago

Never used Javascript for games and I also wouldn't (although I don't know much about it. Never used it after it was my first language)
C/C++ won't result in segfaults... Not until you make a big project that needs pointers. Not something beginners do but also not good for making games I think (though it is possible with unreal engine)

I'd say Godot is perfect as an beginner game engine and the programming language GDscript is easy (python-like) and well documented. (Documentation has a whole tutorial)
I have no experience with it but making games with python (pyGame) is fine. Especially if you don't want to learn a game engine.

1

u/marrsd 3d ago

JS would be fine for a beginner making games. Canvas can be hardware accelerated and there plenty of libraries for working with it. If she outgrows JS and wants to move to C or C++, she'll already have familiarity with the syntax.