Archive for April 4th, 2006

Cool furniture

I was looking for a table for my laptop when I came across this site: Commercial Folding Tables . Some of the tables on there look really good. What I am looking for is something to put the laptop on while I am sitting down and watching tv; it gets too hot if I use it for a long time.

Add comment April 4th, 2006

NAVMAN - a marine chart plotter

I have always thought it would be cool to have a boat of my own. Maybe it is because my dad was in the navy or something like that. The funny thing is that I have never been on a boat, unless you count a paddle boat as a ‘boat’.
Anyways; I was surfing around the web for some marine electronics and came across these chart plotters. The funny thing is that one of the companies is called NAVMAN. :)

2 comments April 4th, 2006

Mother’s Day

This year, Mother’s day is on Sunday, May 14 2006. I am posting about it a more than a month in advance; so now you can’t say I didn’t know when it was. Have you been thinking about what to get your mom? Do you have any ideas? Flowers always make for some good gifts: mothers day gifts . So go ahead, start shopping for those mothers day gifts.

2 comments April 4th, 2006

Are you ready for it?

This Wednesday morning (and afternoon), at 2 minutes and 3 seconds after 1; the time will read: 01:02:03 04/05/06

This will happen in early morning and afternoon. What will you be doing to mark the moment? :)

Add comment April 4th, 2006

C++ coding standards - Include Files

We are going to be starting a new project at work this quarter. This is going to be a huge project with 4 developers working on it (2 of them full time). One thing we are trying to do is to come up with some coding guidelines so that the final product is consistent. I am in charge of putting together a list of these coding standards so that we can all agree on them. Here is the initial list that I came up for C++ Include files .

Guidelines

  • The name of the include file must match the name of the class.

    • Car.h contains Car class
  • Make an attempt to hide all private member variables and functions inside the d ptr. Your include file should only public interface.
  • The include file must not contain any implementation details of the d ptr of a class.
    The only mention of the ‘d ptr’ should be as a private variable of the class and as a forward declaration.
  • Do not include any more files than you absolutely need. Make use of forward declarations as much as you can.
  • For access functions; use the ‘get()’ and ’set()’ naming notation.

    • getBalance, setBalance, getName, setName etc.
  • Name of include guards should be all caps.

    • #ifndef CAR_H
  • The class hierarchy should be defined in terms of most accessible and least accessible functions.
    • public
    • protected
    • private

So this is the 1st draft that I have put together. What do you guys think? Are there any that you disagree with? agree with? What are some that you use in your projects?

3 comments April 4th, 2006


Calendar

April 2006
M T W T F S S
« Mar   May »
 12
3456789
10111213141516
17181920212223
24252627282930

Posts by Month

Posts by Category