Hacker News new | past | comments | ask | show | jobs | submit login

A better way to deal with this versus dependency injection frameworks is to allow the generator to be configurable and to be honest about where the seed is coming from. The random seed is an implicit input read from the runtime environment as a side effect. Future languages should treat side effects as first class and allow, for example, custom handlers to be installed to intecept or modify their behaviour.



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

Search: