On Mon, Mar 12, 2012 at 10:39 AM, Armando Blancas <abm221...@gmail.com> wrote:
>> If invalid input will not throw an error
>> immediately, then it DOES need to be documented that invalid input
>> will result in undefined output.
>>
>> ~Justin
>
> Documented by whom? By you and FrankS? Maybe the push back is for lotta
> suggestin' but little doin'.

Surely undocumented behavior is undefined behavior by definition?
That's certainly the approach taken by many programming language
standards. In which case, giving any function invalid input is
immediately in undefined behavior territory and the output is
"guaranteed" to be undefined - unless explicitly documented to the
contrary (e.g., when given invalid input, this function shall throw an
exception).
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/
World Singles, LLC. -- http://worldsingles.com/

"Perfection is the enemy of the good."
-- Gustave Flaubert, French realist novelist (1821-1880)

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to