Made to Order Software Corporation Logo

setting

Really… What is a goal?

I’m writing this blog after meeting with a few people with great experience at the NCAE networking group in Roseville.

I have been in business for quite some time now and I have read many things about goals. But what is a goal? How do you set a goal? How do you make sure that you reach your goals?

So, let’s start by setting a goal.

“I want a home worth $1.2 million dollars”

Ah! Is that really a goal?

The truth is that this is so blurry that it cannot be a realistic goal, at least not for most people. This does not mean you won’t be able to get the home of ...

The assert() macro in C/C++

 

This is a subject that comes back all the time in C/C++ boards.

Should you use assertions?

The answer is clearly yes. But the C/C++ assert() function is usually defined using a macro. Macros have several problems. The most common ones are: they offer no type checking, they do not warn you about weird side effects, they have a different syntax than the C/C++ language itself.

One good thing: for a fast program, the debug code used to check parameters, results, etc. is gone.

One really bad thing: if the expression in the macro has a side effect, the release program is different from ...

HTML Forms and the action attribute

Today I had to debug a set of HTML pages. One feature of a website would not work with Internet Explorer. The code was like this: