Tag: powerbuilder


Hungarian notation gone terribly wrong – lust

I was working on some legacy code in PowerBuilder, when I saw the name of a user interface control (heavily anonymised and fun-ised): lust_staffname Let’s break that down: local (as opposed to global) user (I think? User-created as opposed to system/standard) static text (the Label equivalent in ASP.NET) I wonder what was going through that […]


If not using the database, please disconnect

I’m maintaining some Windows programs created by the PowerBuilder software. The original developer didn’t plan for the programs to be used by many people. So the instant one of the programs was run, a database connection to the Sybase database was opened. And left there. As more programs were created in this manner (and added […]