1,354 reputation
514
bio website pdghelicopters.com
location Scotland, United Kingdom
age 51
visits member for 2 years, 11 months
seen 9 hours ago

After scraping through an engineering degree I spent a lot of my time working for accountants.

I'm currently working for a Helicopter Charter Company where mobile web solutions are really useful.

Most of my current expertise is with Delphi 7 / MySQL / Java / Tomcat with bits of PHP and all kinds of odds and sods.


Sep
10
comment Is it ever OK for a conditional to have side effects?
There are idioms used in various languages that would fall into this category, but because they are "well known" or "normal" do not cause problems. The line in the question doesn't seem to fall into the idiomatic use category so I'd avoid it.
Aug
28
awarded  Citizen Patrol
Aug
25
comment How to know whether to create a general system or to hack a solution
Not really an answer but something to consider: en.wikipedia.org/wiki/You_aren%27t_gonna_need_it "Always implement things when you actually need them, never when you just foresee that you need them"
Aug
22
awarded  Quorum
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
@JanHudec Writing the site in C is very different from making sure you have the correct indexes on your database. And yes some sites (eg Facebook) do rewrite sections in more efficient languages.
Aug
18
comment In the days of modern computing, in 'typical business apps' - why does performance matter?
You only optimise once, but you pay the electricty bill every month.
Aug
18
answered In the days of modern computing, in 'typical business apps' - why does performance matter?
Aug
11
comment Is splitting up a function into several inner functions an anti-pattern?
Reading a series of meaningful function names {loadData(); doCalculation(); printData();} is far more readable than figuring out what each section of code does each time you read it. Most compilers will inline the functions during optimization so there is no performance loss.
Aug
11
comment Is splitting up a function into several inner functions an anti-pattern?
The benefit is to make code easier to read and more maintainable. following logic through a large function is more difficult than tracing through several small functions.
Aug
7
comment Why are deadlines always so short?
You could try asking to see the calculation for time allowed.
Jul
9
comment Designing database related methods, which is better to return: true/false or row affected?
In your "A.2". If zero rows are affected, why is that a failure if zero rows need to be affected? In other words if there is not a database error, why is it failure?
Jun
18
awarded  Good Answer
Jun
17
awarded  Nice Answer
Jun
17
answered Why do so many hashed and encrypted strings end in an equals sign?
Jun
17
comment Open source license limitations and compatiblity
This is a pretty complex question. The BSD license allows you to take to code proprietary, the LGPL only allows the LGPL. But it depends on whether you are changing any of the components or just distributing them. So you need to be much more specific and particularly if you have money involved in this project have some time with a Lawyer. I know that doesn't sound helpful, but realistically nobody here can give a definitive answer.
Apr
21
revised Delphi 7 using RAM for database
added 438 characters in body
Apr
21
answered Delphi 7 using RAM for database
Nov
14
awarded  Yearling
Jul
28
comment Openning an Excel File (Like it opens in MS office when double clicked) but using java
If this answer solved your problem, please mark it as correct.
Jul
26
revised Openning an Excel File (Like it opens in MS office when double clicked) but using java
edited body