Posts

Showing posts from April, 2018

Creating Custom Classes

I know that I promised to make my entry much sooner than this but, once again, life got in the way! So here we are, a couple of weeks later than planned. Anyway, it's the first time in months that I'm actually doing this blog alongside some coding. So it's a step in the right direction! Moving forward, after working through this book, I plan to do this book alongside another course or text, so hopefully the 'live' recording of it will be useful and purposeful.  This chapter is all about creating custom classes. Now I know, more or less, what a class is. From what I recall, a class bundles together data e.g. variables, constants, functions...all to then create specific objects or instances. We'll see what this chapter brings...! So the task in this chapter is to create a functioning calculator - able to add, subtract etc. class Calculator {      } This is how to set up the class. The syntax is have a capital letter - different to variables, func...

Update!

Well, it was inevitable really! In typical fashion, I've managed to go a couple of months without any coding activity. Bad Josh! I half-expected it yet am still disappointed. So, this entry is just to establish that I cannot allow that to happen again. One of the reasons that I decided to organise my coding 'experience' via Blogger was so that the live date and time stamp meant that I couldn't do a catch up session at some point. Essentially, there is nowhere to run or hide! So I've been caught out. Caught out not using or organising my time well enough to get any coding in. But that's going to change. I'm going to do some tomorrow - that is a guarantee! When I do, it will be continuing with the eBook that I was already working steadily through. At some point, I'll do a consolidation of what I know and summary of targets etc. For now, it's just a quick - 'Hey, I'm still alive!' - reminding me that coding is something I want to do and ...