Everyday Coding....

Woke up in a shitty mood this morning... but oh well.... it got me up and moving.....

So far, no coding ideas today, and I'm frustrated at the project I'm currently on. So, I've been avoiding it for a few days, coding in small increments, changing code here and there, but the output isn't right. Every time I think I'm close to fixing the bugs, I discover something else is wrong. Maybe I should elaborate first, some may be confused... I like to write at least one Program/Application a day, keeping myself working on code everyday, and learning from my coding mistakes.

Now, the big project I'm working on, well it's not really big, but the way I'm writing it is to build the string to be outputted, then manipulate, stored and compared to the word saved in the wordBank[] array. And to be outputted once again, all blanks will become " _ " character, and scanned left to right by character. So, in turn then original variable is declared as a string, becomes a char array, scanned, and pushed back into a string after the underscore character replaces all blank characters. It's supposed to be a console hangman game, and there are by far a variety of easier ways to code it, but I decided to stick to my original approach for its efficiency, performance wise it's quicker. and I thought why not take the more challenging route. There is more to be learned that way.

Moving on to today's project, I need to ask myself.... What kind of coding project would interest me, drive my motivation, and make me proud to show other programmers? I'm searching for ideas through google, brainstorming possibilities, browsing challenging tasks.... Doesn't help that my girl is watching Stephen King movie, you can't tell me you wouldn't be distracted as well :P





Comments

Popular Posts