Rosetta Code talk:Village Pump/Suggest a programming task: Difference between revisions
Rosetta Code talk:Village Pump/Suggest a programming task (view source)
Revision as of 23:39, 3 February 2009
, 15 years ago→Assertions: Seems general enough to me.
(→Assertions: new section) |
(→Assertions: Seems general enough to me.) |
||
Line 25:
Are there enough languages that use assertions to warrant a task for them? I know Java, C, and C++ have them, but I'm not sure about other languages. Also, do assertions work similarly enough across all of the languages to make comparison worthwhile? --[[User:Mwn3d|Mwn3d]] 21:22, 3 February 2009 (UTC)
: Is there a literary definition of the concept? As far as I know, it's a runtime check of a boolean condition, combined with a debugging aid, such as a breakpoint or logging command. That concept seems fairly universal, at least for procedural languages. I'd be curious what the analog would be for languages like Lisp or Haskell. --[[User:Short Circuit|Short Circuit]] 23:39, 3 February 2009 (UTC)
|