129 reputation
8
bio website
location United Kingdom
age 32
visits member for 4 years, 7 months
seen Apr 30 at 10:31

If you need to contact me, you know what to do... stackoverflow@soware.co.nospam.uk

There's always so much more to learn


Mar
30
comment Difference between '\n' and '\r\n'
@DavidThornley Because \r\n is more likely to work cross-platform (\r for older macs, \r\n for windows and \n for *nix).
Mar
30
comment Difference between '\n' and '\r\n'
@dan04 Opening/displaying a files using \n is easy, but what happens when you save it? Either you change all \n to \r\n and break the the Principle of Least Astonishment, or you attempt to remember which line endings this particular file uses (what if it's mixed?). There isn't a particularly pretty answer without making notepad more complex than it is. That's what WordPad is for (and it does correctly handle \n). It's just unfortunate that WordPad has other usability issues...
Mar
30
comment Difference between '\n' and '\r\n'
Printers were so much better back then; youtube.com/watch?v=lTxqQ3ALVcU (Not at actually printing of course)
Feb
18
awarded  Critic
Feb
18
comment Why aren't there explicit access modifiers in Python:
@Vector It's hands-down the best glue language I've come across so far, but I wouldn't use it build much more than a service which coordinates other, more complex processes. The woeful threading model alone makes it unsuitable.
Dec
29
comment What are the factors that have made Java a success as a programming language in enterprise computing?
By allowing hordes of unskilled "developers" to work by rote and get something that works. Note that I'm not saying all Java devs are unskilled, merely that Java lowers the bar considerably. Personally I think that's a bad thing but it's managed to get a lot of software running using relatively cheap labour.
Dec
8
comment Why are some saying that Java will be the new COBOL?
@Dynamic add to that, Java is designed around the concept of protecting developers from themselves. Unsigned int/long? Too advanced. Closures? Not really. Lambdas? Utterly useless until they weren't. Generics? No... Well, it looks like it but really... No. Don't get me wrong, it has its place (as far as I can tell, it's when you've got a massive team of mediocre developers and code consistency/implementing a standard is more important than getting something working elegantly/quickly).
Dec
8
comment Why are some saying that Java will be the new COBOL?
You should try C# sometime... Al the benefits of Java/static typing but with half the keystrokes and a slew of well implemented abstractions that Java either lacks or does in a half-assed way. (That's all about the language... The Jvm mostly rocks. I just wish it could dynamically allocate more memory when required)
Nov
26
awarded  Excavator
Nov
26
revised How do I convince my teammates that we should not ignore compiler warnings?
Grammar and a trivial change to skip the length filter (man I miss my SO rep)
Nov
26
suggested approved edit on How do I convince my teammates that we should not ignore compiler warnings?
Oct
18
comment Keep a programming language backwards compatible vs. fixing its flaws
To expand on @tieTYT's comment, Python's 2to3 tool is largely acceptable but not perfect and misses optimisations. Unfortunately, if you're writing libraries not apps, using it means you can no longer support Python2 without either 2 different codebases or accepting that your Python3 code will be suboptimal until you can drop Python2 support. This is one of the major reasons so many libraries have been so slow porting over. Six years on and it's still hard to get good library support, which has crippled adoption of Python3
Sep
24
awarded  Autobiographer
Sep
19
comment What do you think was a poor design choice in Java?
@MebAlone nginx?
Sep
19
comment How to fix poorly designed software?
"Open Source projects are a very good source". Sometimes. I've seen some truly excellent and innovative code in OSS but at the same time, I've seen some really awful architectures that are there because features have just been bolted on ad-infinitum. Patterns & Practicies is definitely worth a read (don't worry if you don't understand all of them to start with, you'll start to see problems where you think "aha!")
May
15
comment How to avoid “DO YOU HAZ TEH CODEZ” situations?
I had a similar situation but the asker would do a round-robin of other devs "I've got this far, can you help with the next bit"... After sitting him down and having a frank discussion, he admitted he only wanted enough time in the job on his CV to go for a ministerial position in S. Africa... He even asked me for a LinkedIn recommendation when he left the company!
Oct
23
comment Why aren't there explicit access modifiers in Python:
@keppla That just means that the implementation is questionable, it doesn't mean it's the way it should be.
Oct
1
awarded  Scholar
Oct
1
comment Definition of distribute in relation to the GPLv3
Thanks for the detail, after seeing your comments on the OP, I found details of the loophole. In the interests of "not being an a$$hole", I'm willing (nay eager) to provide enhancements we make to the library back to the community, but I can't quite justify giving away 3500+ hours of paid developer time for the use of a library method. In any case, thanks - I appreciate the clarification.
Oct
1
accepted Definition of distribute in relation to the GPLv3