Type Coercion in Lua, Concatenation and Arithmetic Operations in Lua Programming, Codecademy Coding

Channel:
Subscribers:
7,760
Published on ● Video Link: https://www.youtube.com/watch?v=1FstATdqNZ8



Duration: 6:36
93 views
2


Welcome back to anoter Lua coding lesson dealing with our variable section, this is, Type Coercion in Lua, Concatenation and Arithmetic Operations in Lua Programming, Codecademy Coding. In this lesson we continue taking a look at Codecademy's Learn Lua course, variable section, lesson named "Type Coercion in Concatenation and Arithmetic Operations" and we learn more about what type coercion means in programming. We learn that when there are numbers involved and we use the "+" addition operator, if the number is a string, it will be coerced into a number when using the addition operator (+). But instead, when dealing with numbers, and there is a string, if we use the concatenation operator (..) then it will convert a number into a string. Type coercion is the conversion of a value from one type of data, to another data type. Lua automatically converts a string to a number, or a number to a string when done correctly. Learning Lua type coercion will help make you a more savvy programmer in 2023 and beyond. Make sure to practice Lua programming and become the best by constantly practicing programming. Thanks for watching Type Coercion in Lua, Concatenation and Arithmetic Operations in Lua Programming, Codecademy Coding.




Other Videos By We Will Code


2023-05-01Intro to ChatGPT, Examples, What is ChatGPT, Capabilities of ChatGPT, Review, Learn AI Codecademy
2023-04-06Free Course Intro to Chat GPT, Learn AI for Beginners on Codecademy, Chat GPT for Beginners, (Link)
2023-04-05Example of racial bias, Chat GPT, Is Chat GPT racist? Is Chat GPT Bias or Prejudice?
2023-03-19Learn Lua Logical Operators, Learning Logical Operators in Lua Programming Language, Codecademy Code
2022-12-16Lua Elseif Statement, Learn Lua, Conditionals and Logic on Codecademy, elseif Lua, Learn Coding 2023
2022-12-15Else Statement Lua Programming, Learn Lua Else Statement, Codecademy Learn to Code 2023 from Scratch
2022-12-14Lua Conditional Statements, Conditionals and Logic in Lua, What is a Control Structure, Codecademy
2022-12-14Lua Comparison Operators, Codecademy's Learn Lua Programming, Conditionals in Lua If Statements
2022-12-14Learn Lua Variables Review, Codecademy Free Programming Course 2023, Learn to Program 2023
2022-12-14Lua If Statements, Lua Conditional Statements, Learn Lua Programming, Codecademy, The If Statement
2022-12-12Type Coercion in Lua, Concatenation and Arithmetic Operations in Lua Programming, Codecademy Coding
2022-12-11Find Variable Type using Lua type function, Learn Lua Codecademy, type and print functions in Lua
2022-12-11Lua Variable Reassignment, Learn Lua Programming, Variable Reassignment in Lua, Codecademy Lua Code
2022-12-10Define Variables in Lua Programming, Defining Variables in Lua, Create a Variable in Lua Codecademy
2022-12-08Variables in Lua Programming, Learn Lua on Codecademy, Introduction to Variables in Lua, Code Guide
2022-12-07Lua Arithmetic Operators, Calculating With Arithmetic Operators, Lua, Codecademy Learn Lua Coding
2022-12-06Data Types in Lua, Operators in Lua, String and Number Syntax, Lua Programming on Codecademy Coding
2022-12-01Data Types and Operators in Lua Programming, Data Types and Operators Introduction, Learn Lua Coding
2022-12-01Review of Codecademy's Introduction to Lua, Learn Lua Programming, Review of Lua Basics, Learn Code
2022-12-01Categorizing Data with Types in Lua Program, Data Types and Operators in Lua String, Number Bool Nil
2022-11-30How to Print in Lua Programming, Output in Lua, Learn Lua Programming Syntax, Lua Programming Guide



Tags:
Learn Lua
Lua Programming
Lua Programming concepts
Understanding Lua
programming in Lua