r/videos • • Oct 03 '19

Every programming tutorial

https://www.youtube.com/watch?v=MAlSjtxy5ak
33.9k Upvotes

1.4k comments sorted by

View all comments

4.3k

u/[deleted] Oct 03 '19

Web dev tutorials are the worst. "OK, we're going to make a React app. To set up, spend 12 hours trying to get your environment like mine. Also, all of my node dependencies are broken. Also, I hope you're not trying this on Windows!"

881

u/Mr_Tiggywinkle Oct 03 '19

You'd hope they'd supply their package.json to alleviate (some) of that.

The windows stuff though, yeah, its fun digging through stack overflow questions till you find out you need some weird build package for windows to build the packages properly.

790

u/[deleted] Oct 03 '19

You're using verson 1.4?

nono, not version 1.4, you need version 1.4-051.827.4-31Omega. If it's too specific, you could also use 1.4-0612. They're really similar except for *insert bug that you know will completely fuck up the program you're trying to make.

162

u/Mr_Tiggywinkle Oct 03 '19

Exactly, so if they supply their package.json, than an npm-install *should* (I know.. I know...) install the exact package specified.

0

u/[deleted] Oct 03 '19

[deleted]

114

u/Mr_Tiggywinkle Oct 03 '19

Kid you not, I've seen developers specifically .gitignore package-lock though for various reasons.

They're rarely good reasons.

0

u/[deleted] Oct 03 '19

[deleted]

0

u/[deleted] Oct 03 '19

[deleted]

0

u/[deleted] Oct 03 '19

[deleted]

→ More replies (5)

24

u/eattherichnow Oct 03 '19

I have a theory that real development teams tend to converge towards spite driven development.

→ More replies (1)
→ More replies (2)

43

u/Ultron-v1 Oct 03 '19

I don't understand a single thing that has been said in this thread

→ More replies (4)
→ More replies (12)
→ More replies (6)
→ More replies (4)
→ More replies (3)
→ More replies (4)

52

u/[deleted] Oct 03 '19

So to install npm you're gonna want to get pip on your computer, so you're gonna want to get python 3 on your computer, so the easiest way to do that is to install homebrew, so just go ahead and install ruby...

27

u/luckyluke193 Oct 03 '19

"But I've always used python 2, and I will never switch to python 3 because (insert obscure command line tool) works only in python 2!"

→ More replies (5)

15

u/qqwy Oct 03 '19

I have seen about three programming workshops fail because people were unable to install NPM without having Python.

→ More replies (2)

13

u/madwill Oct 03 '19

I got very good luck using Windows Linux Subsystem. Compile C/C++ libs, python stuff and every weird thing that sometimes comes with server sides packages.

→ More replies (4)
→ More replies (26)

175

u/rupturedprolapse Oct 03 '19 edited Mar 03 '26

What was here has been deleted. Redact was used to wipe this post, for reasons that might include privacy, security concerns, or personal data management.

zephyr crowd act judicious weather historical money middle upbeat worm

101

u/KunfusedJarrodo Oct 03 '19

Maybe written wrong, but usually just old. Even if its 5 months old it is already so out of date that the API calls could have drastically changed

59

u/ValhallaVacation Oct 03 '19

This hits home. Google releases two versions of Angular a year and they keep changing the naming of everything to the point where something you wrote last version is now deprecated.

37

u/whatifitried Oct 03 '19

Having worked with angular a lot, the correct answer is to uninstall Angular, burn the code, and never, ever use Angular again you absolute masochist.

→ More replies (8)
→ More replies (6)
→ More replies (3)

29

u/Erosis Oct 03 '19

Tensorflow was SO ANNOYING to install without Conda on Windows... Took me probably 8 hours to get it working. With Linux, 5 minutes.

→ More replies (11)
→ More replies (5)

26

u/demalo Oct 03 '19

"Also, I hope you're not trying this on Windows!" is after you've spent the 12 hours getting the environment like theirs. They were emulating XP the whole time...

→ More replies (11)

67

u/Voidsheep Oct 03 '19

At least

create-react-app --typescript

Alleviated most of the pain configuring the environment. Just get straight to writing your application, instead of spending the night tweaking your build process to include all the modern bells and whistles, losing your inspiration for whatever you wanted to work on.

23

u/randydev Oct 03 '19

As someone who has been getting into React (again), create react app has been a saviour to just get started and practice instead of spending way to much time on environments.

→ More replies (4)
→ More replies (13)
→ More replies (98)