I have been thinking of learning some programming recently, but I don’t feel confident enough. Is there any point in beginning with something like Zig or Go, and switching to something more serious later?
My personal 2 bits: start with JavaScript.
You can run it in your browser console and get at least a little but of benefit from it no matter how far you go, scripting on web pages you use regularly.
Thanks to Node, you can reasonably build full stack systems with it. Fair warning, it’s really best for I/O, so it’s not really ideal for genuinely logically complex stuff.
You’ll more quickly get to bigger tangible benefits connecting things that have already been built anyway.
Python as a starter otherwise, which is suitable for that genuinely logically complex stuff.
Is this bait? Zig and Go are very much serious, especially Zig.
Generally python/Javascript is good for learning the basics. To know how types work learn c#/java/go. To learn how the memory works Zig/C are good. To learn about what a fully defined behavior means in a program you learn Rust. To learn what actually happens on the processor you learn assembly.
Honestly, if you’re hyped about Zig go for it, although I’d suggest “warming up” by doing a tic tac toe in python.
Yes 99% of programming is the higher level thought process behind making a program, and that skill transfers between programming languages. The specific syntax doesn’t matter that much.
If Zig is easy than that means C is easy (as Zig is pretty much nicer written C) and if C is easy than, oh wait everything is written in C. I guess the only thing left to do is learn an unnecessary overcomplicated abstraction of C like java or C++.
As for the question, pick a task than pick a language, servers? Go seems to be replacing Java for the next generation, Games? Zig C# Odin C C++ Lua, Rewrites? Rust. Random small scripts? Python. Bare metal? C C++ Zig.
Also Zig Odin and Go are all C like languages if you learn one you learn about them all (with the exception of manual memory management for Go). My biased self recommend Zig as I think its the nicest, you almost certainly won’t get a job in it but the skills will transfer directly to C or Go where you can get jobs.
I don’t know about zig, but go is absolutely serious.
Learing the bases of programming is language agnostic really. You can start even with pseudo code, then learn the language you will like to work with. Just choose any language that seems fun and enjoy the process.
Good luck!
The big parts are philosophy and libraries, learning a language is relatively easy.
Avoid BASIC though, never had much use of the hours I spent on it as a preteen.
I did learn alot of useful stuff when I was playind around with arduinos, and since then the market of fun microcontrollers have expandes quite a bit. Its great to see your code immediatly change stuff in the real world even if its just a basic display connected to a thermometer
Arduino programming is basically C++ with helpers so yeah you learn a lot!!
BASIC, Perl, Delphi… there are many languages you don’t want to start with.
Yep the thing is to learn at least one, then its VERY easy to jump into another (usually). The simple things such as loops, functions, classes, etc…etc… are all about the same nowadays. Its more about what you are trying to do rather than the language you find yourself using.
If I had to do it again, I would try out either python (for a on computer solution), javascript for web stuff, or C/C++ if you want to go crazy and learn low level stuff. Go/Rust is fine too. Any language is ok really. Just try it out and see what you like!
Anything is better than nothing.
Go and Zig are serious languages. Go is especially established and has a big ecosystem and capabilities. You could stick with Go forever if you don’t want to expand afterwards.
Starting ‘simpler’ is better because it gives you successes. It keeps you going.
crazy to call zig, a low level systems language, an “easy” language
I question the suggestion that Zig and Go are not “serious” programming languages. They certainly weren’t designed to be “easy” beginner languages.
I don’t think it matters a whole lot which language you start with. Learning to program is largely separate from learning a particular language, and if you do programming for a while, you’ll probably learn several. I do think someone who wants to understand programming deeply should learn each of:
- A lisp, probably Racket, but others will do. This teaches a lot about how computation works, and is at least a local maximum for abstractive power.
- C, an assembly language, or something similar where the developer must manage memory manually and has the ability to mismanage it. This teaches how computers work.
- A statically typed functional language, probably Haskell. This makes programming more math-like and probably represents a local maximum for what can be proven about a program’s behavior without solving the halting problem.
- SQL. I wish there was something prettier with a modicum of popularity that does what it does (PRQL is my favorite recent attempt), but there isn’t. This teaches thinking about data in sets and relations, and you will almost certainly use it in practice.
The creator of Go has an infamous quote on the language.
The key point here is our programmers are Googlers, they’re not researchers. They’re typically, fairly young, fresh out of school, probably learned Java, maybe learned C or C++, probably learned Python. They’re not capable of understanding a brilliant language but we want to use them to build good software. So, the language that we give them has to be easy for them to understand and easy to adopt. – Rob Pike
That’s one of the dumbest articles I‘ve ever read. Glad the author realized it themselves.
So Go was meant to be something similar to Java 4. A language where it is very difficult to shoot to your feet.
I really hate SQL it often feels like you have to work backwards instead of procedurally when you get anything complex going. Thank goodness I mostly work in pyspark.
Edit: Also thanks for the shout to prql looks cool might try it in a personal project or something
My entire career is mostly 90% SQL and CRUD. To each their own!
CRUD
When I was growing up the most advanced console to which I had access was the Genesis (or Master System, if you prefer). On it, by far the game I played the most was Ultimate Mortal Kombat 3. (I liked Tobias Boon - sorry - Noob Saibot).
For that game, you could unlock debug mode by pressing b, a, down, left, a, down, c, right, up, down. BADLADCRUD. I don’t know what CRUD is in the context in which you were commenting, but it reminded me of this.
It stands for Create, Read, Update, Delete. Those are the primary operations on a database and a crud app refers to one which is little more than a front end to a database.
That sounds like a RESTful API.
Regardless, TIL. Thanks!
Same! The more I learn the more astounded I am. You mean I can retrieve 5m records in .01 seconds?
no. You must start with malboge
True evil
I don’t think most languages you’ll encounter in the wild are too “easy”.
Universities here start you off with Python in the first semester because it’s easy for beginners to grasp. That doesn’t mean it’s not “serious” though, the whole AI/ML/Big Data ecosystem is ALL Python, largely because there are excellent data processing libraries for Python and stuff like PyTorch for offloading work to the GPU.
Just don’t try to use Powerpoint for programming, it’s possible but you’ll go mad.
I found it easier to start with something considered medium difficulty, because “easy” languages abstract away a lot of problems of programming. So when certain problems arise, its hard to understand what is happening behind the scenes.
If you want to build something, python is great. If you wanna learn programming, it might be confusing.
It’s…sort of not a question of easy vs hard. Why would anyone make a hard programming language?
It’s more about picking a language that is suitable for what you want to do with it.
Why would anyone make a hard programming language?
INTERCAL has entered the chat:
INTERCAL’s main advantage over other programming languages is its strict simplicity. It has few capabilities, and thus there are few restrictions to be kept in mind. […]
Any relation to Brainfuck?
A lot of basic principles remain the same from one language to another. Some have more features than other, some have slightly obtuse grammar, but as long as you stay in the same class of programming language, it can be a good learning experience. Learning from “simple” languages and building up was the way to go for a long while.
I’m not sure I’d call Zig or Go “easy” programming language though. Most languages you’ll hear about these days are quite high level (even C++ and C got there over time). These days, I’m not sure where one would start from scratch. “scripting” languages are a good idea, since they are extremely easy to experiment with, and unless you start poking too much can’t do any harm.
But basically, if you stay with imperative programming (most used languages are like this) 80-90% of the knowledge you’ll get in one translate into another; there’s no bad way to start.
Where did you get the idea that Zig is an “easy” language?









