this post was submitted on 05 Jun 2026
100 points (96.3% liked)

Programming

27195 readers
375 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 3 years ago
MODERATORS
 

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?

top 50 comments
sorted by: hot top controversial new old
[–] HeHoXa@lemmy.zip 2 points 16 hours ago

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.

[–] Amberskin@europe.pub 4 points 22 hours ago

I don’t know about zig, but go is absolutely serious.

[–] olafurp@lemmy.world 12 points 1 day ago

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.

[–] WolfLink@sh.itjust.works 5 points 1 day ago

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.

[–] nettle@mander.xyz 5 points 1 day ago* (last edited 1 day ago)

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.

[–] themachinestops@lemmy.dbzer0.com 4 points 1 day ago* (last edited 1 day ago)

Exactly don't start with easy languages you should start with the best programming language HolyC, the divine language.

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.

[–] cley_faye@lemmy.world 2 points 1 day ago

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.

[–] tomjuggler@lemmy.world 2 points 1 day ago

I would suggest a different approach. Think about what you want to achieve with programming. Look at the languages which can be used to do this task. Choose one and try some tutorials, I recommend freecodecamp it helped me a lot.

I can't really comment on zig and go but I think they are pretty serious languages tbh.

[–] Kissaki@programming.dev 17 points 2 days ago

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.

[–] andicraft@lemmy.blahaj.zone 17 points 2 days ago

crazy to call zig, a low level systems language, an "easy" language

[–] boonhet@sopuli.xyz 7 points 1 day ago

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.

[–] embed_me@programming.dev 5 points 1 day ago (1 children)
[–] adhdsergio@lemmy.world 1 points 1 day ago

Or Pascal - back in my day it was believed it's close to natural language

[–] atopi@piefed.blahaj.zone 16 points 2 days ago (1 children)

no. You must start with malboge

[–] LordCrom@lemmy.world 3 points 2 days ago
[–] Juice@midwest.social 9 points 1 day ago

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.

Where did you get the idea that Zig is an "easy" language?

[–] Phantaminum@lemmy.zip 96 points 2 days ago (2 children)

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!

[–] Mihies@programming.dev 26 points 2 days ago (3 children)

The big parts are philosophy and libraries, learning a language is relatively easy.

load more comments (3 replies)
load more comments (1 replies)
[–] Zak@lemmy.world 64 points 2 days ago (15 children)

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.
load more comments (15 replies)
[–] SaharaMaleikuhm@feddit.org 20 points 2 days ago

Python is one of the most-widely used languages in the world.

[–] FizzyOrange@programming.dev 11 points 2 days ago (7 children)

Zig and Go are serious. I think Python would be a language that isn't serious (despite it's widespread use in serious applications) but has a reputation for being easy. I don't know if that reputation is really deserved.

Anyway I would start with one of Python, Go or Typescript (via Deno). I would avoid Rust, Haskell, OCaml, C++ as your very first language, but they could be your second.

Whatever you do don't learn Python and stop there. That's the way to be a crap programmer. And if you do use Python learn to use type hints early on.

load more comments (7 replies)
[–] Sivecano@lemmy.dbzer0.com 15 points 2 days ago

Zig or go are not that unserious of languages. Zig is arguably quite hard due to being pretty low-level. Maybe think about what domain you want to do programming in.. Python might be a decent starting point tho (easy language, no memory management)

[–] melsaskca@lemmy.ca 8 points 2 days ago

Logic is common to all programming languages. Everything else is syntax and knowing what functions or utilities you can capitalize on. No matter how complex things seem under the hood it's only one instruction at a time that is being processed. Speed and memory make it seem like multitasking. It's as simple as "If this, then that". Once you get the foundations of logic down, you're good to go. Everything else is experience and time takes care of that. Good luck and have fun. As far as confidence goes my mantra throughout life, especially when faced with complex situations is a derisive "How hard can this be?", while plodding forward.

[–] kibiz0r@midwest.social 22 points 2 days ago (1 children)

The trouble with “easy” languages is that they allow you to write incorrect code without much pushback.

The trouble with “serious” languages is that they push back even when you’re writing correct code.

There’s plenty to learn from either route. Just pick something that piques your interest and dive in.

load more comments (1 replies)
[–] whoisearth@lemmy.ca 6 points 2 days ago (2 children)

Any language is good to start with. When you learn a language pick one that makes sense to you. The main thing you are learning is not the language it's how to change how you think about problems. From there the differences between languages are technical and any language can be conquered in time except JavaScript because fuck JavaScript.

[–] tomjuggler@lemmy.world 2 points 1 day ago

100% agree about JS but it's hard to avoid.

[–] MimicJar@lemmy.world 3 points 1 day ago

I agree 100%. The hardest part when it comes to learning programming in learning how to break problems down into simple little if statements and loops. Once you get a solid handle on any one language, jumping to another is much easier. So pick whatever you're most comfortable with, or whatever tutorial/learning you find best.

[–] atzanteol@sh.itjust.works 28 points 2 days ago (2 children)

Go is not serious? TIL.

There is benefit in learning any language.

load more comments (2 replies)
[–] cbazero@programming.dev 5 points 2 days ago (3 children)

Zig or Go are serious programming languages. Zig is actually the language I would least recommend for complete beginners because in my opinion it is one the most serious languages currently. What lead you to your examples Zig and Go and how do you determine what a 'serious' programming language is?

load more comments (3 replies)

I get paid a whole lot to work solely in Deluge. which is the most painfully simple language ever. you want a join() built in? fuck you. sleep()? not allowed. you want a "for i in range()"? nope, they don't do that here.

simple languages are often the most used in production unless you're doing something highly specific that warrants a specific language.

[–] TrippinMallard@lemmy.ml 3 points 2 days ago* (last edited 2 days ago)

Programming is a tool. Systems understanding is what has value. Pick a system you want to learn and actively build and fail consistently.

Repeated exposure to reality is the way to learn fast and gain confidence.

load more comments
view more: next ›