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

Programming is Easy, Once You Master...

Avatar for Tonya Mork Tonya Mork
September 17, 2016

Programming is Easy, Once You Master...

Programming is easy once you master these secrets. In this WordCamp Milwaukee talk, I present the four (4) secrets that make programming easy.

Here is the link to the talk on WordCamp Milwaukee website. This talk was given on Sept. 17, 2016: https://2016.milwaukee.wordcamp.org/session/programming-is-easy-once-you-master/

Avatar for Tonya Mork

Tonya Mork

September 17, 2016
Tweet

Other Decks in Programming

Transcript

  1. Programming is Easy, nce You Master… Twitter: @hellofromTonya UpTech Labs:

    @UpTechLabs Know the Code: @KnowTheCodePro #BeMoreAwesome
  2. Hello, I’m Tonya • High tech engineering since the mid-1980s

    • Electrical and software engineer • Technology leader, educator, and author
  3. Typical Approach • Go buy a theme. Make changes to

    it. • Stretch a little bit and take on more • Constantly searching for HOW to do something
  4. Problems with the “Searching for the How” Strategy • It’s

    time-consuming. • How do you assess if the code is good? • It only gets you part of the way there. • What happens if it causes a problem? Bottomline: It’s costly.
  5. I’ll go to the Kite Festival if https://www.flickr.com/photos/lesterpubliclibrary/9643006351 • the

    weather is good • not working if ( the conditions are true ) then go to the festival
  6. Fundamentals • Decisions • if, when, else if, else •

    Remembers • Variable • Tasks • Render, File, Database • Repeats • while, for, foreach
  7. On state -> 1 Power Switch Output Power Source Output

    Power flows to the output Output
  8. Computers = bunch of switches Output Output Output 0 0

    0 1 Output Output Output 1 1 1 0 Output Output
  9. <?php
 
 function maybe_show_top_bar( $is_ok_to_show ) {
 if ( is_page()

    && $is_ok_to_show ) { 
 showTopbar();
 }
 } is_page() showTopbar() AND Gate V $is_ok_to_show AND
  10. Programming is easy when you master… • Fundamentals • Problem

    Solving • Programmatic Thought • Learning