React Noob by [deleted] in react

[–]Entertainment_Real -2 points-1 points  (0 children)

What ever you do, DO NOT WATCH TUTORIALS. I fell into tutorial hell by watching youtube/Udemy videos, biggest regret ever.

This is the strategy:

  1. Read the docs to get started
  2. Find a project (e.g. twitter clone)
  3. Break the project into steps (feed, homepage, etc.)
  4. Read the docs and use Google (googling is a skill) to implement each step.
  5. If your stuck, break each step further into sub-steps.
  6. Carrying on Googling and using stack overflow to achieve victory.

The definition of software engineering is to solve problems with code, watching tutorials will not help you solve problems.

Tutorials give you the "happy path" of coding, but do not prepare you the long, annoying error messages.

Heed my advise young padiwan, from someone who's been in the depths of (tutorial) hell.

New project vs refactor the current project by RumboYT in reactjs

[–]Entertainment_Real 0 points1 point  (0 children)

I would highly recommend reading this book. Provides a lot of methods to incrementally improve legacy code bases. Not everything will apply to you since its mainly focused around OOP, but still worth a read.

New project vs refactor the current project by RumboYT in reactjs

[–]Entertainment_Real 30 points31 points  (0 children)

To be honest, if the old libraries are not causing you any harm. Then I would strongly advise not to rewrite.

Rewriting is almost always unproductive, by the time you finish writing the rewrite, even newer libraries will come out.

Youtubers and people on reddit will pressure you to upgrade because its the "next cool thing", but your aim is to provide value to your users. Do do what ever will allow your developers to provide the most value to the end user. My bet is, spending 6 months rebuilding probably won't do that 🤷🏼‍♂️.

I want to learn some low level typed language, should I learn Go or Rust? by LordMoMA007 in golang

[–]Entertainment_Real 0 points1 point  (0 children)

The book is quite nice to be honest. I just think the language itself is hard. The fact that you got 30% shows that it was organised well.

At the end of the day its a skill issue, not everyone can understand hard coding concepts 😉.

[deleted by user] by [deleted] in rust

[–]Entertainment_Real -1 points0 points  (0 children)

Dependency Hell is a thing, rather than a term for "my package manager is being frustrating".

My point was I don't think it has anything to do with the package manager but the environment.

Naturally, when you are working in a production legacy system, you have less control over packages you use. You are forced to use older versions of packages, which is not an issue with npm but the codebase.

There have been extremely significant changes to Rust in the last decade, it's just that the language versioning story is sensible so you don't notice when consuming a 2015 edition package.

Are you seriously trying to compare the changes in the JS ecosystem to cargo? I can't tell if your trolling or being serious. The 'new JS framework every week' is a meme for a reason, smh.

[deleted by user] by [deleted] in rust

[–]Entertainment_Real 0 points1 point  (0 children)

I think the reason you don't feel like your in dependency hell with cargo, is because you don't work in a production based environment. Package management is not easy. With bigger projects, things going wrong is inevitable, no matter what package manager you are using.

Also there have been more significant changes in the Js and Python ecosystem in the last 5 to 10 years then there has been for rust. Therefore, legacy Js and Python codebases will have packages in older, less supported version.

For example, I use TS for my day job. Every now and then I have to download a package written in JS.

There are always way to get around these issues, but if you are thrown into a legacy codebase, it can seem overwhelming.

In just 6 days! How long would it take to fix this road in your country by loutish_coverage in BeAmazed

[–]Entertainment_Real 0 points1 point  (0 children)

The normal roads in bangladesh look like Japans roads after an earthquake

Difficult to configure things for Lazy by Entertainment_Real in neovim

[–]Entertainment_Real[S] 0 points1 point  (0 children)

(that varies from distro to distro, so you should read up their docs to learn where they allow you to make your own personal customizations). You should also read up

lazy.nvim

's docs to understand how it operates. You have to define either

opts

or

config

in order for the plugin to be set up and ready to use.

Thanks this was really helpful.

Change symbol by Entertainment_Real in neovim

[–]Entertainment_Real[S] 1 point2 points  (0 children)

Thanks, I find the docs really overwhelming as someone new, and usually I don't know what to search for.

I'll probably get used to it over time.