Articles tagged with: Patterns & Practices

Arrays in PHP, or to be precise, Collections in PHP

Summary: Explains the difference between traditional arrays and key-value collections in PHP, and how to properly handle them using foreach loops and the ArrayIterator class.


The problem of untyped languages: PHP empty() function

Summary: The problem of untyped languages like PHP, exemplified by the empty() function, which can lead to unexpected results.


You know something is not well...

Summary: A reflection on the challenges faced by developers when dealing with disorganized code, lack of documentation, messy applications, and reliance on individuals for crucial information.


Dictionaries and GetHashCode()

Summary: A lesson learned about the importance of overriding GetHashCode() method when comparing objects in .NET.


Book Review: The Pragmatic Programmer

Summary: A review of the book 'The Pragmatic Programmer'.