r/learnprogramming • u/Willing_Designer_105 • 21d ago
Tutorial Understanding Goose
So theres a new language called goose on github:
https://github.com/aardappel/goose/blob/master/docs/tutorial.md
I am a beginner at coding ( not absolute but neither "cleared-basics" ), i've did learnt C++ including its functions like operators, conditional statements, loops, switches and other very basic stuff. I came across this language called "Goose" which is known to be faster than Rust and it seems easier to learn than C++, since its very new theres no proper tutorial for beginner to go learn it, its github's tutorial also seems to expect you to be somewhat experienced with C++, So it would be great if any of you help a beginner like me by simplifying and making understanding goose's functions easier, i only want yall to teach me basic concepts like variables ( optional ), loops, functions, and conditional statements, arrays and others.
The function im currently stuck at is guard, ive already have done if/else statements, variables, matches. Yall can still write down for the completed ones to help people who want a beginner-friendly tutorial as well.
Thank you.
11
u/Confused-Armpit 21d ago
I would not recommend seriously investing into a language, no matter how attractive it is, if it is not reasonably widely adopted. You can as a hobby or for regular recreational programming, but I would not do that if my goal was learning programming for a future career.
1
u/blavek 16d ago edited 16d ago
So you want us to go figure out the esolang and then explain it to you? Why would we do that when you can keep learning C++ and get the experience you need in order to decipher that language yourself? Based on your other comments, you are interested in learning related to computers and game design. Well, for the first, C++ still has you doing learning related to computers, whatever that means. And second, it's very, very, very unlikely you would see this language in game design anytime soon.
You're a beginner. Stick with one language for now and learn what you can out of it before you start branching off into weirdness. C++ will translate well to A LOT of other languages; it is already used in Unreal and is syntactically pretty similar to C # used in Godot and Unity.
If you want to, for some reason, create your own game engine, you're not going to be writing it in goose. You'd probably build a good portion of it with C++. Although I would strongly advise against writing your own game engine. Beginners should learn in already established languages with a lot of resources available for help and learning. Otherwise, you will be smashing your head against a wall over and over for probably limited progress.
ETA: This language looks like it was designed to solve a specific problem someone has. Its unclear to me at the moment if the memory/data management is better or worse than the c++ implementation. But more importantly, this language is "compiled" into C, and then the C is compiled into the executable. It's sort of sitting on top of C. The point is, at the end of the day, you're still getting C code out of the experience, and this is a layer of abstraction that is not necessary to learn programming.