
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.
[7:57] And I guess it's kind of similar to how Java does the JVM, where it has the Java Virtual Machine, where it converts it to, I guess it's called bit code, byte code.
[9:02] So it's kind of interesting when you think about how these languages work and the speed performance that comes with that for each language.
[9:38] Like in Cordova and other things, and NativeScript and React Native, but it's still using JavaScript to do all that.
[10:39] And one called Ada that I've never heard of. That's all from ChatGPT.
[10:45] And there are several languages that can be considered across that line because Java can be interpreted based on different things.
[12:14] But you're typically gonna stay with the fundamentals of the language that you've learned.
[12:24] You know it you just have to decide what's the most most efficient thing for you when you start your your journey and learning to code and even as you get better you know you're going to figure out what works best for you and things like that.
[12:44] I guess I'd love to hear people's feedback from chat if you're in chat or what's your feedback about that if you're, you know, trying to or if you're listening to the podcast afterwardsbecause I think that all of these things are, you know, very good topics and I think that they would make a good discussion.
[13:55] And print all of them out on the screen, whether it be in an app, a list, or whatever it is.
[15:16] Just look for the hashtag hash programatic pod.
[15:38] On the social networks. So really exciting news on that front. So we'll be back with another episode next week.
[16:50] Music.
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.
[7:57] And I guess it's kind of similar to how Java does the JVM, where it has the Java Virtual Machine, where it converts it to, I guess it's called bit code, byte code.
[9:02] So it's kind of interesting when you think about how these languages work and the speed performance that comes with that for each language.
[9:38] Like in Cordova and other things, and NativeScript and React Native, but it's still using JavaScript to do all that.
[10:39] And one called Ada that I've never heard of. That's all from ChatGPT.
[10:45] And there are several languages that can be considered across that line because Java can be interpreted based on different things.
[12:14] But you're typically gonna stay with the fundamentals of the language that you've learned.
[12:24] You know it you just have to decide what's the most most efficient thing for you when you start your your journey and learning to code and even as you get better you know you're going to figure out what works best for you and things like that.
[12:44] I guess I'd love to hear people's feedback from chat if you're in chat or what's your feedback about that if you're, you know, trying to or if you're listening to the podcast afterwardsbecause I think that all of these things are, you know, very good topics and I think that they would make a good discussion.
[13:55] And print all of them out on the screen, whether it be in an app, a list, or whatever it is.
[15:16] Just look for the hashtag hash programatic pod.
[15:38] On the social networks. So really exciting news on that front. So we'll be back with another episode next week.
[16:50] Music.