i already said i understood that, and i agree with it when it comes to other things. but specifically when it comes to image loaders, i don't feel that it's a worthwhile use of time to write one.
I and feel that it
is worthwhile to write it yourself, for the numerous reasons I've stated. The only justification you've provided is that you could be using the time for other things, which is a useless tautological statement. I could literally say that about
anything and be correct. It's a worthless point.
You know what? The time you're spending doing other things could be spent writing an image loader. See how that works? That's not an argument, it's stating the obvious.
Your argument doesn't really make any sense there. The other things he's mentioning are focusing on the project at hand, not re-implementing something that already exists and is fine to use.
also, you are again assuming that everyone codes as fast as you claim you can code. my position earlier was that coding an image loader would take the average programmer 2 weeks, and even very good programmers 2 days. i spent neither 2 weeks nor 2 days posting in this thread; i spent perhaps half an hour posting in this thread
To add to this. Even if you do manage to finish it in 2 days the library doesnt have the years of scrutiny from the coding community that libpng does. You would essentially be saying that we have to trust you are such a good programmer that the 2 day png loader you wrote with no history of testing is for some reason better than libpng.
I'm sick of games thinking that they don't have to play by the rules.
These are rules you've defined. Many authorities also say a golden rule is "dont reinvent the wheel".
EDIT: I recall an engineer at Sega saying that lack of reuse is one of things that really hurt sega in the early 1990's and early 2000's
if it were somehow true that i could code an image loader in half an hour, i would still rather have spent that time posting in this thread, because this thread is an important warning against people who might believe the type of stuff you believe. warning people away from wasting time coding low-level stuff is *far* more valuable to me than wasting my own time coding low-level stuff
learning to parse an image format can lead you to very interesting learning moments.
* run length encoding
* binary/hex editing
* bit shifting
* chunking
generally speaking you could learn about how to create a sexy binary file format specific to your game, and how to parse that file.
I don't think that's wasting one's time.
ps: for anyone that's interested ppm seems the easiest file format to start with
http://www.cs.swarthmore.edu/~soni/cs35/f13/Labs/extras/01/ppm_info.htmlafter that I think GIF is the easiest.
As for the list the OP posted, I am glad we do most of those things, but I can understand lone developers who rely a lot on third party stuff and don't do tests nor version control.
I would advice anyone that's not writing tests and doing version control to just start doing it.
And I would advice anyone to especially NOT use any third party libs that don't have tests.
nothing wrong with learning