Overview for 'igor'
Written by igorw
/ Original link
on Aug. 24, 2019
Re: Recursion instead of goto Why hello! Thank you for asking this most excellent question! I have indeed considered alternatives to the goto. I have evaluated them to a great extent, and I am happy to present the results to you here. When the PHP parser reads a source file, that source code is com…
Written by igorw
/ Original link
on Aug. 24, 2019
The Right Way Community It's a word that a lot of people like to throw around as something they believe in. It's a fuzzy word that makes humans feel warm and fuzzy inside. It is a way for a group of individuals to co-exist in a space of shared values. Communities are useful, they unite us. They def…
Written by igorw
/ Original link
on Aug. 24, 2019
Reasoned PHP Using logic to run your programs backwards! This is a transcript of a talk I gave at the Berlin PHP usergroup in August 2014. Logic This presentation is going to be about using logic to run your programs backwards. Let's begin with talking about logic. One of the first logicians was Ar…
Written by igorw
/ Original link
on Aug. 24, 2019
Functional Library: Null Tony Hoare famously described the invention of null references as a Billion Dollar Mistake. Nulls are something we need to deal with in almost any language. Any value that can be null must be null checked. An example of a very common error that will arise when nulls are pre…
Written by igorw
/ Original link
on Aug. 24, 2019
Functional Library: Traversal Traversing associative data structures in PHP is fun. Said no one ever. The problem is a common one if you're processing any kind of data, for example a response from a JSON API. You need to access some nested structure, but you don't know if what you're accessing actu…
Written by igorw
/ Original link
on Aug. 24, 2019
Functional Library: Iteration Welcome to the functional library. This series will explore the state of functional programming in PHP and highlight some libraries for common tasks. This post will look at iteration and lazy operations based on a sequential abstraction. Sequence Yes, you heard right.…