C2 forum
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
SMF - Just Installed!
Home
Help
Search
Login
Register
C2 forum
»
General Category
»
Ideas
»
deleted
« previous
next »
Print
Pages: [
1
]
Author
Topic: deleted (Read 9764 times)
acbaile
Newbie
Posts: 22
deleted
«
on:
November 12, 2018, 07:30:55 PM »
deleted
«
Last Edit: January 27, 2019, 09:10:06 PM by acbaile
»
Logged
lerno
Full Member
Posts: 247
Re: Variable's name unambiguity
«
Reply #1 on:
November 12, 2018, 10:23:23 PM »
Sigils and namespacing are two options. Personally I almost never run into the problem you write about. Shadowing variable names is something I have a warning on. I don't remember if C2 made it a warning or error.
Logged
bas
Full Member
Posts: 220
Re: Variable's name unambiguity
«
Reply #2 on:
November 13, 2018, 08:55:16 AM »
yes definitely an error. Shadowing is a source of bugs
Logged
Print
Pages: [
1
]
« previous
next »
C2 forum
»
General Category
»
Ideas
»
deleted