what is the difference between a function and a class?
itisnot_me
0
Posting Whiz in Training
Recommended Answers
Jump to PostHi,
A Class and Function are VERY different.
Functions
A function is a piece of code that can be called many times, they can do things like calculations without the need to re-write the code a trillion times.Classes
A class is like a group, it can …
Jump to Postwell, Knowledge is power, that works
It really depends on how you like to code. I'm sure there are many advantages but there are also disadvantages.
I don't code everything in classes but I like to keep to them. If a make a file that will be used …
All 6 Replies
Kieran Y5
8
Junior Poster
itisnot_me
0
Posting Whiz in Training
Kieran Y5
8
Junior Poster
itisnot_me
0
Posting Whiz in Training
Kieran Y5
8
Junior Poster
itisnot_me
0
Posting Whiz in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.