625 reputation
213
bio website canop.org
location Lyon, France
age 42
visits member for 2 years, 8 months
seen 2 days ago

Interesting Stuff :

Miaou Miaou, a powerful and extensible chat for public or private persistent discussions

SpaceBullet SpaceBullet, a HTML5 game in which you play with gravity


Oct
13
revised Why is there a “new” in Go?
edited body
Oct
13
awarded  Popular Question
Jun
24
awarded  Scholar
Jun
24
accepted Why is there a “new” in Go?
Jun
23
awarded  Nice Question
Apr
25
awarded  Yearling
Nov
5
comment Why is there a “new” in Go?
@AlexFeinman As 0 is a literal constant, you can't take its address. A problem would occur if you'd want a specific type too. That's why a syntax like &int or &int(0) might be useful (didn't think a lot about the best syntax, though). But doing it in two lines as Collins showed is fine too (vv := 0; v := &vv).
Nov
5
comment Why is there a “new” in Go?
I would be happy to see links to the other "shall we keep new?" discussions which pops up from time to time.
Nov
5
revised Why is there a “new” in Go?
added 221 characters in body
Nov
5
comment Why is there a “new” in Go?
@ManishMalik Good observation but unless you shadow it, this makes little difference to me. I'd still call it a keyword even if it's not implemented at the grammar level
Nov
5
revised Why is there a “new” in Go?
edited title
Nov
5
revised Why is there a “new” in Go?
added 253 characters in body
Nov
3
comment Why is there a “new” in Go?
@FlorianMargaine Feel free to invite them here ;)
Sep
4
revised Why is there a “new” in Go?
added 87 characters in body
Sep
4
comment Why is there a “new” in Go?
Probably. But does that sound as an error to have kept it only to me ?
Sep
4
asked Why is there a “new” in Go?
Jul
1
comment Is a function plotter a legitimate use of eval() in JavaScript?
eval doesn't break anything securitywise : any attacker could do the same more comfortably from the console.
Jul
1
comment Is a function plotter a legitimate use of eval() in JavaScript?
@JanHudec It's JavaScript, not C++. Most "eval is evil" stances are just FUD.
Jul
1
revised Is a function plotter a legitimate use of eval() in JavaScript?
added 66 characters in body
Jul
1
comment Is a function plotter a legitimate use of eval() in JavaScript?
@JanDvorak There are functions in JavaScript just for that, like Math.pow. The point here is not to have to interpret the symbolic expression.