Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Code standards, style, version control, code re...

Code standards, style, version control, code review, build system, task and bug tracking, debugging

A small presentation with few words about common things for young developers

Yuriy Berdnikov

March 13, 2014
Tweet

More Decks by Yuriy Berdnikov

Other Decks in Programming

Transcript

  1. Code standards, style, version control, code review, build system, task

    and bug tracking, debugging by Yuriy Berdnikov
  2. Agenda • Code standards and style • Version control •

    Code review • Build system • Task and bug tracking • Debugging
  3. Code standards • Set of guidelines • Usually cover file

    organization, indentation, comments, declarations, statements, white space, naming conventions etc. • Improve the readability of source code • Make software maintenance easier
  4. Hungarian notation ! • Name of a variable or function

    indicates its type or intended • extended in C++ to include the scope of a variable, separated by an underscore
  5. Introduction • Remove common errors, race conditions, memory leaks and

    buffer overflows • Enforce the Coding Standard • Ensure correctness of code • Typical code review rates are about 150 lines of code per hour
  6. Build automation • Compiling computer source code into binary code

    • Packaging binary code • Running tests
  7. Build automation software • Make - a classic Unix build

    tool • Apache Ant - popular for Java platform development and uses an XML file format • Rake - a Ruby-based build tool
  8. Tasks tracking • Managing tasks through its life cycle •

    It involves planning, testing, tracking and reporting • Help achieve goals
  9. Task life cycle • Ready • Assigned • Terminated •

    Expired • Forwarded • Finished • Failed
  10. Bug tracking system • Provide a clear centralized overview of

    development requests • Prioritized list of pending items (backlog) • Bugs and issues tracking
  11. Introduction • Process of locating and fixing bugs • Necessary

    process in almost any new software or hardware development process • Debugging tools (called debuggers) help identify coding errors at various development stages.
  12. Debugging • Recognize that a bug exists • Isolate the

    source of the bug • Identify the cause of the bug • Determine a fix for the bug • Apply the fix and test it
  13. Debuggers features • Running a program step by step •

    Stopping at Breakpoints • Tracking the values of variables • Modify program state while it is running
  14. Q&A