+ 4
Why do methods have to have self as first parameter?
5 Answers
+ 14
this one explains it pretty well:
https://www.programiz.com/article/JUMP_LINK__&&__python__&&__JUMP_LINK-self-why
+ 4
Learning python as they state that self must be first parameter when it comes to methods
+ 2
Thank you will read this
+ 1
Depending on the language? But methods do not have to have self as first parameter. A supply of code as your reference will help better understand your question. But for methods, you can make as many parameters as you want, or none at all.