Can you crack the code?

125

3 Main key word you need to know when writing code:

  • Structure
  • Style
  • Logic

Structure? Like a building structure?

Not quite a building structure but okay. Structure in coding and programming can be similar to a building structure. For example, a garage is a building structure that represents how a household has cars and they need a place to store them or a place to store tools and other things. This is similar to how a structure in coding represents how that the number “8” can mean several different thinks within a different type of coding structure. In one database it can mean 8 letters to a word or in another database it can mean 8 numbers to a code. Just how a garage can be a place to park cars or a place to have a tool bench.

Style? You mean how I dress?

Once again almost! Style in coding is similar to how you dress. Just how when you are picking what shoes to wear. If you are wearing something with black in it go for the black shoes but if you are wearing something with blue in it go for the blue shoes. When doing style in coding it is where you pick which elements will be included in your code. Staying with one style is easier to read and comprehend. Just how staying with black when wearing something that has the color black in it looks better.

Lastly, Logic. Like the rapper?

Nope, still not it. Logic the rapper raps about his life and his problems similar to what logic does in coding. When Logic writes a song, he is stating what has happened in his life and things that are true to him. When using logic in coding it is the way that rules are stated to either be true or how a problem is shown. Just how logic says he had a rough childhood which he states is true, K101 is true because J23 says it is according to the code.

You need to add a widget, row, or prebuilt layout before you’ll see anything here. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *