readonly members

Ayanami

칼리
Reaction score
288
Want to ask if [ljass]readonly[/ljass] members are depreciated? Read it on the JASS manual, but stated "It is a nonstandard at the moment, so you shouldn't use it on public releases."
 

Dirac

22710180
Reaction score
147
readonly works really well, basically it's a safe mechanism that prevents the user from modifying vars outside the encapsulation, but be able to read them
 

Ayanami

칼리
Reaction score
288
readonly works really well, basically it's a safe mechanism that prevents the user from modifying vars outside the encapsulation, but be able to read them

So it's fine to use them in public resources, right?
 

Dirac

22710180
Reaction score
147
Yes, sometimes people would ask you to make values readonly to prevent bugs.
 

Bribe

vJass errors are legion
Reaction score
67
I once made a post about readonly members and Vexorian replied that they are a standard and that he hasn't gotten around to updating the JassHelper docs.
 

tooltiperror

Super Moderator
Reaction score
231
I once made a post about readonly members and Vexorian replied that they are a standard and that he hasn't gotten around to updating the JassHelper docs.
This basically sums up the work ethic of half the WC3 JASSing community
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top