Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.
Mine is that the useState hook is an actual plague on the entire React ecosystem. Regardless of your opinions of React, if you wanna use something then use it right.
What is usually the suggested “easiest” to learn language? I’ve always wanted to code well since I was a young kid and recently oldest kid accidentally got me into playing around with LLM and it orchestrated a few little stupid projects that were just basically to make open code more customized most of the time. I’d really like to actually do it myself and know what was going on better. Any suggestions on where to start? Should I just try diving into rust? I know that’s what my oldest son actually uses himself, although I guess he does outsource a little of his stuff to it at LLM but… I’d love to learn a language so I can do more than just a hello world in. Although maybe I should finish learning how to actually type better first lol
There is no best way to start. Start with what is fun and chase what is fun. A lot of very bad advice is given about supposed ways to start learning programming that can poison your experience (like people say garbage collected languages are bad because you won’t “appreciate” manual memory management), but that’s all bullshit. Learning any language will make you better at learning other languages.
I started with Java, I think it’s fine for starting. I think Python is a great way to start because there’s a bunch of content for getting started with it. But ultimately, start with whatever you find fun enough to keep you interested and pushing through.
Honestly if you’re starting from scratch, I’d say learn rust. It’s not that hard if it’s your first language because you don’t have to unlearn stuffs from other languages. Plus the compilation errors will really teach you what you did wrong how to fix things. And using clippy, it’ll tell you how to do things better and remove redundancies.
C is easy to learn in terms of syntax, but it’s hard to write correct code as the program gets more complex. Python is easy to write but doesn’t teach you much. I find rust as easy to write as python, but c like speed.
I learned it by doing small bash and python scripts first, then moved on to base C.
So i think id start with python. But difficulty is hard to ascertain tbh. You could also just start in the language you think youre gonna use. Doing a good ol hello world program in it is always a good prelim fit test. If the process seems fairly intuitive, move on to the next program.
Theres probably two big hands on ways of learning it. One is just writing your own tools when you need em for the practice of it, the other being following a structured course, where you get little assignments of increasing complexity, classic classroom style.
And all of this probably underlines the main point beautifully. The easiest language to learn is the one you find fun enough to keep practicing with. Because its the ongoing practice thats the real gold.
So how does one even start? Is there like a web page to download python shit? Or is this just shit that’s naturally built into my system and I should just know already?. I’m using Fedora 44 I think if that helps
Absolute easiest to start would be a Google collab notebook. Runs in the browser, don’t have to manage packages.
Running it locally, you should a tool like pyenv or conda to avoid changing your system python packages.
yeah im p sure you install python or python3 via the fedora package manager to start. Then you create a script, foo.py or something. In there you put the actual code. When that looks good, you can run it by going >python3 /path/to/foo.py
additional libs can be a bit of headache with python specifically, but most use the helper tool pip, which can also be installed through the package manager
if im off on anything here lmk, working from inference and memory as im maining nixos atm, where the install process is a bit different :P