https://software.codidact.com/categories/38/tags/5116.rssNew Posts Tagged 'functional-programming' - Software DevelopmentSoftware Development - Codidact2023-08-11T21:59:46Zhttps://software.codidact.com/posts/289316Readable syntax for executing many callables with useful side effectsmatthewsnyderhttps://software.codidact.com/users/613082023-08-09T20:23:24Z2023-08-11T21:59:46Z<p>In Python, multiprocessing is easy to do if you follow a "list projection" paradigm. Say you want to take a list of inputs <code>X</code> and apply some function <code>f</code> to every <code>x_...https://software.codidact.com/posts/289318Terms for types of functions with respect to side effectsmatthewsnyderhttps://software.codidact.com/users/613082023-08-09T20:40:46Z2023-08-10T11:53:26Z<p>Mathematically, the purpose of a function is to return an output. However, in a programming context functions often have <em>side effects</em>. It is even common to call functions <em>for the si...https://software.codidact.com/posts/284553Are there any downsides related to using Maybe or Optional monads instead of nulls?Alexeihttps://software.codidact.com/users/531772021-10-10T07:06:20Z2021-10-10T21:38:12Z<p>I have recently stumbled across the Maybe (or Optional) modal usage in .NET Code:</p>
<ul>
<li>example <a href="https://github.com/vkhorikov/CSharpFunctionalExtensions/tree/master/CSharpFuncti...https://software.codidact.com/posts/281808Did functional programming predated Object oriented programming or rather the opposite?deleted user#2021-05-19T05:22:12Z2021-06-03T20:39:33Z<p>By "functional" I don't mean "procedural" (i.e. I don't mean to <em>programming which is done solely or primarily with these data structures commonly known as "functions...