Saturday, May 7, 2011 at 4:30 AM Coding More and More...
It's definitely a quality shift happening during this week regarding my C++ studies. I was reading and watching lectures for a pretty long while, and did much less coding. This week it's definitely all about exercises and practice!
I actually prefer it to be this way, coding in XCode is relaxing and pleasant experience, I'd even say I enjoy it a lot! Also that Textastic app on my iPad for 'on-the-go' programming helps me to stay focused on a problem during my commute or when I have a small window of free time. I do rough prototyping on iPad as well (I use Notes+ for that purpose, and it works really well; however there are many great solutions out there!).
There is an important difference in coding in XCode and in Textastic, which I'd like to bring about this time. In the XCode it's very easy to track a bug or a typo, highlighted variables are easier to identify too, and of course you can just compile and see if the result is the one you want right away. This makes me less cautious about misspelling and typing in general. It also tends to soften my logics, or do less thinking about the algorithm.
Textastic does C++ highlighting, but it is limited to standard functions of the language and doesn't include variables. This makes it quite tricky to write a working program from the scratch. And you cannot actually debug it, since there is no way to do it on the iPad by any means. This all makes me to pay more attention to implementation of my logics, to do more preparations (sketching out the algorithm, or as I call it prototyping), be carefull about spelling, etc. For many people this would mean that it is completely useless waste of time to do this 'on-the-go' programming. But I also know that it will be very easy for me to debug my program later in XCode, so I tend to use up as much time as possible to code using Textastic, and I am sure it not only saved me time, but also increased my learning speed and quality of the study.
And speaking of Textastic (yes, I do like this app a lot, really great and thoughtout piece of software) it's going to be updated very soon, hopefully in a couple of days with many more useful features (Cyrillic code page support, just to name one which is quite nice for me to have now), and I am very excited to see it!