I found out yesterday that Google Chrome (also called Chromium) is open source ... I decided to look at the code ...
This experience made me realize that using design patterns, macros, heavy object orientation can be good, but also that it can be a bad thing. Google Chrome is such a large scale project that the leading developers need to use object orientation to that extent, but in small scale projects (i.e. solo projects) there is nothing wrong with using code like
if( A ) then B
else if ( C ) then D
instead of using objects for the same simple purpose. The point I realized is that just because it is heavily object oriented does not mean that the logic is correct.
The question is really, what should a solo developer do when faced with the task of writing a potentially commercial app? Heavy object orientation or good plain 'ol code? I am really not sure. I think that actually the good plain 'ol code technique is much more flexible ... so perhaps old-school procedural programming (i.e. everything in one big page of logic) will make a come-back later with the title "flexi-code".
Friday, 28 October 2011
Friday, 21 October 2011
Text Control Blues
I found out earlier that I was calling GetTextExtent( textString, &length, &height, &extent )
on an empty string! The "height" variable was very important to my program.
on an empty string! The "height" variable was very important to my program.
Friday, 7 October 2011
Website unsused ...
I am thinking about improving the theme on this page (still unused). The problem is that the site layout is very art-dependant.
http://superlifefood.co.uk/
http://superlifefood.co.uk/
Monday, 3 October 2011
Blue Screen of Death!
The windows 8 blue screen of death has a new face ...
http://www.digitaltrends.com/computing/windows-8-blue-screen-of-death-gets-a-revamp-and-a-sad-face/
This means your computer is badly broken ...
Anyway ... here are some images of the older blue screens...
http://www.google.co.uk/search?q=blue+screen+of+death&hl=en&biw=1366&bih=667&prmd=imvns&tbm=isch&tbo=u&source=univ&sa=X&ei=c3iKTrjYBeit0QX167C9BQ&sqi=2&ved=0CFgQsAQ
http://www.digitaltrends.com/computing/windows-8-blue-screen-of-death-gets-a-revamp-and-a-sad-face/
This means your computer is badly broken ...
Anyway ... here are some images of the older blue screens...
http://www.google.co.uk/search?q=blue+screen+of+death&hl=en&biw=1366&bih=667&prmd=imvns&tbm=isch&tbo=u&source=univ&sa=X&ei=c3iKTrjYBeit0QX167C9BQ&sqi=2&ved=0CFgQsAQ
Tuesday, 20 September 2011
Interesting tools
Some interesting tools available for catching chess cheaters,
http://chesstools.wordpress.com/
The tool still only processes to depth 3, however the results show that known cheaters do show up ... I tested this and hopefully some updates will be available soon.
http://chesstools.wordpress.com/
The tool still only processes to depth 3, however the results show that known cheaters do show up ... I tested this and hopefully some updates will be available soon.
Sunday, 10 July 2011
Cross Platform Game Editor
http://game-editor.com/Main_Page
This software makes game creation easier and allows developers to port the game to other platforms, including PC, Mac, Linux, Iphone, IPad, Windows phones, Handheld PC's, GP2X.
I think there is also an android port available on the site - in fact they supply a service for ports, and the sourcecode is available for developers.
This software makes game creation easier and allows developers to port the game to other platforms, including PC, Mac, Linux, Iphone, IPad, Windows phones, Handheld PC's, GP2X.
I think there is also an android port available on the site - in fact they supply a service for ports, and the sourcecode is available for developers.
Subscribe to:
Posts (Atom)