Featured Post

I've Moved to WordPress

Announcement Hello, readers. You might notice that my old posts are in the process of deletion. Fear not! I have merely moved my blog ove...

Showing posts with label programming. Show all posts
Showing posts with label programming. Show all posts

Wednesday, 7 December 2016

Converters Package

For lack of a better title

Well, that's my converters package all polished and published. It was an interesting experience seeing my code from two years ago. The thing that most stood out was the fact that I had left the control names as their defaults, i.e. Button1, TextBox1, etc.

If you want to download the package, follow this link: https://goo.gl/fPsT48.

~LP

Friday, 25 November 2016

Code Surprise

I spent most of today preparing a Tic-Tac-Toe game I made in Visual Basic a few years ago for publishing on my website. I figured it would just be a matter of adding a copyright footer and squashing a few bugs, but I actually received a bit of a shock when I looked at the source code.

Screenshot
Much of the code was repeated and so I spent a lot of the time moving parts of it into subroutines, creating variables and putting large slabs into much smaller loops.

I can honestly say that I think I managed to cut down about 500 lines of code.

It was quite a positive experience, however, as it showed me how much my programming skills have developed (pun intended) in the past few years. Mostly without me noticing.

~LP