
Sign up to save your podcasts
Or
On this episode of the podcast, Michael discusses the differences. between interpreted and Compiled programming languages.
Challenge results from episode 2.
// Ask for the user's name and age
// Print a statement based on the user's age
// Ask for the user's name and age
// Print a statement based on the user's age
Number Sign Ask for the user's name and age
if age < 0:
Edit TranscriptRemove HighlightingAdd Audio FileExport...?
[0:00] Music.
[0:09] All right, hi everyone. Welcome to another episode of the Programmatic Podcast.
[0:36] So last time I asked you guys to create a program that would let you get input and use a conditional based on that input.
[1:11] Print left parentheses, double quote, what is your name? Question mark, double quote, right parentheses.
[2:16] Double-quote right parenthesis write curly brace javascript slash slash ask for the user's name and age let name equals prompt left parenthesis double quote what is your name double quote right parenthesis semicolon let age string equals prompt left parenthesis double quote what is your age double quote right parenthesis semicolon let age equals parsant left parenthesis age string right parenthesis semi colon slash slash print a statement based on the user's age if left parentheses age is less than zero right parenthesis left curly brace console dot log left parenthesis double quote invalid age double quote right parenthesis semi colon right curly brace else if left parenthesis age is less than 18 right parenthesis left curly brace console dot log left parenthesis name plus double quote comma, you are a minor, double quote right parenthesis, semi colon, right curly brace.
[3:27] And Python. Hash. Ask for the user's name and age.
[4:44] So that's kind of crazy just spelling every parentheses, left parentheses, all of that out.
[5:02] And I thought that was a brilliant idea. So I wanted to mention that here.
[5:50] So what is an interpreted language? An interpreted language is a programming language that is similar to JavaScript, Python, PHP, Perl, several of these others that will, that execute code line by line.
[7:11] For example, if I'm writing a program in Python, I can use the Python interpreter to see what I'm doing before I do it.
[7:23] So I can use the Python interpreter to write several lines of code before I even put it in my program.
On this episode of the podcast, Michael discusses the differences. between interpreted and Compiled programming languages.
Challenge results from episode 2.
// Ask for the user's name and age
// Print a statement based on the user's age
// Ask for the user's name and age
// Print a statement based on the user's age
Number Sign Ask for the user's name and age
if age < 0:
Edit TranscriptRemove HighlightingAdd Audio FileExport...?
[0:00] Music.
[0:09] All right, hi everyone. Welcome to another episode of the Programmatic Podcast.
[0:36] So last time I asked you guys to create a program that would let you get input and use a conditional based on that input.
[1:11] Print left parentheses, double quote, what is your name? Question mark, double quote, right parentheses.
[2:16] Double-quote right parenthesis write curly brace javascript slash slash ask for the user's name and age let name equals prompt left parenthesis double quote what is your name double quote right parenthesis semicolon let age string equals prompt left parenthesis double quote what is your age double quote right parenthesis semicolon let age equals parsant left parenthesis age string right parenthesis semi colon slash slash print a statement based on the user's age if left parentheses age is less than zero right parenthesis left curly brace console dot log left parenthesis double quote invalid age double quote right parenthesis semi colon right curly brace else if left parenthesis age is less than 18 right parenthesis left curly brace console dot log left parenthesis name plus double quote comma, you are a minor, double quote right parenthesis, semi colon, right curly brace.
[3:27] And Python. Hash. Ask for the user's name and age.
[4:44] So that's kind of crazy just spelling every parentheses, left parentheses, all of that out.
[5:02] And I thought that was a brilliant idea. So I wanted to mention that here.
[5:50] So what is an interpreted language? An interpreted language is a programming language that is similar to JavaScript, Python, PHP, Perl, several of these others that will, that execute code line by line.
[7:11] For example, if I'm writing a program in Python, I can use the Python interpreter to see what I'm doing before I do it.
[7:23] So I can use the Python interpreter to write several lines of code before I even put it in my program.