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

Show parent comments

19

u/plastikmissile Apr 05 '22

import implies that it's a static method. See here.

3

u/[deleted] Apr 05 '22

[removed] — view removed comment

1

u/rasmustrew Apr 05 '22

I'm not sure that there are any programming languages that allow both of those, but if there are i would certainly prefer the second form, it reads much more clearly.