Recent

Author Topic: Wishlist - (language evolution)  (Read 5858 times)

MarkMLl

  • Hero Member
  • *****
  • Posts: 6647
Re: Wishlist - (language evolution)
« Reply #60 on: July 19, 2022, 12:12:26 pm »
export, cvar, external are all seperated from the declaration itself with a semicolon.
absolute instead isn't seperated by a semicolon.

...which sets up an analogy between "; export" etc. and Wirth's usage of "; forward" in Classic Pascal, which I think is the only type of modifier (for want of a better word) that he allowed for.

Quote
that special variable at all. E.g. persistent would be more telling. But still I'd rather go with "static", no matter if its done as section or as modifier.

"static" has the advantage it's the term that the broader community has settled on.

I'm a bit unhappy about "persistent" since there have in the past been languages which allowed (global) variables to persist across program invocations, e.g. in particular PS-algol but also noting https://en.wikipedia.org/wiki/Persistence_(computer_science) etc.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

 

TinyPortal © 2005-2018