Posts

Showing posts with the label data types

Sandra L Course Part 1 (lectures 1 to 10)

Image
And here we are - ANOTHER new course! I know it's getting repetitive now - me getting to around a third of a way through each course before hankering for a new one. However, I've had my reasons each time. Last time, Bob's course was getting so technical and inaccessible. The conceptual leap between chapters 2 and 3 was too much. Plus, no challenges or tasks along the way made it very difficult to stay motivated. So, starting a new Intermediate course from Sandra L. Let's see how we go! Start Time - 15:42 Variables and constants Real basics so far. I think I'll be able to skim a lot of this simple recap. Mutability etc. There's not much need to type anything else - I know this so it's all good! One nice point - a variable is called so because THE VALUE CAN VARY. That's nice and logical! *A key point: it's good changing between courses in the sense that you get a fresh take on a concept or another way of looking at something. Type Inferen...

Chris Ching Course Part 1 (Data types, If/Switch statements, Loops and Functions)

Here we go! Back to Udemy and consolidating with this course from Chris Ching. Spending a couple of weeks on Treehouse has not proved fruitful, though it was interesting to look at properties, initializers and a few other aspects at a higher level. Anyway, coding is one of these things where my understanding needs to be topped up. A bit like going to the gym! Some bits will be intact but I need constant topping up to make it at its optimum.  Start time - 15:02 Data Types *Just skimming over this! Different types of data are stored on the data differently. If the system knows it is an int, then it allows different things to a string, double etc. Type inference - he hasn't mentioned this but there is no need to specify the type. Xcode figures that out. Converting types - var number = 4 number = String(4) var/let - know all about these. Rounding function. Use the round() with the variable in the brackets. If Statements *Again, skimming through! Something I nee...