Was this a rhetorical query?@ Hroudtwolf: Why would the syntax change?!
I think, it is obvious that this act would make syntaxchanges necessary.
Code: Select all
Structure bla
NewList Bla.l () ;<--- no case of pb syntax
EndStructure
Was this a rhetorical query?@ Hroudtwolf: Why would the syntax change?!
Code: Select all
Structure bla
NewList Bla.l () ;<--- no case of pb syntax
EndStructure
Hroudtwolf wrote:No.
I disagreed your feature-request and proposed another one of the same relation, what would be better (in my opinion).
This is a discussion-forum. If you don't want discussions, your'e not right here.
LOL, of course that's something new in syntax, but it's not a real "syntax change", it's a "syntax extension". The old syntax isn't affected, so where's the problem?Hroudtwolf wrote:Was this a rhetorical query?@ Hroudtwolf: Why would the syntax change?!
I think, it is obvious that this act would make syntaxchanges necessary.
Code: Select all
Structure bla NewList Bla.l () ;<--- no case of pb syntax EndStructure
Well, every new feature, no matter if syntax changing / extending or bringing up new library functions can produce bugs.Hroudtwolf wrote:That could be a new source of bugs. *paranoia*
If you're afraid of every possible bug in new features, I actually wonder what your definition of "development of PureBasic" is.Hroudtwolf wrote:I buyed a copy of PB and therefore I (as user) disagree each feature-request if I think it wheren't right for the development of purebasic.
Code: Select all
Structure Player
NewList weapons.Weapon()
EndStructure
p.Player
someWeapon.Weapon
AddElement(p\weapons()) ; <-- nothing really new here
p\weapons() = someWeapon ; <-- nothing really new here
FirstElement(p\weapons()) ; <-- nothing really new here
Code: Select all
Structure Player
NewList weapons.Weapon()
EndStructure
Code: Select all
*List.tMyData = NewList
AddElement (*List)
*List\sName = "Frédéric Laboureur"
*List\sEmail = "support [at] purebasic.com"
; With dynamic instanced LinkedList, you could do that.
*List\Properties = NewList
AddElement (*List\Properties)
*List\Properties\sName = "talent"
*List\Properties\sAssoc = "Developed a realy cool programming language."
Code: Select all
Structure Player
weapons.Weapon() ;This is the list()
inventory.Weapon[5] ;This is a static array[]
EndStructure
Code: Select all
Structure Player
NewList weapons.Weapon()
EndStructure
p.Player
someWeapon.Weapon
AddElement(p\weapons())
p\weapons() = someWeapon ; <-- This is new
FirstElement(p\weapons())
Yes, me too... it's absolutely essential, and Hroudtwolf said he "explained" his opinion, but honestly I can't find anything that looks like an explanation...I don't see any cons to doing it (besides the programming team's time and effort)