Strict programming language: Difference between revisions

Content deleted Content added
"prior to Java 8" implies Java no longer strict. But it is?! Default evaluation strategy doesn't change that easily, and likely what's mean it that lazy option got added and/or lambda, just while true that's optional to use. https://dzone.com/articles/be-lazy-with-java-8
No edit summary
Line 7:
 
==Examples==
Nearly all [[programming language]]s in common use today are strict. Examples include [[C Sharp (programming language)|C#]], [[Java (programming language)|Java]], [[Perl]] (all current versions, i.e. through version&nbsp;5 and version 7; Raku, formerly known as Perl 6, has lazy lists<ref>{{Cite web|title=Raku Programming/Lazy Lists and Feeds - Wikibooks, open books for an open world|url=https://en.wikibooks.org/wiki/Raku_Programming/Lazy_Lists_and_Feeds|access-date=2021-02-09|website=en.wikibooks.org}}</ref>), [[Python (programming language)|Python]], [[Ruby (programming language)|Ruby]], [[Common Lisp]], and [[ML (programming language)|ML]]. Examples for non-strict languages are [[Haskell (programming language)|Haskell]], [[Miranda (programming language)|Miranda]], and [[Clean (programming language)|Clean]].{{Sfn|Cluet & Hull|1998|pp=25–26}}
Languages whose ordinary functions are strict but which provide a [[Macro (computer science)|macro system]] to build non-strict functions include [[C (programming language)|C]], [[C++]], and [[Scheme (programming language)|Scheme]].