149 reputation
29
bio website ozemail.com.au/~markhurd
location Cherry Gardens, Australia
age 44
visits member for 3 years, 8 months
seen Jul 9 at 8:57

I have a background in VB and C and an Honours degree in Mathematical Sciences from Adelaide University, majoring in Computer Science.

I have over 15 years VB experience and have dealt with back-end details, including without using databases.


Jul
2
comment Zero behavior objects in OOP - my design dilemma
@supercat This is worthy of a separate question or a chat session, but I'm not currently interested in either :-( You say (in C#) "structures that implement interfaces behave differently from class objects that do likewise". I agree that there are other behavioral differences to consider, but AFAIK in code following Interface iObj = (Interface)obj;, the behaviour of iObj is not affected by the struct or class status of obj (except that it will be a boxed copy at that assignment if it is a struct).
May
28
comment Programming Language vs Markup Language vs Scripting Language
@Izkata I wouldn't say homoiconicity itself changes the possibility of compilation, but rather the metaprogramming it allows means much compilation needs to be deferred to runtime, if at all.
Feb
8
revised What's the difference between syntax and semantics?
Whitespace; typo
Jan
29
comment Exception handling in a program that needs to run 24/7
Yes, but the situation like a "physical cable was pulled out" is exactly when you just want the exception log to fill up until someone puts the cable back in, then things start working again, with out further manual restarting of the application.
Jan
22
revised Does Lisp still have any special feature which has NOT been adopted by other programming languages?
Add Danny's comment (which does answer the question) from my deleted answer (which did not -- at least not directly).
Jan
22
awarded  Citizen Patrol
Jan
22
suggested suggested edit on Does Lisp still have any special feature which has NOT been adopted by other programming languages?
Jan
2
awarded  Critic
Sep
14
comment Is CType() ever the preferred option?
Microsoft originally suggested DirectCast was a back-end construct that you don't need to know about -- just use CType. But everyone who understood the difference used DirectCast when casting. The point about CType is that it can try both conversion and casting, if required. So when you really don't know what could be in an Object you might just use CType to allow the best possible chance of getting valid data rather than an exception.
Sep
4
answered When using your own API (Dog Fooding). How do you avoid giving away the secret key?
Aug
21
comment How to handle divide by zero in a language that doesn't support exceptions?
@RossPatterson But a beginner can easily say 1/0 -- you have to do something with it. There is no possibly useful result other than Inf or NaN -- something that will propagate the error further into the program. Otherwise the only solution is to stop with an error at this point.
Aug
14
awarded  Excavator
Aug
14
revised Do I own copyright of program I made in own time?
Change **** to _{redacted}_
Aug
14
suggested suggested edit on Do I own copyright of program I made in own time?
Jul
31
comment Why do old C-style method names continue being used in modern languages?
first and rest are often used instead of car and cdr, but not enough to invalidate your argument.
Jul
5
comment Is fewer lines of code always better?
To see @Strilanc's intended effect without reverting again see his original version.
Jul
4
comment What are some ramifications of open source software turning into closed source software?
@l46kok I undid my upvote for your comment because Reflector was never open source, just free as in beer.
Jul
4
comment Do people in non-English-speaking countries code in English?
Yeah, as an Australian I refer to Colour, Cancelled, and Dialogue box.
May
1
comment Is the algorithm more important than the programming language?
Preparation is important when possible. With Google Code Jam I have a small library that reads input and displays output as they want it, and I include that code in my submission.
Mar
7
comment How many are too many nested function calls?
@JohnR.Strohm However the OP has tagged the question .NET, so AFAIK only the 64-bit jitter does tail call optimization at the moment.