Archive for the ‘Technology’ Category
You’ve most likely become very familiar with some type of source or version control software when developing applications. These types of software keep track of changes and allow you to revert to old file versions. They also usually allow for branching and controlling the codebase in very intricate ways.
Read the rest of this entry »
Tags: svn
I’ve stumbled across some strange behavior in PHP 5 when calling a class method statically from an Exception’s constructor. In PHP, you’re not required to label a class’s function as static but you are still able to use it as a static function. Example:
<?php
class MyClass {
public function MyFunction() {
echo "You called MyClass's MyFunction";
}
}
MyClass::MyFunction();
?>
Now, the strange little … behavior I have noticed is that when you call a method statically from an instance of an Exception’s constructor, $this always references the instance of the Exception object. Read the rest of this entry »
Tags: PHP 5, weird
Visual Studio is awesome and allows you to load the source code of built assemblies (called Symbols) when debugging.
I just wish you could load the symbols during normal coding.
I hate reverse engineering
(but I love Intellisense)
Tags: ASP.NET, Visual Studio