r/learnprogramming • • Apr 05 '22

Name one programming/comp sci concept you never understood and if you understand it, try to explain it to them

Name a programming concept such as virtual functions, pointers, certain algorithms, etc that you always had a hard time understanding and why.

Someone else who reads yours and does understand it, try to explain it to them to help them learn

1.6k Upvotes

738 comments sorted by

View all comments

23

u/Sakin101 Apr 05 '22

Javascript

22

u/Temporary-Warthog250 Apr 05 '22

Lol literally. I never understood JavaScript. It’s all just… wtf

45

u/[deleted] Apr 05 '22

It's like someone sat down and made a language in a week and then we just used it forever. Insane.

16

u/David_Owens Apr 05 '22

Other way around. They made a language over a few decades, so it became a Frankenstein's Monster of ideas and features from different eras.

10

u/AlSweigart Author: ATBS Apr 05 '22

(For those who don't get the joke, Brendan Eich was tasked to create a scripting language for the Netscape web browser and wrote what became JavaScript in ten days. Though some say this "ten days" story is exaggerated/misleading.)

5

u/[deleted] Apr 05 '22

What isn't exaggerated is that, we're going to use it forever.