Our desire for certainty can make us terrible planners

Memory, Image Theory, and the empty pursuit of certainty Midjourney Sometimes it feels like all we do is plan — and then plan for more planning. But what are the cognitive mechanisms we use to ‘plan’? and are they optimized for getting things ‘right’? If we were optimized to be right, we probably wouldn’t be so quick to… Continue reading Our desire for certainty can make us terrible planners

Functional Programming in PHP With Lambda Functions

* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} One of the nice things about programming is that the same problem can be solved using multiple methods. This allows people to show their creativity and come up with incredibly efficient and unique solutions. Examples of this can be seen in action when you look for programs… Continue reading Functional Programming in PHP With Lambda Functions

Understanding Variable Scope in PHP

Variables are an important part of any programming language. You can use them to store all kinds of information like integers, floats, strings, arrays, the contents of a file, etc. The data stored in variables can then be manipulated by adding or removing information. Using variables also allows us to create loops and perform some… Continue reading Understanding Variable Scope in PHP

Functions in PHP: Return Values and Parameters

Functions are an important part of programming languages. They help us avoid code duplication by allowing us to run the same set of instructions over and over again on different data. In this tutorial, we will talk about functions in PHP. We will cover all the basic concepts of functions in PHP, and you’ll learn… Continue reading Functions in PHP: Return Values and Parameters

Start With These Courses and Tutorials

For those looking to build hybrid mobile apps, Ionic is one of the first frameworks that you’ll run into. There’s good reason that it has gained significant usage among developers looking to create apps for several mobile devices from a single code base. Ionic has a number of features that go beyond other offerings though,… Continue reading Start With These Courses and Tutorials

TypeScript for Beginners, Part 2: Basic Data Types

* { box-sizing: border-box; } body {margin: 0;}*{box-sizing:border-box;}body{margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;} After reading the introductory TypeScript tutorial, you should now be able to write your own TypeScript code in an IDE that supports it and then compile it to JavaScript. In this tutorial, you will learn about different kinds of data types available in TypeScript. JavaScript has seven… Continue reading TypeScript for Beginners, Part 2: Basic Data Types