alptium / alptium.github.io

Alptium
MIT License
2 stars 0 forks source link

Lesson Materials - 2018-02-28 Code Conventions #52

Open valentinajemuovic opened 6 years ago

valentinajemuovic commented 6 years ago

Hi @ivamil, the most common issue faced with lots of people was code conventions / formatting / style.

I tried to illustrate it here https://github.com/alptium/valentina.cupac/blob/master/code-conventions/src/codeconventions/Main.java

Also in image

formatting

So I think there should be a page Code Conventions and if you could think of a way how to explain this in an understandable way, since many people had challenges with this topic.

valentinajemuovic commented 6 years ago

Hi @ivamil, the core concept here was trying to explain that { } indicates the body of something (body of a class, body of a method, body of a block) and how whatever is inside needs to be indented.