Archives for the 'Software engineering' Category

Java as Fast as C++?

Quoting Steve Yegge’s talk at Stanford on 7 May 2008:
[I]t’s interesting because C++ is obviously faster for, you know, the short-running [programs], but Java cheated very recently. With multicore [processors]! This is actually becoming a huge thorn in the side of all the C++ programmers, including my colleagues at Google, who’ve written vast amounts of […]

14 May 2008 | Software engineering | No Comments

ASP.NET ViewState Misconception

A very common misconception amongst ASP.NET page developers is that ViewState must be enabled to persist values across postbacks.
This is not true. Try this: on an .aspx page, add a textbox and a button. Your code should be similar to the one as follows:
PLAIN TEXT
HTML:

<body>

    <form id="form1" runat="server">

        <div>

      [...]

13 May 2008 | Software engineering, ASP.NET | No Comments

FAD

Here's an acronym that's music to a developer's ears: FAD (functioning as designed).
It usually arises due to something that QA thinks is a defect, but actually isn't. So if it's FAD then nothing is broken; nothing needs to be fixed.
Or, to put it another way: "it's not a bug, it's a feature!"

6 May 2008 | Software engineering | 1 Comment

Converting ASP.NET Web Applications from .NET Framework 1.1 to 2.0 and Above

When converting an ASP.NET web application from version 1.1 of the Microsoft .NET Framework to version 2.0 and above, the Visual Studio Conversion Wizard will convert your web application into what is termed a Web Site. In Framework 2.0 and above, ASP.NET apps come in two flavours: Web Site and Web Application Project [1]. The [...]

16 April 2008 | Software engineering, ASP.NET | 1 Comment

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

idea rumah