Have a look, why you should read them?
Really good overview of functional programming principles and how they are implemented. Not sure I got the bridge part and will need to review, but the idea of creating a functional domain and then reaching to the outside (side effect world) that we are paid to affect is clear.
Immutable data structures
functions with a given output always produce the same output. If input is 2 the output is always 4. If input is 7 the function output is always 21. No state changes.
Therefore, functions are data (output) and can manipulated as data.
Long list? how do we change? We make copies. What if list is 1 million. Then we create a tree of data chunks that are assembled into the 1 million list. So instead of needing to copy the entire list, we just copy the appropriate chunk.
But this doesn't work when we have a counter
Request and wrangling HTML using two of the most popular Python libraries for web scraping: requests and BeautifulSoup.
Tasked with building an API for your company but don't have a clue where to start? Taken over an existing API and hate it? Built your own API and still hate it? This book is for you.
This repository contains pseudo-codes of various algorithms and data structures - Just-A-Visitor/Coding
It seems every week another high-profile site has fallen prey to an exploit that reveals the email addresses and passwords of their users. Every time it happens, the programming community rolls the…
You Will Not Understand a Word That Your Coworkers Just Said
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
"Without requirements or design, programming is the art of adding bugs to an empty text file." -- Louis Srygley
Git is hard: screwing up is easy, and figuring out how to fix your mistakes is fucking impossible. Git documentation has this chicken and egg problem where you can't search for how to get yourself out of a mess, unless you already know the name of the thing you need to know about in order to fix your problem.
Side effects, anything that isn't computing an output from an input. Plus all info needed to process input needs to be contained within the function. Accessing a global variable outside the function creates an impure function. It relies on something that can change that's outside the function. If that changes, then the same input giving same output rule will break.