Code on forum

Everything else that doesn't fall into one of the other PB categories.
michaeled314
Enthusiast
Enthusiast
Posts: 340
Joined: Tue Apr 24, 2007 11:14 pm

Code on forum

Post 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!! :?
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post 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.
Last edited by rsts on Thu Jul 05, 2007 11:32 pm, edited 1 time in total.
michaeled314
Enthusiast
Enthusiast
Posts: 340
Joined: Tue Apr 24, 2007 11:14 pm

Post 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.
User avatar
Demivec
Addict
Addict
Posts: 4260
Joined: Mon Jul 25, 2005 3:51 pm
Location: Utah, USA

Post 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.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: Code on forum

Post 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?
--Kale

Image
michaeled314
Enthusiast
Enthusiast
Posts: 340
Joined: Tue Apr 24, 2007 11:14 pm

Post by michaeled314 »

Huh! I guess I didn't know what I was thinking.
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post 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. :)
--Kale

Image
User avatar
Rook Zimbabwe
Addict
Addict
Posts: 4322
Joined: Tue Jan 02, 2007 8:16 pm
Location: Cypress TX
Contact:

Post 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!!! 8)

But I myself wouldn't mind a link to the .exe as well as the code! :wink:
Binarily speaking... it takes 10 to Tango!!!

Image
http://www.bluemesapc.com/
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Post 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 :)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Re: Code on forum

Post 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.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post 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.
oh... and have a nice day.
Max
User
User
Posts: 67
Joined: Thu Nov 30, 2006 4:57 pm
Location: I long for the absolute loneliness of the death

Post 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.
User avatar
Kaeru Gaman
Addict
Addict
Posts: 4826
Joined: Sun Mar 19, 2006 1:57 pm
Location: Germany

Post 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.
oh... and have a nice day.
Post Reply