Begin with the End in mind: Code

I have put a lot of effort into becoming proficient with C++ of recent. One of the ways to become confident is to build applications. I decided to write a program to simulate the ATM. Users would be able to withdraw money, deposit, transfer to another customer and check account details. I thought it would be easy but it turns out, it is actually not that easy if you don’t plan it all from the beginning. That’s the most important lesson I have learnt from this. There is a need to have a very clearly defined end-goal and if possible design everything from the beginning with this in mind, top-down. I realized I didn’t have this as I was building. I was still making decisions on what functions to write and how to use them. Part of this has to do with a lack of familiarity with using sqlite3 with C++ (is that really an excuse? ) . I know that next time, I would have to do a lot more design before I code.

Programming Competitions and smartness

‚ÄčI think this is going to be my last programming competition for a while. I’m done banging my head on problems and not solving them fully. It’s affecting my morale and I have too much of a competitive steak (seeing other people solve it doesn’t make me feel good). I would love to see myself as a smart person. It’s a central part of my identity but these contests keep laughing at me. I don’t feel smart. It’s distracting. 

This is not a I give up.. but rather a I’m giving this a rest. I have high expectations of myself and I’m not meeting them. Maybe I need to read more stuff and then try them out later..  or really… Stop taking these challenges so Seriously!!! Argh! 

There are other things to do. Other stuff to learn. Better ways of spending my time rather than just banging my head repeatedly for hours trying to solve problems that at the moment seem to be intractable or not to be..always so close yet so far away. Argh!. I’m done after this contest. On to more productive stuff. I have to look for projects I can contribute to.