Slashdot Mirror


User: ken_mcneil

ken_mcneil's activity in the archive.

Stories
0
Comments
30
First seen
Last seen
Profile
(view on slashdot.org)

Comments · 30

  1. Re:But is assert() portable? on Bounds Checking for Open Source Code? · · Score: 1

    assert and NDEBUG are part of the ISO C standard, and if assert is not defined on a platform it is trivial to implement yourself.

  2. The solution to most of your debugging needs! on Bounds Checking for Open Source Code? · · Score: 5, Informative

    An excellent general solution I've found for problems of this nature can be found at "file:///usr/include/assert.h". Seriously,
    preconditions, postconditions, and invariants are the best approach to avoiding such errors. Will a bounds-checker detect if you access an element that is out-of-bounds in a view (subarray) of a larger array? Also, if you are developing a library, using assertions will also greatly assist any end-users who are not using a bounds-checking tool.

  3. Not true! on What Free Cable? · · Score: 1

    I'm a Time Warner customer in Austin. For about two years I had digital cable and recently I switched to just RoadRunner. The guy that installed the cable modem was even nice enough to leave me a splitter. Thanks :-)

  4. Almost made that mistake on Techies Saying No To College · · Score: 1

    I'm a college sophmore who just about dropped out. I was tempted to work at an Internet start-up. Being really good as a web developer and knowing that that's what I wanted to do I didn't see any reason why I should keep going to school. After being slapped around by some people and thinking about things for myself I came to a realization. What I'm learning in college is not just related to my field (EE), it's everything else English, economics, business, all the leasons in life, etc. that I'm really here for. This may sound corny but, I don't think I'm going to be a better programmer when I graduate but I'm sure as hell going to be a better person. And I'm know that when I'm done I will be able to go much farther in life because of those extra experiences.

  5. Been there, done that... on Coding Classes & Required Development Environments? · · Score: 1

    I was in the exact same situation about a year ago. My assignments were going to be graded using CodeWarrior 5 and my box at home was a GNU/Linux setup. Being lazy I didn't want to go to the campus computer labs to do the work so I did it at home and just tested them with CodeWarrior on campus before I submitted the assignments. The only real problems that I ran into were differences in the completness of the implementation of the standard C++ library and template support.

    However, my situation was a little different because they didn't give me a free copy of CodeWarrior with the purchase of the text we used. So, if you have access to a Windows box close to you that you could install it on it may be worth the trouble to use Windows to develop for the class, if you aren't too confident in your ability to hunt down these little issues.