tag:blogger.com,1999:blog-5837865295676240265.post2590661389802965050..comments2023-10-15T18:50:22.212+11:00Comments on Preposterous! Egregious!: An Example of Functional ProgrammingDavid Barrihttp://www.blogger.com/profile/05426582122438954031noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-5837865295676240265.post-53612333221261664642016-07-28T02:32:45.813+10:002016-07-28T02:32:45.813+10:00Survey analysis is often presumed to be difficult ...Survey analysis is often presumed to be difficult - the reality may not be so. Survey analysis in a survey research can be classified into two - quantitative and qualitative data analysis. This article tries to throw light on the basic differences between the two techniques. See more <a href="http://www.qualitativedataanalysis.net/methods-of-recursive-abstraction/" rel="nofollow">recursive abstraction</a><br />Anonymoushttps://www.blogger.com/profile/17450995675843626606noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-39115661709239612522014-11-05T12:56:37.973+11:002014-11-05T12:56:37.973+11:00Hi Jonas. Imagine if if in English I said "Ch...Hi Jonas. Imagine if if in English I said "Check if the kitchen sink is clean and if not wipe it down and then put a mark on the board." It has two meanings.<br />1. If (sink not clean) {wipe it and mark board}.<br />2. If (sink not clean) {wipe it}; Mark board.<br />If the sink is clean should the board be marked?<br /><br />Changing the syntax a little we could rewrite these two cases as:<br />1. checkSink >> (wipeIt + markBoard)<br />2. (checkSink >> wipeIt) + markBoard).<br /><br />Which is the same concept as the excerpt you originally asked about. The difference between the two is whether the isUnique rule should be checked *only* when nonEmpty, or regaredless.<br /><br />Note that there isn't anything specific in the implementation of >> to enable this. It's just a rule of composition and parentheses.David Barrihttps://www.blogger.com/profile/05426582122438954031noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-52915412206191137252014-11-05T12:46:35.688+11:002014-11-05T12:46:35.688+11:00Thank you very much for your kind words. I'm g...Thank you very much for your kind words. I'm glad you enjoyed.David Barrihttps://www.blogger.com/profile/05426582122438954031noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-36588508924841889362014-10-25T05:22:52.001+11:002014-10-25T05:22:52.001+11:00I'm not sure I understand the dirrence between...I'm not sure I understand the dirrence between the two rules below:<br />rule = nonEmpty >> (containsNumber + isUnique)<br />rule = (nonEmpty >> containsNumber) + isUnique<br /><br />Or did you only mean that you <i>could</i> implement the >> operator in a way that led to the different parenthesizations having different meaning? In this case they would be the same, no?Jonashttps://www.blogger.com/profile/01211081756277321551noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-21594618628448520702014-10-05T00:29:50.992+10:002014-10-05T00:29:50.992+10:00It amazes me - even after programming for so many ...It amazes me - even after programming for so many years, many times to solve difficult, demanding problems - that thinking through common UseCases can unfurl such intricacies unapparent at the onset. Your example is well-chosen, the design in succinct and the essay, flowing. Many thanks for sharing. And, well, many wishes for a happy married life hereafter.Nirmalya Senguptahttps://www.blogger.com/profile/04885237767438957122noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-14040270793189826922014-10-01T18:38:44.145+10:002014-10-01T18:38:44.145+10:00No worries. I hope it was helpful or failing that,...No worries. I hope it was helpful or failing that, interesting :)David Barrihttps://www.blogger.com/profile/05426582122438954031noreply@blogger.comtag:blogger.com,1999:blog-5837865295676240265.post-86442065846707931822014-09-29T10:54:32.648+10:002014-09-29T10:54:32.648+10:00Thanks for taking the time to work up this example...Thanks for taking the time to work up this example!klbarrushttps://www.blogger.com/profile/13714697431351355290noreply@blogger.com