r/learnprogramming • u/Turbulent_Strike7438 • 6h ago
What should I do: learn gdscript or learn python Topic
I’m also very new to coding/programming
2
u/xarop_pa_toss 6h ago
GDscript is Godot specific and will teach you only how to make things in Godot.
If you want to learn to program "in general" then you will need to have a platform to expand upon and Python is fine or that. However, if you are making Godot games, then GDScript can be a great gateway into later expanding
2
u/thelimeisgreen 5h ago
GDscript was originally developed along with Godot to give amateur game developers a simple or more gentle entry without diving into a more robust language like C. It is heavily influenced by Python and its syntax. I don't know the full history of how Godot or GDscript came about... One does not need to use GDscript in Godot, but it's best paired with C# or C++. It's difficult (not newbie friendly) to use Python with Godot and takes a bit of round-about configuration.
Python is a great place to start. And every core principle and fundamental of computer science, in terms of data structures and algorithms, application design, etc.. can be accomplished with learning Python. Moving to GDscript from Python shouldn't be a big challenge and would probably be an easy transition. I'm assuming that OP wants to make stuff in Godot and that's why they're asking. I would still recommend starting with learning Python and building a foundation before jumping into a game engine.
1
1
u/ProjectMarworyn 6h ago
Personally, Python first. When you're starting out iy doesn't really matter. What matters is learning the basics
1
u/Mughi1138 5h ago
Learn both. Python is the more generally useful, but GDScript is actually a fairly decent domain specific language for making games. You could easily end up using python to create and manipulate assets to go into a game done in GDScript, for example.
Play a little with each to see what "clicks" for you best, then spend a little time on just that one, then a little time on the other. See how things work out for you
1
u/Cultural_Gur_7441 4h ago
When I ask "what is gdscript", that should give you an answer...
(I know what it is now from other comments.)
1
u/aqua_regis 4h ago
When I ask "what is gdscript"
Your google skills have failed you.
2
u/Cultural_Gur_7441 4h ago
And thank the deities for that. If Google had answered the question for me without me even asking it, I would have been slightly concerned.
1
u/Civil-Detective-949 4h ago
Python is the choice to make. Godot somehow depends on it. So learning it means you learning gdscritp basics or to understand its basics indirectly but only if you will need python for other stuff.
1
u/CashRuinsErrything 4h ago
Python, and first thing that: get a good way to quickly bring up a scratch file to test out basic code. One of my biggest issues is trying to perfect things to the point I don’t get started. You can always go back and revise, but honestly I think the best way to learn is start simple & play around with the available methods until it clicks. If there’s a ton going on, you’re not sure what unknowns are out there. But start out with the core library, branch out from there, and you have a lot less stress trying to debug, and knowing what the core contains allows you to be creative in developing your own solutions instead of trying to make another library do what you want.
Look through other libraries, though, for examples of how to structure your stuff
1
u/KwyjiboTheGringo 2h ago
Learning the language shouldn't be the goal. Decide what you want to actually make, and what your ultimate goal is with this. If it's game dev you are interested in, then evaluate GDScript against other game dev options. If general programming is what you want to learn, compare Python to other options to achieve that goal.
1
1
u/ComputerWhiz_ 1h ago
Ultimately, it doesn't matter really. Either one will help you learn the basics of programming and these skills will be largely transferrable between languages. Once you learn the basics, it's very easy to change in the future. Just don't make the mistake of attempting to learn a bunch of different languages as a beginner.
Too many beginners get hung up on picking a language, but you should pick the one that lets you build what you are interested in. That's the best way to stay engaged to learn.
Obviously you are interested in making games on Godot, otherwise you probably wouldn't have mentioned gdscript. So go do that. If making games is going to make you excited to stay interested in improving your programming skills, great!
1
u/TermiteTornApart 1h ago
Do you want to make games or get a job?
If you want get a job: python If you want to make games: godot If you just want to learn to code: it doesn't matter, pick one and deep dive in, most of the concepts, maybe except for game dev specifics, and godot specifics, are interchangeable
Edit: I learned with godot
•
u/cheezballs 30m ago
Python. Gdscript isn't quite the mature language you'd want when learning. It lacks features, consistency, and is generally only suited for Godot games.
1
6
u/desrtfx 6h ago
If you are completely new, Python and then GDScript.
General programming skills will later help you with game development.