I would have liked to know the differences between functions, methods, and routines, and from what I can tell, the difference is rather insignificant in practice. Nevertheless, this is what I've figured the differences to be, and please correct or disagree with me: -function: a program that is created to run as a part of another program, i.e. a piece of code that is called by name -method: a function that belongs to a class in an object-oriented language and therefore must be associated with an object "All methods are functions, but not all functions are methods" (Also, Java only uses methods, and C only uses functions.) -routine: a sequence of instructions to perform some task, acting as a practical matter of programming a machine to do something useful
I would have liked to know the differences between functions, methods, and routines, and from what I can tell, the difference is rather insignificant in practice. Nevertheless, this is what I've figured the differences to be, and please correct or disagree with me:
-function: a program that is created to run as a part of another program, i.e. a piece of code that is called by name
-method: a function that belongs to a class in an object-oriented language and therefore must be associated with an object
"All methods are functions, but not all functions are methods" (Also, Java only uses methods, and C only uses functions.)
-routine: a sequence of instructions to perform some task, acting as a practical matter of programming a machine to do something useful
Bad news umm yeh he was arrested
@@minted6473 for what?
@@5un5hine73 ur joking right ?
@@Lewinner-nj6bh i found out shortly after i posted that
thank you for the upload and simple language.
:(
Whats the function for "Kids to do today"?
bruh
rolla coasta 😂😂😂
Woah_Ben_Militello ik that’s why I said good joke not at the fact but at the guys statement
Woah_Ben_Militello no he’s dead
i can learn C just from your videos or you think that i need something else too?
+Cow Freak I'd definitely use something in addition - The beginners guide to C is quite good.
@@nekoramsay4053 lmao this reallly didn’t age well
Good video, it says "lesson 4.1" at the beginning of the video =)
I have some bad news
@@minted6473 what is it
@@avidvivid6664 do you seriously not know