PB5.60 please rename Event()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
HanPBF
Enthusiast
Enthusiast
Posts: 570
Joined: Fri Feb 19, 2010 3:42 am

Re: PB5.60 please rename Event()

Post by HanPBF »

PureBasic should forward itself to using modules:
module Gadget, etc.

Or is writing module names too much writing;-)

Problem: existing code; always really difficult to develop a language further when so much legacy code is to take into account.

I can't use "select" in my code; so I have to use "select_".
There is worse...
User avatar
TI-994A
Addict
Addict
Posts: 2704
Joined: Sat Feb 19, 2011 3:47 am
Location: Singapore
Contact:

Re: PB5.60 please rename Event()

Post by TI-994A »

Best coding practices would recommend unique prefixed naming conventions to avoid clashes with libraries and plugins; and in this case, native language enhancements.

The team has always strived to improve and upgrade PureBasic, and such changes have sometimes required adjustments to legacy code. So, either adapt and enjoy these enhancements, or simply freeze development against the corresponding LTS version.
Texas Instruments TI-99/4A Home Computer: the first home computer with a 16bit processor, crammed into an 8bit architecture. Great hardware - Poor design - Wonderful BASIC engine. And it could talk too! Please visit my YouTube Channel :D
Post Reply