Page 2 of 2

Re: PB5.60 please rename Event()

Posted: Fri Feb 17, 2017 7:05 am
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...

Re: PB5.60 please rename Event()

Posted: Fri Feb 17, 2017 8:55 am
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.