Posted 20 May 2013 - 05:57 PM
Not sure that I want to ask a pro for anything specifically, but the programs section says we shouldn't post incomplete code and should post here instead, so…
Title: Smarter Turtles v0.1
Comment: Looks like there are a few of these going around. Here's my own contribution and, in my opinion, it's a little more ambitious. I'm coming from the FTB forums, so hopefully a post to their forums where I've already provided full details + some history will be alright. http://forum.feed-the-beast.com/threads/smart-turtles.21785/
If anything, my requests are these:
Pros: I'm a software engineer by trade, but most of my work is done in OOP (with a splash of javascript), and so functional programming is a different mindset for me. My goal is to replace the turtle API while maintaining backwards compatibility. I was looking for ways to replace the existing turtle API and stumbled across an example of accomplishing this with metatables, however the example only included a single function replacement… and so I'm not sure if my implementation is, perhaps, sub-par. I'm hoping that some pros could provide insight into anything I may have done incorrectly or inefficiently so that I can improve my codebase before taking this too much further.
Everyone else: What do you like about it? What do you hate?
Thanks
Title: Smarter Turtles v0.1
Comment: Looks like there are a few of these going around. Here's my own contribution and, in my opinion, it's a little more ambitious. I'm coming from the FTB forums, so hopefully a post to their forums where I've already provided full details + some history will be alright. http://forum.feed-the-beast.com/threads/smart-turtles.21785/
If anything, my requests are these:
Pros: I'm a software engineer by trade, but most of my work is done in OOP (with a splash of javascript), and so functional programming is a different mindset for me. My goal is to replace the turtle API while maintaining backwards compatibility. I was looking for ways to replace the existing turtle API and stumbled across an example of accomplishing this with metatables, however the example only included a single function replacement… and so I'm not sure if my implementation is, perhaps, sub-par. I'm hoping that some pros could provide insight into anything I may have done incorrectly or inefficiently so that I can improve my codebase before taking this too much further.
Everyone else: What do you like about it? What do you hate?
Thanks