background preloader

Math

Facebook Twitter

Function Kata Russische Bauernmultiplikation.pdf. Coding Challenges for the World's Best Developers. Why can't programmers program? One data point that I obtained for the book (but didn't quite include in the book because it was too programmer centric) was based on 22 job interviews for programming positions I conducted for one of my clients over a period of two months. Though this is hardly a considerable sample size, it did reveal some interesting facts about programmers.

There were two seemingly disconnected questions that we asked at completely different moments of time during the interview: Talk about a few things in your current organization or manager that you don't like / aren't happy with. Solve a simple programming problem (one that was much easier than the famous Fizz Buzz problem). The goal was to study the correlation between whining and coding abilities.

Even though there are some exceptions in the above data set if you look at the graph what's evident is that there seems to be a strong co-relation between whining and being able to solve ridiculously simple programming problems. That was interesting. Carsten König sur Twitter : "btw: this is why basic #math knowledge is *NOT* useless in #programming but should be the mandatory. The Algebra of Algebraic Data Types, Part I - Chris Taylor. I gave a talk on this subject at London Haskell in November 2012. A video of the talk is on YouTube and slides are on GitHub.

In this series of posts I’ll explain why Haskell’s data types are called algebraic - without mentioning category theory or advanced math. The algebra you learned in high school starts with numbers (e.g. 1, 2, 3 …) and operators (e.g. addition and multiplication). The operators give you a way to combine numbers and make new numbers from them. For example, combining 1 and 2 with the operation of addition gives you another number, 3 - a fact that we normally express as When you get a little older you are introduced to variables (e.g. x, y, z …) which can stand for numbers.

Which hold for all values of x. When mathematicans talk about algebra, they mean something more general than this. Objects are the ‘things’ of the algebra. In high school algebra the objects are numbers and the operations are addition, multiplication and friends. The algebra of Haskell types Counting. Khan Academy.

Essay Martin Gardner.

Algebra

Analysis. CS. Probability Theory.