Page 1 of 1
Do you encourage the use of middleware?
Posted: Thu Jul 05, 2012 1:33 am
by onedaysnotice
Title. Middleware like unity or box2d which make automates and simplifies the entire process drastically.
Or do you encourage developers such as yourself to build their engine and/or tools from the ground up, essentially "reinventing the wheel"?
Re: Do you encourage the use of middleware?
Posted: Thu Jul 05, 2012 2:15 am
by Lap
Considering that this whole forum is dedicated to a product which helps people NOT reinvent the wheel I'm going to go out on a limb here and assume we're cool with middleware. We even use box2d already.
Re: Do you encourage the use of middleware?
Posted: Thu Jul 05, 2012 4:10 am
by Santos
I really like
this post by kikito on this subject.
Re: Do you encourage the use of middleware?
Posted: Thu Jul 05, 2012 4:06 pm
by dreadkillz
Yea I like using libraries. Makes it less annoying to code.
Re: Do you encourage the use of middleware?
Posted: Fri Jul 06, 2012 5:57 pm
by Inny
I'm like most with the bad habit to implement things on my own, but I don't do it on a whim, I do it more to understand my code. Meaning I follow Kikito's advice of spending time reading other implementations of specific things first.
In that regard, I'm actually of the opinion that cut-and-paste code should be more common. A library like [Penlight](
https://github.com/stevedonovan/Penlight) is quite a big dependency to pull in, but it's full of useful code, and it's MIT licensed, so you should clip out the functions you need and gather them in your own util.lua. Don't steal though, include the copyright notice where necessary.