Wednesday 7 March 2018

Extension - Functions and For Loops

                                           Things I have learned in Coding so far
Our Extension class was using a app called Swift Playground. We learnt some things like A function and a For Loop.
Image result for Swift Playground logo
A function is a piece of code that you can easily call over and over again. It includes the specific steps performed in the function.
We did some dance moves like the Macarena and repeated it.
A For loop is just a command telling the computer to repeatedly do something over and over again, or simply, a loop.

2 comments:

  1. Hi Tidus,

    This sounds like a really fun lesson! A function is very important when you are coding, so it is great that you know what the word means. I found it funny that you did the Macarena!

    ReplyDelete

Note: only a member of this blog may post a comment.