browse/
75 results
computer-science/linear-vs-binary-search-why-30-guesses-can-beat-a-billion.md
Linear vs binary search: why 30 guesses can beat a billion
Need to find one item in a list? You can check every item in turn (linear search), or, if the list is sorted, look at the middle and throw…
software-design/functions-why-you-should-stop-copy-pasting-your-code.md
Functions: Why You Should Stop Copy-Pasting Your Code
Copy-pasting code works fine on the day you do it. It fails the day you need to change it, and have to find and fix every copy without…
languages/what-a-variable-really-is-python-names-values-and-the-sign.md
What a variable really is: Python names, values and the = sign
In Python, a variable isn't a box that holds a value. It's a name tag tied to a value that lives on its own. That one picture explains why…