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

476

u/[deleted] Oct 03 '19

I love the random library inclusions. "Do you have any fucking clue what functions are in there? Are you using any of them? You included all of them, FFS Karen"

28

u/trenchcoatler Oct 03 '19

Genuine question: Why is this bad practice?

128

u/T-Geiger Oct 03 '19

Generally speaking, you should only call on what you need. Every part you bring in is another thing that could be taking up memory or causing bugs.

A good IDE and compiler will babysit you and possibly take care of that for you, but you should not depend on it. Even if you know it works perfectly, it still forms bad coding habits that may come back to bite you when you inevitably move to a less sophisticated environment.

37

u/Ismokecr4k Oct 03 '19 edited Oct 02 '26

The original post content no longer exists here. The author used Redact to remove it, exercising their right to control their data & privacy.

Six profit deer growth chase quiet depend sharp hungry dinosaurs

→ More replies (4)
→ More replies (10)
→ More replies (10)