+ 3

Function as object

Can someone teach me on function as object in one by one process? I think the tutorial wasn't enough i guess? Haha. Thank you ❤️

16th Apr 2021, 5:03 AM
Kakai
Kakai - avatar
8 ответов
+ 2
Kakai ahh okay. Here's an explanation about objects: data-flair.training/blogs/python-object And here's functions: data-flair.training/blogs/python-function Honestly that's a pretty in depth website about python.
16th Apr 2021, 6:32 AM
Phil Andy Graves
Phil Andy Graves - avatar
+ 1
A function is any contained code that you want to use, possibly over and over again. Kind of like a salt shaker. An object is a value that can have other values and functions as "children" nested inside. Kind of like a salt shaker where you also consider the shaker itself, too, not just the salt inside. What's great is that the idea of objects has helped spotlight issues with functions and you can now do just about anything with either.
16th Apr 2021, 5:15 AM
Phil Andy Graves
Phil Andy Graves - avatar
+ 1
Please use relevant tags to specify the language
16th Apr 2021, 5:44 AM
Atul [Inactive]
16th Apr 2021, 6:17 AM
Kakai
Kakai - avatar
0
Can you do that in coding? Phil Andy Graves Please...
16th Apr 2021, 5:17 AM
Kakai
Kakai - avatar
0
Kakai I'm not using Java, however I can probably find something. This looks very relevant! www.smartherd.com/classes-and-objects-in-java Make sure you understand the requirements of your Java programs, okay? Just in case though, take a look at this, too. It exemplifies functional programming in Java. www.baeldung.com/java-functional-programming
16th Apr 2021, 5:54 AM
Phil Andy Graves
Phil Andy Graves - avatar
0
Atul you tag supremacist you! 😁
16th Apr 2021, 5:55 AM
Phil Andy Graves
Phil Andy Graves - avatar
0
Atul ok
16th Apr 2021, 6:17 AM
Kakai
Kakai - avatar