Is there any use in learning an "easy" programming language?
from pixeldaemon@sh.itjust.works to programming@programming.dev on 05 Jun 19:29
https://sh.itjust.works/post/61367416

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?

#programming

threaded - newest

Phantaminum@lemmy.zip on 05 Jun 19:36 next collapse

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 on 05 Jun 19:47 next collapse

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

Droechai@piefed.blahaj.zone on 05 Jun 20:11 collapse

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 on 06 Jun 11:06 collapse

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

mesamunefire@piefed.social on 05 Jun 21:00 collapse

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!

atzanteol@sh.itjust.works on 05 Jun 19:44 next collapse

Go is not serious? TIL.

There is benefit in learning any language.

thingsiplay@lemmy.ml on 05 Jun 20:28 next collapse

Depending on what he means by “serious”. I don’t know what hat means in context of languages. So, depending on his personal definition what “serious” means, Go might not be serious at all.

pixeldaemon@sh.itjust.works on 06 Jun 03:13 collapse

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

Zak@lemmy.world on 05 Jun 19:50 next collapse

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.
galaxy_nova@lemmy.world on 05 Jun 20:01 next collapse

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

mesamunefire@piefed.social on 05 Jun 20:56 collapse

My entire career is mostly 90% SQL and CRUD. To each their own!

Gonzako@lemmy.world on 06 Jun 10:51 next collapse

Same! The more I learn the more astounded I am. You mean I can retrieve 5m records in .01 seconds?

toynbee@piefed.social on 06 Jun 14:22 collapse

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.

Womble@piefed.world on 06 Jun 18:12 collapse

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.

0t79JeIfK01RHyzo@lemmy.ml on 05 Jun 20:28 next collapse

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 on 05 Jun 22:03 next collapse

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

GiorgioPerlasca@lemmy.ml on 05 Jun 22:33 collapse

So Go was meant to be something similar to Java 4. A language where it is very difficult to shoot to your feet.

Valmond@lemmy.dbzer0.com on 05 Jun 21:56 collapse

Why in your opinion do you think any person who wants to understand programming “deeply” (I’m not exactly sure what you mean with that) should learn lisp and haskell? It seems way way unnecessary.

And then you throw in SQL. Sure why not, but then why not javascript, Lua, c++, rust, PHP and a whole load of others who will teach you something unique most probably.

Corngood@lemmy.ml on 05 Jun 22:54 next collapse

Not OP but I was a pretty competent C/C++/C# programmer first. Lisp and Haskell both totally changed how I thing about programming. I’ve used all the other languages you listed and I don’t think any of them have a unique philosophy to offer, except maybe rust for the memory model.

Lisp teaches you how flexible programming languages should be. Haskell teaches you about things like higher kinded types, and exposes you to loads of cool category theory stuff. Other languages can probably accomplish these goals, but I don’t think any of the alternatives you listed could.

Valmond@lemmy.dbzer0.com on 06 Jun 12:33 collapse

Flexibility? Have you tried c++ 😁, check out template meta programming, and voilà rusts static memory management and compile time error checking in c++.

What I want to say is you don’t need this or that language to grasp functionality, and IMO heskel and lisp probably have more interesting and modern counterparts, if you feel the need.

Edit, forgot you’re not OP so my answer is potentially a bit wonky, sorry about that.

Zak@lemmy.world on 06 Jun 13:59 collapse

Some people want to learn programming to get a job, though perhaps not as many in 2026. Some people want to do a project that happens to requiring programming. Some actually want to understand programming and get good at it. The last group will benefit from learning Lisp and Haskell even if they don’t end up using those languages much. I thought my first comment explained why and I think Corngood elaborated on it, but I’ll add more.

The reason to use programming languages instead of machine/assembly languages is that they add abstractions, and allow the programmer to add more abstractions. An abstraction is a name and implementation for a repeated pattern in code, which documents the programmer’s intent when it is used, allows all invocations to be modified in one place, and substantially shortens programs. In most languages, there’s a distinction between abstractions the language designer can add and those the programmer can; in Lisp, there is not.

If most languages didn’t have if or class, you couldn’t add them in a library; you’d have to modify the interpreter or compiler. Here’s if defined in a Lisp-like language I’m working on:

(defmacro if (test then else)
  `(cond ~test ~then true ~else))

This is possible because Lisp code is made of Lisp data structures which it can easily manipulate, and because it has the ability to control when evaluation occurs. Here, we need to splice three blocks of code into a cond expression, which is a more generalized form of conditional evaluation that takes an unlimited number of test/then pairs. We must also prevent the premature evaluation of the branch not chosen, which is why if and cond can’t be regular functions. In Common Lisp, the entire object system can be implemented as a library.

Haskell and similar languages also offer significant power for abstraction with its sophisticated type system and lazy evaluation, but the more important lesson they can teach is the gurantees they can make at compile time. Once a Haskell program compiles, it has a much greater chance to work as expected than any other language I’ve used.

SQL teaches thinking in data. Most programs exist to store and manipulate data, so that’s pretty relevant.

Valmond@lemmy.dbzer0.com on 06 Jun 16:30 collapse

Sure, but many languages do that, see my answer below. I just personally wouldn’t recommend either lisp or haskell to someone learning how to program. There are more modern and better ways, IMO.

JohnnyCanuck@lemmy.ca on 05 Jun 19:51 next collapse

Go is great to learn on. Go for it. And it’s super useful for web dev.

CompactFlax@discuss.tchncs.de on 05 Jun 20:05 next collapse

Leant how to solve problems with if, else if, else and for and while, and you can do a ton of stuff. Learn how to work with objects and APIs and you’ve got the basics for any language. You will always need to learn syntax, convention, and secure practices, but the fundamentals don’t change.

HelloRoot@lemy.lol on 05 Jun 20:07 next collapse

Doing anything with your brain will always increase it’s aptitude in that “topic”.

People that learn lots of human languages become better and better at learnig further human languages.

People that do one type of math get better at learning other types of math.

People that do something with their body coordination (athletes) can pick up other types of body coordination (other sports or dance for example.) faster compared to couch potatoes.

etc.

So doing anything with your brain is already useful, even as just a “workout”.

thingsiplay@lemmy.ml on 05 Jun 20:25 next collapse

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.

ThirdConsul@lemmy.zip on 05 Jun 21:01 next collapse

backbone of many Linux operating systems and servers

???

'Scuse me, hwat?

dastanktal@lemmygrad.ml on 05 Jun 22:50 next collapse

Did you not know that several package managers like DNF/yum are written in python? There’s a ton of tools like that for each os and a lot of the time Python is the tool of choice.

ThirdConsul@lemmy.zip on 06 Jun 03:01 collapse

Dnf5 is written in C++

My point is that I wouldn’t call it a backbone. There are always alternatives in different languages, and python version is oft not the default or main one. C(++) is the backbone of Linux.

Except Fedora I think, iirc they use python packages often.

chunes@lemmy.world on 06 Jun 06:14 collapse

Try uninstalling Python from Ubuntu and see what happens. (Do NOT actually try this.)

thingsiplay@lemmy.ml on 06 Jun 15:11 collapse

I need to test this with multiple distributions in a virtual machine, out of curiosity. Then test executing common tasks. Could be an idea for a blog post or YouTube video…

tristynalxander@mander.xyz on 06 Jun 00:04 collapse

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.

HaraldvonBlauzahn@feddit.org on 05 Jun 20:33 next collapse

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 on 06 Jun 09:20 collapse

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.

rostselmasch@lemmygrad.ml on 05 Jun 20:34 next collapse

Why is Go not a serious language? Programming backend stuff is great with it. Especially networking. Reading Go is not hard and in my opinion it is more easy to understand Go code you find from other programmers than Python. Companies are build on Go and people make a living from it. However you need to look into you local job market, where I live there are very few companies looking for Go developers. It is a serious language. But I don’t know much about zig, I used it once for CGO.

wewbull@feddit.uk on 05 Jun 20:46 next collapse

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 on 06 Jun 03:16 collapse

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

Womble@piefed.world on 06 Jun 18:15 collapse

Whoever told you that really doesn’t know what they are talking about. Zig has a (IMO too strict) policy of no LLMs in any way to be used for it in an official capacity.

Hoohoo@fedia.io on 05 Jun 20:48 next collapse

I don't think your plan to get more serious is pointed at the right end or means.

You don't point criticism at programming languages necessarily. Because, later you'll want to find an ecosystem best suited to achieve a specific task.

If a later task becomes a serious consideration, then you'll seriously consider the best placed language to complete that task. Consequent language quibbles might be path of the course.

For example, working on Android is only going to be effective through a handful of languages such as Java, Kotlin, C#, JavaScript, …

Breaking new ground with another language pointed at Android would be like climbing Mt Everest without all the usual equipment. Sure it's a challenge, but is it the challenge you want?

Learn any language that helps you learn, but that's only as a means to that (learning) end.

hendrik@palaver.p3x.de on 05 Jun 21:04 next collapse

Lmao. First, everyone is right. Go is serious. An Zig as well. And a bit niche.

Furthermore: Yes. Unless you like learning curves as steep as a brick wall… You should probably start with something beginner friendly.

And you should get some kind of book to learn it. That’s easier and faster than poking around and learning things in random order.

As an adult, just skip the programming languages made for children. And skip the crazy ones like PHP. Go for something that is both useful and doesn’t come with 5 bazillion things to learn at once, and as many exceptions to those rules.

AMillionMonkeys@lemmy.world on 05 Jun 22:13 next collapse

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.

kibiz0r@midwest.social on 05 Jun 23:19 next collapse

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 on 06 Jun 01:51 collapse

well summarised

portifornia@piefed.social on 06 Jun 00:20 next collapse

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!

pixeldaemon@sh.itjust.works on 06 Jun 03:00 next collapse

Thank you!

MonkderVierte@lemmy.zip on 06 Jun 08:39 collapse
  • You want to make a pretty website? JavaScript with the React framework!

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

spj@sh.itjust.works on 06 Jun 01:05 next collapse

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.

NotSteve_@lemmy.ca on 06 Jun 04:00 next collapse

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 on 06 Jun 06:03 collapse

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 on 06 Jun 06:06 collapse

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

insomniac_lemon@lemmy.cafe on 06 Jun 04:04 next collapse

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.

niartenyaw@midwest.social on 06 Jun 04:43 next collapse

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.

Sivecano@lemmy.dbzer0.com on 06 Jun 04:57 next collapse

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)

SaharaMaleikuhm@feddit.org on 06 Jun 06:37 next collapse

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

spj@sh.itjust.works on 06 Jun 08:10 next collapse

Modern OOP is an antipattern.

Magnum@infosec.pub on 06 Jun 08:34 next collapse

Elaborate

Tja@programming.dev on 06 Jun 09:50 next collapse

The fedora prevents them from typing fast enough.

floquant@lemmy.dbzer0.com on 06 Jun 14:53 collapse

Probably a cat-v reader

Magnum@infosec.pub on 06 Jun 16:23 collapse

When was that published?

floquant@lemmy.dbzer0.com on 06 Jun 18:07 collapse

cat-v is a weird corner of the internet, don’t try to read it as a contemporary serious opinion piece. See harmful.cat-v.org/software/

MyNameIsRichard@lemmy.ml on 06 Jun 09:48 collapse

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.

MonkderVierte@lemmy.zip on 06 Jun 08:36 next collapse

I don’t like complex languages. Why do i have to remember <keyword> 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 on 06 Jun 10:02 collapse

Don’t you mean D-ecent?

somegeek@programming.dev on 06 Jun 09:05 next collapse

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 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.

FizzyOrange@programming.dev on 06 Jun 09:23 next collapse

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 on 06 Jun 09:44 collapse

1 agree with everything you wrote besides the Deno?

why Deno?

FizzyOrange@programming.dev on 06 Jun 13:23 collapse

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.

SchwertImStein@lemmy.dbzer0.com on 06 Jun 15:06 collapse

do you think it better than bun? (the anthropic acquisition and rust rewrite aside)

dogs0n@sh.itjust.works on 06 Jun 09:28 next collapse

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.

jcr@jlai.lu on 06 Jun 10:06 next collapse

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

qaz@lemmy.world on 06 Jun 10:15 next collapse

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.

noxypaws@pawb.social on 06 Jun 10:53 next collapse

Go is easy??

Modern_medicine_isnt@lemmy.world on 06 Jun 15:58 collapse

Right… I’ve been “programming” for 20+ years (though not as a developer). Something about golang just won’t click in head. May e it would be easier without the years of perl, tcl, and python. But I am sure it ain’t no “easy” language.

melsaskca@lemmy.ca on 06 Jun 11:16 next collapse

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.

whoisearth@lemmy.ca on 06 Jun 13:07 next collapse

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.

namingthingsiseasy@programming.dev on 06 Jun 13:32 next collapse

It takes a long time to learn how to code (5-10 years I would say), and learning multiple languages will only make you a better programmer. Besides, you’re just starting out and have no idea how far you’re going to get… I personally failed the first few times I tried and didn’t really catch on until I was in university. Start with something easy, maybe learn something useful, then try a harder one. Starting with a harder language just increases the probability that you find it too hard and give up. And plenty of people start with easy languages and still fail anyway, so don’t take success for granted, even with an “easy” language.

In any case, code is just a tool to get a job done, so I would say start with finding a job that you want to do and then learn the coding you need to accomplish it. I personally learned how to code by using Python instead of a calculator for my science and engineering assignments in university. Besides that, it’s a great language for general purpose tasks on Linux/UNIX systems - you can use it for file sharing, task automation, writing chatbots, etc.

Writing games is another good source of motivation - you could use Pygame in Python, which has lots of tutorials that you could play around with. There’s also Godot too - you could just start by following the tutorial and playing around with some of the scripts to see what they do.

atopi@piefed.blahaj.zone on 06 Jun 14:03 next collapse

no. You must start with malboge

LordCrom@lemmy.world on 06 Jun 17:24 collapse

True evil

sexual_tomato@lemmy.dbzer0.com on 06 Jun 14:45 next collapse

I learned with python and switched to rust when that started to piss me off. It’ll be awhile until you know enough about why you want a different language for a task. Until then, python and JavaScript are totally fine; you may never even need to leave those ecosystems depending on what you want to do.

cbazero@programming.dev on 06 Jun 14:48 next collapse

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?

pixeldaemon@sh.itjust.works on 06 Jun 16:32 collapse

When I say “serious” I mean something widely used and expected on the labor market, like C++ or Java. I don’t really know the world of programming very well, so I may misjudge some languages for being not serious easily. Particularly with Zig, I heard it being called a “vibecoder language”

andicraft@lemmy.blahaj.zone on 06 Jun 15:10 next collapse

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

Kissaki@programming.dev on 06 Jun 15:45 next collapse

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.

TrippinMallard@lemmy.ml on 06 Jun 17:24 next collapse

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.

AllHailTheSheep@sh.itjust.works on 06 Jun 18:18 collapse

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.