21
cwkjwok
2y

Note to self:

Don’t use npm, use yarn!
Don’t use npm, use yarn!
Don’t use npm, use yarn!

Don’t use what??👂
Npm! Use yarn!

Well done!! Now repeat this 5 times a day.

Comments
  • 5
    NPM is one of the worst things I’ve worked with, ever.
  • 3
    Meh 🤷‍♂️ it doesn’t matter too much to me anymore
  • 5
    Composer... Make back-end truly back-end again.
  • 3
    @theKarlisK you can download the yarn installation file on GitHub or use Chocolatey if you want to go that route.
  • 3
    @Ceren chocolatey is one of the best things ever invented
  • 5
    don't use anything related to the JS space.
  • 3
    When you treat the symptoms instead of the actual cause...
  • 2
    @Oktokolo OK Dr, all ears?
  • 3
    @Ceren The real problem is the eco system and needlessly quirky language...

    Switch language.
  • 1
    @Oktokolo @tosensei thanks for the advice. You gotta do what you gotta do eh? Can’t be a diva all the time
  • 4
    @Ceren Depends. It isn't like nodejs has won the language competition. There are still multiple backend languages - and some of them are less insane than others.

    But while you stay in the pit, treating the symptoms might actually work good enough too. Try TypeScript for reducing the pain induced by missing type safety.
  • 3
    @Oktokolo I do not find the language to be as quirky as a lot of you make it out to be, all languages have quirks and weird shit, software is *not* sane.

    What I do find is people doing fucky shit with it, but even then I have seen worse (professionally) in other places.
  • 0
    use pnpm 😎
  • 0
    people who still think yarn is superior live in somewhere around 2014
  • 1
    @fullstackclown it’s not superiority. It’s comparison if your comment is based on my rant. If not good info thanks
  • 2
    This rant made me yarn all over the desk...
  • 0
    @green-portal I had to fix a website npm created loads of frustration with many errors and wasted time. When I used yarn instead, it deployed straight away. The same thing happened before more than once.
  • 1
    @AleCx04 I love typescript. Never had any issues with it, and it supports interfaces. I’m not going back to regular JS
  • 0
    I don’t care and I dislike adding tools you don’t strictly need.
  • 3
    @TeachMeCode same, at first I thought I was just biased because Anders is behind TypeScript, and I am a big fan of his work(Turbo Pascal, C#) but no man, TypeScript is just a really good language and using it makes my work flow and overal experience with JS much nicer. This is not to say that I dislike JS, but if I have to make a choice between the two of them I would go ahead and stick to TS
  • 0
    @AleCx04
    MyFunction<T>(myVal: T, myKey: keyof T)

    Enough said. ts is wonderful, js is unsafe
  • 0
    @Ceren so if it's not superior why do you need to repeat to yourself 5 times to use yarn?
  • 0
    Also just to add to the rage in this thread anybody who says they don't need TS has never written a project more than probably like 500 LOC
  • 0
    @fullstackclown it’s really not that deep. It’s a joke, “humour”. Nothing to take that seriously and not a knowledge contest either. Peace🖖🏻
Add Comment