Posts in category development - page 6
How old were you when you first started in programming?
Some time between 10 and 12 when my father bought home a ZX Spectrum and I ended up delving into the excellent programming manual when I finally ran out of games to play. At the same time my school opened up the computer room at lunchtimes…
What was your first programming language?
BASIC on the Sinclair Spectrum (evenings) and BBC Micro (lunch-times and after school). Multi-platform from the outset ;-)
What was the first real program you wrote?
Probably the MultiFile +3 disk & file management tool for the Spectrum in a mix of assembler and BASIC but I was also creating menu and copy protection for the BBC Micro around the same time.
I also trashed an expensive 3” disk drive at the time with a small bug in my end-of-disk detection code that resulted in the drive trying to step itself beyond the end several times and knocked it out of alignment.
What languages have you used since you started programming?
Well I’ve *used* the following although ones in italics for only brief periods involving one or two small applications.
- BASICs: Sinclair, BBC, Microsoft, QBASIC, Mallard, QuickBasic, ASIC
- Assemblers: Z80, 6502, 8051
- Visual Basic, VBA, VBScript, VB.NET
- Turbo Pascal, Delphi, SQL, PHP
- COBOL, RPG, SmallTalk, Algol, Prolog
I’m not sure if XSLT/XPath or RegEx’s count.
What was your first professional programming gig?
Writing IBM AS/400 (iSeries) banking applications in COBOL age 17 joining a team where the leader was already known as the Kindergarten Cop as everyone in his team was “only 23-25”. I got to delve into the kernel, general ledger and securities systems eventually single-handedly developing intricate multi-base-currency support leaving days before my 19th birthday. (Okay, a little pride there ;-)
If you knew then what you know now, would you have started programming?
Without a shadow of a doubt.
If there is one thing you learned along the way that you would tell new developers, what would it be?
Enjoy the journey, new languages are going to come and go so learn them just-in-time ;-)
It’s a shame computers and languages are more complex now but with the Internet and great books available there is no real barrier to entry.
What’s the most fun you’ve ever had programming?
Any application that brings a smile to a users face :)
Some ‘interesting’ moments have been revisiting school-level physics for a pool game and an on-the-fly domain class construction system for an international configurable payroll package.
Who am I calling out?
I’m not sure any of them are reading my blog any more but you never know ;-)
In order that applications and operating systems shall not drive users insane, thou shall:
1. Allow immediate termination
I hit the wrong button. I changed my mind. I didn’t know it would take this long.
Either way, the operation needs a cancel button that causes immediate effect and quickly clean up what it can.
If it was copying or uploading a file, delete what was done. For database operations, rollback the transaction. Formatting a disk leave it half formatted and un-format the first sector but do it FAST.
If you think the consequences are too great, ask what effect forceful termination or switching off the power is going to be like in comparison.
2. Leave start-up alone
I’ll do that right now; just let me log in… Zzz… Sorry. It should be done in a minute. Sigh.
Your app might be the centre of your world developing day and night – it’s not the centre of mine.
I might use it for several hours a day if you’re lucky. That doesn’t mean I want it starting automatically unasked.
It also doesn’t mean you can install services, background tasks or other junk that prevents me from doing what I need when I’m in a hurry and running with a low battery.
If you need to check for updates, do it silently in the background when I launch the app or add something to the Windows scheduler. Don’t create an entire service.
3. Not modify existing file associations
I tried that last time, and it screwed up my associations. I’m not going to try the new version no matter what.
I might want all video files to go through your app. I might not.
Let me make that choice and reverse it. If I uninstall your program, reverse it automatically and clean up the registry.
Associating every media file on my system with your app isn’t going to wow me. It isn’t going to make the sale or make me believe my system can’t live without your software.
There may be incompatibilities. Features you don’t support or perhaps a clunky UI, and I’ll uninstall your app to go back to my old favourite.
When all my associations break, you can’t bet I won’t be coming back to see what you’ve done in version 2.
4. Not ask inappropriate questions
Do you want to move or copy files from this zone? Yes or No.
Zone? What? Err, copy please. What do you mean, Yes or No?
I just performed a non-destructive operation, and you want me to confirm it?
Do you want to remember your password?
An insanely stupid question that appears after a login box doesn’t have a password stored, either because:
- I don’t use the feature but can’t switch it off (never ask me again)
- I’m not on my own computer (shut up for 30 minutes)
- I have a new machine and haven’t typed it for months (ask me in 10 seconds when I find out if it’s right)
You rarely get useful options, but at least Firefox 3 realizes it should ask quietly at the top of the page after you can see if it worked.
5. Keep noise to a minimum
Windows has installed updates! AVG Anti-Virus updated successfully.
Business-as-normal – I DON’T CARE.
If there is a problem updating, let me know – unless it’s something simple that goes away without my involvement in a day or so.
People don’t call or message me day in and out to tell me nothing, neither should my computer.
This also goes for audio notification of trivial activities.
Don’t annoy people in their offices and homes with stupid noises just because somebody on the other side of the world has logged in.
6. Stay focused on the goal
The instant messaging crown was taken from ICQ because they overloaded the client with games and junk. People wanted simple messaging, but by the time they figured this out and delivered ICQ Lite, it was too late.
REAL repeated the same blunder where a good video player expanded to consume all available files, starting messaging me and breaking every commandment there is.
Adobe believes Acrobat should be more than a quick PDF viewer for physical page reproduction. They built a piggyback mechanism for a whole document management system. People don’t want their web browser locking up for 20 seconds while they load plug-in’s they’ll never use.
7. Make actions obvious and reversible
I don’t want a dialogue box with some sob story about why your app can’t do what I just asked or three paragraphs of text I have to scan for negatives, digest and mentally figure out what Yes and No will actually do.
Even worse is prompting a slightly different message with the same Yes and No options sending the user to the button they normally hit for a totally different message with potentially disastrous results.
If Yes is doing to delete the file label the button Delete. Dialogs in OS X do this, and you can answer them lightning fast with accurate results.
Better yet, just do it, put some text in the status bar, update the UI and learn how to write an undo mechanism.
8. Avoid restarts
If your application absolutely has to install a service, start it yourself.
If common files you are installing might be in use, check them or, better yet, put them in your own application folder.
9. Make configurations count
Adding options to your application is a choice to a certain point. Beyond that, it causes people to be unable to find the option they are looking for, becoming bewildered at the choices available before quickly heading to the close button instead.
If you absolutely must have extra options that only a small percentage of the population care about, just store them in the configuration system and forget about giving it presence on the user interface.
10. Adhere to the platform
Read user interface guidelines and only deviate when you know better than the expert team behind them. If you have to explain it, then you didn’t know better after all.
If the operating system has conventions for files, configuration and help, use them. Don’t claim that being the same across platforms is more important – people who use more than one platform know and expect them to be different already.
If you want to use an update, notification, or other commodity services, find what is already popular and a good fit and use that, don’t develop something different.
Work on my Envy Code R programming font has resumed and I’ve spent hours playing with the hinting process to ensure it looks good at sizes above and below 10 point:
These look great – even more so when you consider there are no embedded bitmaps and very few delta hints.
There is still a lot of work to do – all the foreign characters, symbols and box-drawing characters (another 600 glyphs) require hinting and I should test it on the Mac, Java and Flash font rendering engines to make sure there are no show-stoppers there.
Preview 7 will consist of
of just a plain style regular and bold because I need to get this out – it’s been too long since the last release. Preview 8 will add back italics and the Visual Studio italics-as-bold hack shortly afterwards.
A newer version of Envy Code R is available.
Safari 3.1 has just been released and besides the partial CSS3 (fonts) and partial HTML5 (media tags, off-line storage) support there are some new developer tools included.
Safari has had a hidden Debug menu for some time and WebKit featured developer tools but with 3.1 Apple have unleashed them to the masses.
Head into Preferences > Advanced and choose Show Develop menu in menu bar to get this new Develop menu.
- Open Page With (Internet Explorer, Firefox 2/3, Camino, Mobile Safari etc.)
- User Agent switching
- Show Web Inspector (inspect element)
- Show Error Console (including HTML errors)
- Show Network Timeline (like Firebug’s network view)
- Show Snippet Editor
- Disable Caches/Images/Styles
Here’s the Network Timeline in action on OS X:
There are some odd drawing issues within the snippet editor and inspecting from the inspector on Windows but with this, Firebug and Internet Explorer 8’s Developer Tools we’re spoiled for choice!
And no, it doesn’t pass the rather abstract Acid3 test