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

You kind of used D's syntax for contracts,

http://dlang.org/contracts.html



cool, thanks!

Multiple bracket blocks is not the most esthetic of solutions I think but it's the best I can think of. Attributes feels too clunky and just stacking contracts as lines after the class statement feels too disorganized




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

Search: