Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Ben Bacarisse Newsgroups: comp.lang.javascript Subject: Re: Functional Programming needs some real world use cases Date: Thu, 19 Jan 2017 21:50:52 +0000 Organization: A noiseless patient Spider Lines: 25 Message-ID: <87lgu6d8hv.fsf@bsb.me.uk> References: <8b2dc802-a0d2-4ae0-ba75-98ecf5989e64@googlegroups.com> <87bmv2erpx.fsf@bsb.me.uk> <87ziimd9rr.fsf@bsb.me.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: mx02.eternal-september.org; posting-host="2cdf34f8ad320d53510d792e611eaef0"; logging-data="9807"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+lnRlpbQBzAqlM64Govxw4f3PXnX6kvgM=" Cancel-Lock: sha1:pWR2gAD+qMrEX6f1y17XLMWZUmo= sha1:cuDu0JASsjtOwZRtsZOXc/nsH8c= X-BSB-Auth: 1.d69fc70e3eda084b695a.20170119215052GMT.87lgu6d8hv.fsf@bsb.me.uk Xref: csiph.com comp.lang.javascript:32209 ram@zedat.fu-berlin.de (Stefan Ram) writes: > Ben Bacarisse writes: >>ram@zedat.fu-berlin.de (Stefan Ram) writes: >>>Ben Bacarisse writes: >>>>As an exercise, what expression can you write in place of "..." to print >>>>all seven strings (and just those): >>>>forEach([["a","b","c"],["q","r"],["z"]], ...); >>>Ok, the easy part is: >>Why would you post the answer to an exercise? > > If it was an exercise made especially for justaguy: > He does not seem to have read my answer. > > Otherwise, if it was an exercise made for everybody: > Then it would have been appropriate for me to answer. Anyone who posts an answer should add a spoiler alert (unless some significant time has elapsed). I should have said "why post the answer to an exercise without a spoiler alert or some obfuscation". You can post answers all you like, but it does not help others if they see them immediately. -- Ben.