Lua
Learning a new programming language called Lua. I hope to use this as a building block to learn python next. This is also to build games in Roblox bc I love that game and have been spending too much time on it lately 🙏🏾 this is also after like 2 days of learning so I feel proud of myself #robloxian #dev #programming
Hey everyone! Following up on my initial post about learning Lua – it’s been such an exciting journey so far! I know many of you might be wondering, 'Why Lua?' or 'Is it really for me?' Well, whether you're a busy new dad, a pet owner looking for a creative outlet, or just curious about programming, Lua is surprisingly accessible. While I'm personally focused on building games in Roblox (which is an amazing platform for learning!), the basics I'm picking up can be applied anywhere. For instance, even if you're a fitness enthusiast or a newlywed, the logical thinking you develop with Lua can be incredibly valuable in various aspects of life, not just coding. One of the first things that really clicked for me was understanding if statements. On Codecademy, where I've been doing a lot of my learning, they break it down so clearly. It's essentially how you tell your program to make decisions. For example, if a player in my Roblox game has enough money, then they can buy an item, else (if not) they can't! This simple if-elseif-else logic is fundamental, and seeing it in action in code examples really helps. The OCR from my screen even showed an example where I was checking if a user was 'rich, average, or poor' based on their money – that's a perfect real-world application! Another super fun concept I've explored is generating random numbers using math.random. Imagine making a dice roll in your game, or having enemies appear randomly – that’s all thanks to math.random! It’s incredible how two days ago I barely knew what this meant, and now I’m already thinking of ways to use it in my future Roblox creations. I even experimented with io.read to get user input, which is a great way to make your programs interactive. For anyone just starting out, I highly recommend Codecademy's Lua tutorials. They often provide clear code examples and challenge you to think about improving code readability, which is something I'm trying to get into good habits with from the start. You don't need to be a 'developer' to start programming Lua; it’s a fantastic entry point into the world of coding, whether your goal is Roblox game development, scripting, or even just building a foundation before tackling languages like Python, which is my next big goal. So, if you've ever thought about programming, or specifically about creating things in Roblox, dive into Lua! It's been incredibly rewarding, and I'm excited to share more of my progress and code snippets with you all. What are your programming goals?

