Ant’s Research Task 1

unityWhat does a dot . actually do in Code?

C uses it as a means of accessing a member of a struct, and this syntax was inherited by C++ as a means of accessing a member of a class or object.

What are curly brackets {} for?

There are many different types on brackets that are in coding for example ‘() {} <>‘ all three of these are different variations for different purposes for this one I will be explaining what a ‘{}‘ does. #

The various bracket characters are frequently used in many computer languages as operators or for other syntax markup. For instance, in C-like languages, { and } are often used to delimit a code block, and the parameters of method calls are generally enclosed by ( and ).

 

Which is better: Allman or 1TBS? Allman

1TBS Script

 

Allman Script

Why does your code have tabs in?

A tab could be a different number of columns depending on your environment

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s