Archives for the 'Software engineering' Category

Javascript Super Mario

You think Javascript is only good for popping an alert if the user didn’t fill in his form properly?
Check this out. Use left, right and up keys to move and jump.
When I was told that this was implemented purely in Javascript, I was like, “wha ..? how ..?“
After I took a look at the source […]

15 April 2008 | Software engineering, Javascript | No Comments

The Battle Against Entropy

By Matt Buonomano, Software Architect

Software over time:

 
1
(so pure in the beginning)

 
1 + 2x
(randomness enters …)

 
1 + 2x + x2
(randomness dominates …)

We must refactor:

 
(1 + x)2
(complexity not removed, but managed …)

10 April 2008 | Software engineering | No Comments

My Take on Visual Studio 2008

I just finished five days of Visual Studio 2005 (.NET 2.0) training, with a day of Visual Studio 2008 (.NET 3.5) sprinkled on. My take on VS2008 are as follows:
First, AJAX integration is very tight. I have actually done AJAX the manual way before (with PHP) and I appreciate how much coding VS has […]

26 February 2008 | .NET, Software engineering, C# | No Comments

Difference Between C# and VB

This is a beautiful interview trivia question: What is the major difference between C# and VB?
Answer: In C# you can write “unsafe” code, i.e., code involving pointers, whereas in VB you cannot.
Update 20 February 2008
Also, VB does not have anonymous methods.

19 February 2008 | .NET, Software engineering, C# | No Comments

Alert Box As Soon As HTML Page Loads

One way to display a dialog box as soon as an HTML page finishes loading is to place some Javascript code right before the </body> tag. However, this might cause the browser's progress bar to make it seem like the page is still loading, which goes on until the user dismisses the dialog box.
The solution [...]

18 September 2007 | Software engineering, Javascript | 2 Comments