Schedule

Schedule

Saturday, May 23

1432404000 The Tech Guy

Sunday, May 24

1432490400 The Tech Guy
1432504800 This Week in Tech

Monday, May 25

1432573200 Tech News Today
1432576800 Triangulation
1432582200 iOS Today
1432589400 Coding 101
1432594800 Tech News 2Night

Tuesday, May 26

1432659600 Tech News Today
1432663200 MacBreak Weekly
1432672200 Security Now
1432681200 Tech News 2Night
1432684800 All About Android

Wednesday, May 27

1432740600 FLOSS Weekly
1432746000 Tech News Today
1432749600 Windows Weekly
1432756800 This Week in Google
1432767600 Tech News 2Night
1432769400 Android App Arena
1432774800 Ham Nation

Thursday, May 28

1432832400 Tech News Today
1432836000 Know How...
1432846800 Home Theater Geeks
1432854000 Tech News 2Night

Friday, May 29

1432918800 Tech News Today
1432922400 This Week in Law
1432933200 Before You Buy
1432940400 Tech News 2Night

Saturday, May 30

1433008800 The Tech Guy

Sunday, May 31

1433095200 The Tech Guy
1433109600 This Week in Tech

Monday, June 1

1433178000 Tech News Today
1433181600 Triangulation
1433187000 iOS Today
1433194200 Coding 101
1433199600 Tech News 2Night

Most Recent Episodes

Before You Buy

Myriam Joire reviews the HP Spectre x360 laptop.

This Week in Enterprise Tech

Your SSDs are DOOMED!

Tech News 2Night

Selena Larsen joins us to discuss accessibility, iOS9, and WWDC rumors.

This Week in Law

A California appeals court lifts ban on the "Innocence of Muslims" video on YouTube.

Tech News Today

Apple Round-up, Google Scrambles, and Russia threatens.

Tech News 2Night

Jill Duffy gives us tech tips for booking travel

Home Theater Geeks

HDR, High Frame Rate, virtual reality, and more.

This Week in Computer Hardware

Robert Heron guest hosts

Know How...

Padre gets hit by a packet storm.

Tech News Today

We dive deep into the subject of online trolls.

Coding 101 7

Runtime, Funtime

March 6 2014

Hosts: Fr. Robert Ballecer, SJ and Shannon Morse

Guest: Lou Maresca

Welcome to Coding 101 - It's the TWiT show that gives YOU the knowledge to live in the wonderful world of the programmer. This week we are reviewing function returns, checking out your viewer submissions, and we're getting graphical!

Reviewing Function Returns and Viewer Submissions

My example this week asks the user to input how long until their dinner reservations and how long until a movie starts next door. This equation doesn't account for lines for tickets or popcorn... so just skip the trailers. This function will RETURN the time they need to leave to get to the movie from dinner.

You can download my gibhub code HERE!

Viewer Submissions!
Dean created this Love Compatibility game.
Code is available here.

Razelda created this D&D Character Creator.
Code is available here.

Find the Code for ALL of our episodes HERE!

Ivory Tower

Let's take functions to the ULTIMATE Level -- The Runtime Library
* When we talk about functions, we talk about pieces of code that we've written, or that other programers have written for our use, that we can "call"
* Everytime we call a function, we're saving time and memory space by not having to re-write that particular piece of code.
* All of the functions we've played with do something very obvious:

** Functions that add sums
** Functions that print menus
** Functions that run loops with console commands"

But there are ""functions /// procedures /// methods pieces of code that get called over and over again... not to do the obvious things... but to support the programming language itself

** These are the bits of code that create the "Run-Time System" or "Run-Time Environment"

** This is the code that turns ""console"" into a usable command"

EVERY Computer language has some form of runtime-system. Whether it's C# or Java, Visual Basic or Python. -- Compiled or Interpreted.

We are always interacting with the Runtime-Environment because that's the only way that our code becomes something useful, but we have access to something FAR more powerful
*** THE RUNTIME LIBRARY ***

A Runtime Library gives us access to love-lever routines that can control some of the most basic and POWERFUL aspects of our programming language.
** In essense, using a runtime library gives us access to a library of functions that can control almost every aspect of how our program looks, works and interacts with the environment itself.

Windows Presentation Foundation
* WPF is a Runtime Library that is part of of the.NET Framework in Windows.

* WPF resembles XLM object modules.
* WPF is included in all version of Windows 8, 7, Vista, and Server 2008 and above. While XP or Server 2003 users can install the .NET Framework.

WPF users DirectX, which means it's designed to take advantage of modern graphics hardware.
* Gives coders access to some really nice eye-candy
* Allows us to build beautiful 2D and 3D applications without having to code all the functions to make that possible.

Get in Touch With Us!

* Subscribe and get Coding 101 automatically at TWiT.tv!
* Follow PadreSJ and Snubs on Twitter.
* Watch the show live and join the chatroom every Thursday at 1:30pm PST.
* Email us at Padre@twit.tv and Shannon@twit.tv.
* Join our Google+ Community!

Download or subscribe to this show at twit.tv/code. Also, check out our transcripts.

Bandwidth for Coding 101 is provided by Cachefly.

Running time: 41:18

Sponsors: