Page 1 of 1
Code on forum
Posted: Thu Jul 05, 2007 11:21 pm
by michaeled314
When someone wants to put a completed program on the forum, please do not put the code on but the exe file. The code gets obsolete and tedious to edit so that it will run w/the current PB version!!

Posted: Thu Jul 05, 2007 11:26 pm
by rsts
Most of us prefer the code.
cheers
I'm not supposing I speak for everyone, but in over two years, your's is the first I can remember wanting an exe versus many for code.
Most of us are (or would like to pretend we're) programmers and don't mind updating code for the benefit of seeing how things are done.
Posted: Thu Jul 05, 2007 11:27 pm
by michaeled314
But if the version is out of date then it will take a long time to edit the match the current version. Especially on searches.
Posted: Thu Jul 05, 2007 11:27 pm
by Demivec
I prefer the code.
Code can be updated in one place available to everyone. Offsite storage can dissapper, along with the person maintaining it. If the code is posted someone else might be able to update the code if the originator dissappers.
Re: Code on forum
Posted: Thu Jul 05, 2007 11:36 pm
by Kale
michaeled314 wrote:When someone wants to put a completed program on the forum, please do not put the code on but the exe file. The code gets obsolete and tedious to edit so that it will run w/the current PB version!!

Actually the difference in versions over the years hasn't been that great and with a little thought most code on the forums can be converted in minutes, afterall most sources are not that large.
How are you suppposed to learn anything about programming from an exe?
Posted: Thu Jul 05, 2007 11:37 pm
by michaeled314
Huh! I guess I didn't know what I was thinking.
Posted: Thu Jul 05, 2007 11:42 pm
by Kale
michaeled314 wrote:Huh! I guess I didn't know what I was thinking.
If you have any problems converting code to run with a new version of PB, you can always ask for help here.

Posted: Fri Jul 06, 2007 2:05 am
by Rook Zimbabwe
If you have any problems converting code to run with a new version of PB, you can always ask for help here.
AND it wil help you learn the updated version methodology much faster!!!
But I myself wouldn't mind a link to the .exe as well as the code!

Posted: Fri Jul 06, 2007 2:09 am
by pdwyer
Maybe we need an upload area for binaries that can be linked in. for posting though, I like the code as I'm not here to share freeware

Re: Code on forum
Posted: Fri Jul 06, 2007 3:05 am
by PB
> The code gets obsolete and tedious to edit
So ask the original poster to update it. If they're not around, somebody else
will be able to do it, so it's a non-issue. Exes don't teach anybody anything.
Posted: Fri Jul 06, 2007 8:26 am
by Kaeru Gaman
there are enough examples linked as executables.
we also have an upload-area connected to PB, the PureArea.
of course there no room to upload each and every chickenshit,
so your upload will be checked by André before it's set accessable.
for learning techniques of coding, an executable is simply useless.
since this is a programmers forum and nore share-it-community,
posting of code IS exactly what the forum is for.
Posted: Fri Jul 06, 2007 10:28 am
by Max
michaeled314 wrote:But if the version is out of date then it will take a long time to edit the match the current version. Especially on searches.
I agree. But I prefer, if possible, that the "forum search" could search between dates.
Very often, I read posts so ancient that their code already is not useful.
Posted: Fri Jul 06, 2007 10:41 am
by Kaeru Gaman
1. the forum search CAN sort by date of the last post...
2. "ancient" code is as useful as "modern" code if you want to learn a technique.
and you'll learn a lot while converting the code for the newer version.
3. these codes are only useless, when you tend to patch code from others
together and call it your own without knowing what it really does.
for such people - I'm not willing to give any support.