Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I must say that's one of the most scary one line of code I have seen. I'd be hard pressed to come up with a more scary single assign statement.

Any volunteers?



In C#..

public string SomeProperty { get { SomeOtherProperty.Something = whatever; return someProperty; } }




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: