Short micro-blog posts that are more akin to a rant from your conspiracy theory neighbor than they are thoughtful prose.
-
Singly Linked Lists – Data Structures in PHP
Reading Time: 5 minutesAll code in this series can be found on GitHub Linked Lists are where we start our journey in PHP Data Structures. Simply put, a linked list is data that is sequentially organized in which the start of the list (head) contains a reference to the next item (node) in the list.…
-
Data Structures in PHP
Reading Time: 2 minutesData Structures are a hallmark of every computer science program at the university level, and it is unthinkable that throughout the course of study you will never encounter a specific data structure that you are unfamiliar with. As I return to school to pursue a degree in computer science I decided it…
-
5 Tips to Simplify Laravel Code
Reading Time: 3 minutes1. Simplify if/else statements When writing methods or functions that use if/else statements to check for a condition, we can clean up the function or method by using the shorthand version of a simple if/else like so: 2. Use Laravel’s exists() instead of count() to verify a model instance exists. When querying…