63

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
[-] whoisearth@lemmy.ca 2 points 18 minutes ago

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.

[-] melsaskca@lemmy.ca 4 points 2 hours 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.

[-] noxypaws@pawb.social 4 points 2 hours ago

Go is easy??

[-] FizzyOrange@programming.dev 7 points 4 hours ago

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.

[-] SchwertImStein@lemmy.dbzer0.com 2 points 3 hours ago* (last edited 3 hours ago)

1 agree with everything you wrote besides the Deno?

why Deno?

[-] FizzyOrange@programming.dev 1 points 2 minutes ago

Typescript projects are a significant effort to set up with the traditional tooling (NPM & Node). With Deno you can literally just create a .ts file and run it.

[-] qaz@lemmy.world 3 points 3 hours ago* (last edited 3 hours ago)

Go seems like a good option to begin with; you can do a lot with it, and it's not that complicated but does expose you to concepts like pointers.

There are plenty of very "serious" systems written in Go (e.g. Kubernetes), it's not a toy language.

[-] jcr@jlai.lu 3 points 3 hours ago

Nothing is easy when learning programming from scratch and by yourself ; just choose whatever you feel is cool (at beginner level, it does not make a big difference).

Avoid the compilation process by using interpreted language

[-] somegeek@programming.dev 5 points 4 hours ago

Go is as serious as it gets. Go is also pretty simple and gives you great foundation and understanding.

Either go with Go (!) or with a lisp like racket, following the book https://htdp.org/ These are different approaches but will give you a huge headstart and better understanding of how to actually design a system instead of getting lost in code. I personally recommend the second approach to people who ask me.

[-] SaharaMaleikuhm@feddit.org 12 points 6 hours ago

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

[-] dogs0n@sh.itjust.works 1 points 3 hours ago

If you are learning because you are just interested in this, then I might say go with any language like C/Go where you have real datatypes you can work with.

C might be a good place to start for a little while where you can learn the fundamentals like data types, logic, etc.

Once armed with the fundamentals, you can really just go wherever you desire, look at and maybe try a few to see what you like.

[-] MonkderVierte@lemmy.zip 2 points 4 hours ago* (last edited 3 hours ago)

I don't like complex languages. Why do i have to remember x100 for thing that a proper design from start would have accomplished? Some of the larger ones even have different keywords for basically the same task duplicated.

By that note, D seems decent.

[-] MrScottyTay@sh.itjust.works 3 points 3 hours ago

Don't you mean D-ecent?

[-] spj@sh.itjust.works 2 points 5 hours ago

Modern OOP is an antipattern.

[-] MyNameIsRichard@lemmy.ml 2 points 3 hours ago* (last edited 3 hours ago)

OOP isn't an anti-pattern, but the way it's used in the enterprise Java world definitely is. And it's all based on a fundamental misunderstanding of what an interface is.

[-] Magnum@infosec.pub 3 points 4 hours ago
[-] Tja@programming.dev 2 points 3 hours ago

The fedora prevents them from typing fast enough.

[-] Sivecano@lemmy.dbzer0.com 12 points 8 hours 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)

[-] niartenyaw@midwest.social 6 points 8 hours ago

so one thing about programming languages is at the end of the day, they can all generally accomplish the same things. they are all turing complete and generally capable of expressing programs that any of the others can.

as others in this thread have said, many patterns you learn within one programming language will transfer to others. some personal context, i attended and then taught at a coding bootcamp for a year about a decade ago, saw over 300 students and have been doing software engineering since. it was full time and the students would learn ruby basics over 4 weeks and then would be able to do the same things in javascript in a few days. that said, those languages are pretty similar but i hope it makes the point.

so my main suggestion is to start with a general purpose, syntactically simple language. the less syntax and overhead in the language, the more you will be able to focus on the fundamentals of programming and less on jumping through the hoops of the language you're working with. stay away from typed languages for at least the first few months unless you really really only want to do low level stuff.

some languages i think you should consider: ruby, python, javascript. they are relatively similar for a beginner. python has more usage in data heavy scenarios due to it's extensive data libraries. ruby's whole mantra is being a joy to write. javascript is simple but that also means you don't get much help from it out of the box. consider it as a first/second language mainly if you are interested in websites.

[-] NotSteve_@lemmy.ca 3 points 9 hours ago

When I first started programming I was constantly thinking the same thing: should I learn this or that language? Will it be useful or a waste of time?, etc but it really doesn't matter. Nearly every modern language has the same core principles of variables, constants, functions and data structures. Once you've gotten the hang of those ideas then switching languages is just a matter of learning the new syntax which isn't hard when you already know how it's going to work

[-] heartSagan5@lemmy.zip 1 points 7 hours ago

Whoa, whoa. Data structures in C are not at all like in C++ or others because “data management” changes how the whole enchilada is cooked.

[-] NotSteve_@lemmy.ca 0 points 7 hours ago* (last edited 7 hours ago)

Oh yeah, I know, I just didn't feel like writing an essay nor scaring OP off from programming lol

[-] kibiz0r@midwest.social 18 points 14 hours ago

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.

[-] staircase@programming.dev 5 points 11 hours ago

well summarised

[-] Phantaminum@lemmy.zip 69 points 17 hours ago

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 18 points 17 hours ago

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

[-] Droechai@piefed.blahaj.zone 8 points 17 hours ago

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

[-] msage@programming.dev 2 points 2 hours ago

BASIC, Perl, Delphi... there are many languages you don't want to start with.

load more comments (1 replies)
[-] Zak@lemmy.world 49 points 17 hours ago

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.
[-] 0t79JeIfK01RHyzo@lemmy.ml 12 points 16 hours ago

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

source

[-] x74sys@programming.dev 8 points 15 hours ago

That’s one of the dumbest articles I‘ve ever read. Glad the author realized it themselves.

load more comments (1 replies)
load more comments (5 replies)
[-] AMillionMonkeys@lemmy.world 12 points 15 hours ago

It's not so much easy-difficult, it's high-level-low-level. Low-level languages can be easy in the sense that you don't have many entities to juggle (stacks, registers, etc.) and high-level languages can be miserable, like C++.
Of you're interested in starting with the fundamentals, go with C. If you just want to get something made, go with ~~Claude~~ Python.

[-] portifornia@piefed.social 6 points 13 hours ago

Any use? Always! Exercising your brain will never be a bad investment!

But which language really depends on why you want to learn and what you want to do with it, though! Coming at it from a 'languages with an abundance of learning resources' perspective (sorry not exhaustive):

  • You want to program devices; LEDs, microcontrollers, sensors, etc? Python!

  • You want to make a pretty website? JavaScript with the React framework!

  • You want to prototype out a monolithicly big web app quickly? Ruby on Rails!

  • You want to make infographics? R!

  • You want to start a career in Software Engineering? JavaScript with Node, Go, Rust, or C# with dot-net framework, and many more*. Also, abort, don't do this, AI is decimating the job seeking field right now.

So, it really depends on what YOU want to do with it. As others have hinted, a programming language is often just 'syntactic sugar' to accomplish the same programming concepts. Most all the modern languages can do the same things, just using different function-names/words/syntax. So as a learner, just frankly ignore all the "{X} is best at {Y}" arguments, including those above, and instead: concentrate on the concepts (like loops, recursion, associations, type control, etc, etc, etc.) over the specific language, first. Good luck OP!

[-] MonkderVierte@lemmy.zip 2 points 4 hours ago* (last edited 4 hours ago)
  • You want to make a pretty website? ~~JavaScript with the React framework!~~

Html und CSS, javascript if not otherwise possible. Please do progressive enhancement.

[-] pixeldaemon@sh.itjust.works 2 points 10 hours ago
[-] spj@sh.itjust.works 4 points 12 hours ago

I try to only write in easy language if I can. My favorite one is Lean4.

There's lots of this vs that discussion in this thread. IMO the most useful such distinction I've encountered is languages that encourage you to think about data vs languages that encourage you to think about transformations (of data). Excel and modern OOP are the former while haskell and digital signal processing are the latter.

[-] atzanteol@sh.itjust.works 20 points 17 hours ago

Go is not serious? TIL.

There is benefit in learning any language.

[-] pixeldaemon@sh.itjust.works 1 points 10 hours ago

I believe, I should've put this in quotation marks

load more comments (1 replies)
[-] insomniac_lemon@lemmy.cafe 1 points 9 hours ago* (last edited 9 hours ago)

Personally I'm in a similar situation with Nim-lang. I like the style and performance, it hits a spot for me that other languages do not*. I wouldn't call it "easy" though, as you still have to think about typing and other structure stuff (but not to the degree that you'd have to deal with for other languages). Being less popular of a language is probably the main issue here (there are many options for bindings, but you may find yourself waiting on something specific with smaller communities).

TBH I haven't used it as much as I should, having other issues. The last thing I did though (sweeper clone), I finished it and it made me feel better about my possibility of understanding complexities.

* I guess newer changes to Python and LUA might make a difference, though I still get the feeling those are not just-enable-to-be-reasonably-fast options.

[-] thingsiplay@lemmy.ml 12 points 17 hours ago

Python is designed as an easy language. Yet it is a fundemental important language in the IT, backbone of many Linux operating systems and servers. One could even say... a serious language.

I personally wouldn't care if a language is called "easy" or not. You should also look at what it is capable at its peak and where it is used most often, if it works for you. Pick the language that you think fits you the best. I wouldn't call Zig as an easy language to get into, its still low level language.

[-] tristynalxander@mander.xyz 3 points 13 hours ago

Yeah, I'd like to add that there's something to being dedicated to one language, especially if you're self taught. I could certainly cobble something together in C, but having coded in python for nearly a decade I've built up an intuition for it. I know where things fail. I know what to do when things fail. I know what packages are common. I've built up a collection of utility functions. I know common patterns. Despite never having been taught algorithms or data structures, being committed to one language has led me to learn how to write efficient code in that language (rather than hoping switching to C will magically solve bad algorithms).

My code is still weird as hell and offends professional programmers, but it'd be hard to deny that I know what I'm doing.

load more comments (4 replies)
[-] HaraldvonBlauzahn@feddit.org 11 points 16 hours ago

It us totally OK to start easy.

Scheme (for example Guile) or Racket are great beginner languages, because they have a very minimal core, and at the same time a lot of power. Created by teachers, they also have great guides.

Clojure is also a fantastic Lisp language, extremely elegant and very powerful. Its user community has many experienced programmers, and it is very friendly.

Python is probably the most popular choice for beginners. It has a nice tutorial and countless libraries, which allows to put programs together from components. But its build and packaging system is notoriously messy (though it seems improving) and can get in the way when doing more complex stuff later. Its user forums also suffer currently most from AI slop.

I wouldn't recommend Go language for beginners. It is relatively simple, true, but although it is well-geared to its main target - web applications - it has serious pitfalls with concurrency, which can lead to arcane bugs and a lot of hair-pulling.

You could also start with Rust. The language is larger than others, that's true. But you do not need to learn it all at once. Also, it has best-in-class online tutorials, books and documentation. Its compiler error messages are extremely helpful. And its build and packaging system are so much easier to use than almost anything else. This matters for beginners, too, since this allows you to put together interesting programs quickly.

[-] dogs0n@sh.itjust.works 2 points 4 hours ago

Um, I have to disagree with your points on Go/Rust. You make Rust sound like the easier language, when in reality it just isn't.

And what concurrency thing are you talking abou with Go? Goroutines/channels are pretty decent in Go.

I probably wouldn't tell anyone to learn Rust unless they truly desired it specifically for a certain task.

Rust is also harder to get into because everything you want to do requires a package, but on the other hand Go is much easier because of its expansive standard library.

[-] wewbull@feddit.uk 7 points 16 hours ago

Firstly, Zig and Go are serious. Anybody who told you different isn't a good person to learn from.

My journey was:

  • Basic (various dialects)
  • 6502 assembly
  • Forth
  • 68000 assembly
  • Pascal
  • C
  • Perl
  • C++
  • Python
  • x86 assembly
  • Java
  • Haskell
  • RISC-V assembly
  • Zig

With some others thrown in I'm sure and some hardware description languages. The stuff I learnt in Basic 45 years ago is still relevant today. I learnt something from all of them. It doesn't really matter where you start, but you have to take a first step and you need to write code to learn, even if it's just copying it. It has to go through your fingers.

[-] pixeldaemon@sh.itjust.works 1 points 10 hours ago

I remember people telling Zig was a "vibecoder" language, in the context of rewriting Bun to Rust. Yeah I know, a very odd kind of logic

load more comments
view more: next ›
this post was submitted on 05 Jun 2026
63 points (95.7% liked)

Programming

27160 readers
330 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