2359media on geekcamp.id - code convention & development guidelines

22
Apps Coding Development Guidelines [email protected] Indonesia Team Lead

Upload: sirius-dely

Post on 20-Mar-2017

394 views

Category:

Software


0 download

TRANSCRIPT

Apps Coding Development Guidelines

[email protected] Indonesia Team Lead

jadi prinsipnya:• [1] penjumlahan setara dengan pengurangan

dimana tanda yg lebih dulu muncul didahulukan

• [2] perkalian setara dengan pembagian dimana tanda yg lebih dulu muncul didahulukan

• [3] operasi perkalian atau pembagian harus didahulukan baru kemudian penjumlahan atau pengurangan

–Johnny Appleseed

“But why..?”

–Tom Tomatohead

“Because it is the CONVENTION.”

A convention is a selection from among two or more alternatives, where the rule or alternative is agreed upon among participants. Examples:

• Shaking hands when meeting people.

• On which side to drive on the road; right or left.

• Calendars: Date & Time.

ß

???

–Johnny Appleseed

“We need coding conventions.”

Things needed in the Convention:

• Writing Syntaxes

• Classes, variables, methods names

• File names

• Folder/Files structures (MVC, Helpers, Managers, Assets)

• Snippet codes

Other things to add:• Third-party Libraries (HTTP

Connections, OAuth, Geocoding)

• Third-party Services (Analytics, Crash reports, Push notifications, etc)

• Staging-Production Configurations

• Constants Value

–Johnny Appleseed

“Furthermore, we need a software development

guidelines.”

Another Best Practices:• Putting comments on codes

• Documenting codes

• Coverage codes with self-test procedures (TDD)

• Fix bugs, before adding new codes/features

Another Best Practices:

• Semantic Versioning, semver.org

• Code versioning & collaboration system

• Design patterns

Thank You

sirius.dely @2359media.com