Feedback on my first OOP script
Everyone would be throwing rocks at me for not using metatables lol local car = {} function car.newCar(brand, year, model) local self = {} self.Brand = brand self.year = year self.model = model return...
View ArticleFeedback on my first OOP script
OOP is scary It looks good although I never used it myself, but is it really worth the extra effort because modules just seem way more convenient. But if you tried, I guess I could try OOP aswell....
View ArticleFeedback on my first OOP script
That code looks nice, although metatables would improve its error handling and efficiency a lot. If you or anyone else doesn’t know how to use metatables but would like to, I think B Ricey does a good...
View ArticleFeedback on my first OOP script
metatables are not needed, but if you want to integrate some custom functions, you’d need to make it dot notation and pass the “FiatUnoMille” yourself as opposed to just calling a method on...
View ArticleFeedback on my first OOP script
I will be happy to give feedback if you want to add more to it. At the moment there is no problem with it. Some things to consider, what is you want to create lorries, motor bike, quads etc… then...
View ArticleFeedback on my first OOP script
Looks good, just continue to read from the post you started All about Object Oriented Programming Community Tutorials ALL ABOUT OOP! Prerequisites An understanding of meta-tables (although the...
View Article
More Pages to Explore .....