No more broken code!

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

No more broken code!

Post by utopiomania »

My wish for future versions is that you do what you can to avoid breaking the syntax the way you do!

Since we are nearly at version 4.00, not 1.00, I hope that you take a good look at the language and
do your best to finish breaking the code now, and mantain backwards compatibility from here on.

I've asked one competitor to you, and they claim they do everything possible to avoid this situation
and figure they maintain a backwards compatibility of at least 99.99%, which makes sense to me.

People need to move on and benefit from improvements with new versions, not spend a hell of a lot of
time fixing and testing general procedures, templates, forum contributions and broken programs
instead.

I hope we can avoid this in the future. If not it's a valid question if PureBasic is a suitable choice
for any type of serious programming at all.
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Post by Fred »

Are the competitor updates free ? BTW, we do what we can to avoid this, but if something needs to be changed, it will be changed. We don't want to stay with workarounds or incomplete features, if this can be fixed. Now, you can still uses the older versions, they are mature and quite reliable.
Last edited by Fred on Tue Mar 14, 2006 8:01 pm, edited 2 times in total.
Num3
PureBasic Expert
PureBasic Expert
Posts: 2812
Joined: Fri Apr 25, 2003 4:51 pm
Location: Portugal, Lisbon
Contact:

Post by Num3 »

Fred wrote:Are the competitor updates free ?
:twisted:
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Languages constantly change to allow for better design that wasnt thought of before, and to allow greater features. The changes are not that vast. Most code from 3.94 works pretty well in PB4 with just a couple parameter changes.

Your comment is foolish. Take Visual Basic for example: Up until 6.0 it was prety much the same, then MS realized that it wasnt going to compete well if they continued with the vb6 design and stuffed it into .NET (which sucks), but it sells very well and is used in many areas now.

If you read the actual changes to syntax that fred gives with pb4, there really aren't very many. Sure you may need to put a Global or two in front of some arrays or lists, or maybe change your file reading code a bit, but if your code was designed well then the file reading would be in a utility procedure and would need minimal updating just once and thats it.

Just my opinion, but an informed and experienced one that you should consider. Its not like 3.94 just flew out the window and can't be used anymore. All throughout business features and operation of functions and such change constantly. Hell just look at the Win32 API.
Killswitch
Enthusiast
Enthusiast
Posts: 731
Joined: Wed Apr 21, 2004 7:12 pm

Post by Killswitch »

What's the point in backwards compatability? Are the changes really that extrem that it will take you hours and hours of work to convert your source to 4.0? The next vsion is a huge step up, but the general syntax isn't all that different from 3.94 - and if something has radically changed then it's for a damn good reason.

GO FRED!
~I see one problem with your reasoning: the fact is thats not a chicken~
User avatar
nco2k
Addict
Addict
Posts: 1344
Joined: Mon Sep 15, 2003 5:55 am

Post by nco2k »

and dont forget, many commands have been dropped like Use*() etc. which will allow a faster coding and a better overview / handling of your code, in the future. the useless, unnecessary and wrong named commands have been logicaly renamed or completely removed. so everything has become more unique now. if you liked the (a little bit) chaotic way of the past pb versions, maybe you should switch to vb. :lol:

c ya,
nco2k
If OSVersion() = #PB_OS_Windows_ME : End : EndIf
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

I like syntax changes :P
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

nco2k wrote:and dont forget, many commands have been dropped like Use*() etc. which will allow a faster coding and a better overview / handling of your code, in the future. the useless, unnecessary and wrong named commands have been logicaly renamed or completely removed. so everything has become more unique now. if you liked the (a little bit) chaotic way of the past pb versions, maybe you should switch to vb. :lol:

c ya,
nco2k
I like Use*(), it produces shorter and more flexible codes. But: I shouldn't complain! If I like Use*(), then I can use version 3.94!
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post by Flype »

i like it to. when it's needed it's needed !
:twisted:
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
Nik
Addict
Addict
Posts: 1017
Joined: Fri May 13, 2005 11:45 pm
Location: Germany
Contact:

Post by Nik »

Use() is crappy for everything mor complicated, it's not useable with Threads and timers and so on
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

Utopimaniac (sorry :P ) go look at your so called competitors.. Take m$ and their visual basic. They didnt break anything??

Its not like this will require TONS of work. Its not that bad. Of course it should be avoided as much as possible, but i vote yes to syntax changes if it means that your code is faster to write and more efficient to be read.
User avatar
utopiomania
Addict
Addict
Posts: 1655
Joined: Tue May 10, 2005 10:00 pm
Location: Norway

Post by utopiomania »

Fred wrote:
BTW, we do what we can to avoid this
Thanks, please do your best. :)


As for the rest of the comments, the competitor I mentioned has a huge list of corporate customers
as well as single developers, and maintain backwards compatibility for obvious reasons.

To tell these customers to port and retest huge amounts of code to be able to benefit from improvements
in newer compiler versions would be commercial suicide.

And it's the same with VB6. Up until VB.NET old code could be imported perfectly and silently. They
don't let people down, because people invest time and money in what they do using their tools.

At some points in time, fundamental changes in technology forces a break with the past, but no one
else breaks syntax and peoples code with each major(?) version of a language, and I hope I'll see
less of that here in the future, hence this request. :roll:

@thefool, I have maybe a hundred broken templates, general procedures and a a few programs to
translate and test. I hate it. :twisted: The next time, if they decide to break things up again, the amount of code
and work could be much larger.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

utopiomania wrote: @thefool, I have maybe a hundred broken templates, general procedures and a a few programs to
translate and test. I hate it. :twisted: The next time, if they decide to break things up again, the amount of code
and work could be much larger.
I see.. Well it will take some hours to get them all changed proberly.
However if the benefit is larger than the ammount of work, its not too bad. But do notice i completely agree with you that the needed breaks for every release should be hold as low as possible.
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

Post by blueznl »

all breaks appear to improve the language, so i see fred can break as much as he likes if he continues this way :-)
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )
theNerd
Enthusiast
Enthusiast
Posts: 131
Joined: Sun Mar 20, 2005 11:43 pm

Post by theNerd »

It's because of the changes in PB 4.0 that I have decided to make it one of my primary development languages.
Post Reply