Slide 1

Slide 1 text

Efficient Programming in Development Process Presented by Aditya Pradana at Engineering Brownbag Session in Oneb1t on Wednesday, March 25th 2015

Slide 2

Slide 2 text

Why? • Code is read much more often than it is written • We need to deliver the product quickly • Avoid too much bugs

Slide 3

Slide 3 text

How?

Slide 4

Slide 4 text

Write Human-Friendly Code • Follow consistent naming conventions • Discuss naming conventions before anyone touches the code • Descriptive variable / method name • Indentation And Line Breaks

Slide 5

Slide 5 text

if(result == S_OK) update();

Slide 6

Slide 6 text

Think Organization • If you need to scroll up and down multiple times to find your affected section, you need to work on the structure • Don’t throw all the code into a single script • Try to separate code into different files

Slide 7

Slide 7 text

Planning Before Coding • Know exactly what to do • Figure out the procedure first, then write a solution • Really good programmers spend a lot of time THINKING. Not madly typing in code. Typing should be the last act, not the first. • Use only tools, plugins, components, libraries, whatever that are necessary for your project

Slide 8

Slide 8 text

“Fast programming is when we don't need to write any single code.”

Slide 9

Slide 9 text

Write Manageable Code • Write code that requires as few manual changes as possible • Avoid tight coupling

Slide 10

Slide 10 text

Learn To Debug Smarter • Breakpoint setting • Put the log function into the code • etc.

Slide 11

Slide 11 text

No Extra Prototypes • Prototyping is a beneficial behavior in the long run • It doesn’t help when you do it to escape from work

Slide 12

Slide 12 text

Always Learn Something New • Most people are not driven to become good at anything. They reach a point that is comfortable for them and stop improving • Do read and write • Challenge ourself with practical projects that require higher scalability

Slide 13

Slide 13 text

Change Your Mind Set • Develop from user’s perspective • Understand that UX is the new black

Slide 14

Slide 14 text

–Someone who cares about code and design “Great programming requires not only intelligence but also creativity. The best programmers I know are artists not engineers!”