This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
darkroom's profile picture

Help with OOP [Lua]

Started by darkroom, 10 January 2013 - 03:01 PM
darkroom #1
Posted 10 January 2013 - 04:01 PM
So I have been busy porting my OS into OOP (newly learned it) and i tried my hand at making a sub menu system with OOP. As I am new to OOP and would like to improve upon my knowledge can you give me any tips on how to make this better for bigger programs? Thanks for your time, code below.
Pastebin:
http://pastebin.com/tsFQBwmL
Side Note:
Disregard the maxFinder function it will be in an API when i make the full OS just needed the functionality of it.
theoriginalbit #2
Posted 13 January 2013 - 01:17 PM
looks fine to me…