159 reputation
29
bio website ozemail.com.au/~markhurd
location Cherry Gardens, Australia
age 45
visits member for 4 years, 2 months
seen yesterday

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.


Oct
29
answered Should the sender of an event always be a generic Object?
Oct
2
comment Is creating subclasses for specific instances a bad practice?
Jimbo Wales is an example of this on Wikipedia: He has his own permission set under the grouping of Founder. It is very unlikely it will ever apply to anyone else, but it is still easier to manage in the long term to have a named permission set, even though one person could have individual permissions set.
Sep
17
comment Function only returns unchanged parameter, useless?
This got my +1 because I didn't notice it was language specific, especially because of the answers.
Sep
17
comment Is it okay to use exceptions as tools to “catch” errors early?
@kevincline Now this question has no relevance to me. If the OP wasn't intending to be language specific you're doing him a great disservice, and allowing otherwise duplicate questions in C#, VB.NET, Lisp, APL, etc.
Aug
6
answered When would you want two references to the same object?
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 approved 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 approved 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.