Paradox Community

Items in pnews.paradox-dos

Subject:Re: Grrrr dynamic scoping in PAL
Date:Fri, 7 Sep 2018 07:14:43 -0400
From:"Steven Green" <greens@diamondsg.com>
Newsgroups:pnews.paradox-dos
it was the whole over-simplification of rules, which let "everyone" try to 
be a programmer.. fun times :-)


--

Steven Green
Myrtle Beach, South Carolina, USA

http://www.OasisTradingPost.com

Collectibles and Memorabilia
Vintage Lego Sets and Parts
- and Paradox support, too
"Bernie van't Hof"  wrote in message 
news:5b91a507$1@pnews.thedbcommunity.com...

I can't help but wonder how many incredibly elusive bugs were created due to 
PAL's dynamic scoping (globals, privates,
usevars etc) ...

It is often not obvious where a variable's value came from, could be 
multiple places depending on flow.

Looking back, it just seems ridiculous, and is generating a bit of extra 
work for me!

OTOH I guess it was only a couple of years ago that javascript addressed a 
similar problem by introducing 'let' and 'const'.

- Bernie 


Copyright © 2004 thedbcommunity.com