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

Let me provide you a different perspective: A lazy language is one that "leaks space". A strict language, however, can "leak time". Imagine building an infinite list and pulling only ten elements from it. This is a situation where a strict language will create a "time leak" by attempting to build an infinite list.


How do you create an infinite list in C++ or Python?


precisely, you can't _because_ you'll have a "time leak" if you attempted such a thing.




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

Search: