Exceptions

P

Pete Becker

kwikius said:
FWIW the dictionary definition of idiomatic is "peculiar to or
charcteristic of a particular language". I guess you could say
recursion is idiomatic of some arbitrary FP language, but not C++

Um, not according to my dictionary: "using, containing, or denoting
expressions that are natural to a native speaker."

--

-- Pete
Roundhouse Consulting, Ltd. (www.versatilecoding.com)
Author of "The Standard C++ Library Extensions: a Tutorial and
Reference." (www.petebecker.com/tr1book)
 
J

Jon Harrop

kwikius said:
In C++ don't use recursion if you can help it IMO. Its far more
efficient in code space and time to use a loop.

Note that there is still no evidence of that in this case.
 
K

kwikius

Jon said:
Note that there is still no evidence of that in this case.

Correction to the above. I meant data space rather than code space.
Apologies.

regards
Andy Little
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top