Discussion of tips for people who are new to lua/glua
4 replies, posted
Hello Facepunchers, I'm nowhere near an expert on this subject so I'm asking all of you to chime in and give your two scents about advice or common knowledge you've picked up along the way. There are many people, including myself, who have never coded before - yet feel strongly about glua because it appears simple to use, easy to understand, and it's fun to play with. But despite the desire to push forward and venture on in these endeavors, sometimes questions are met with harsh criticism from the people who have been coding for a while or simply have an easier time understanding the syntax of code.
The biggest problem I've seen is that people often assume whoever is asking the question knows (or should know) the basics. But I think many of us pick the code up not knowing where to start, or what are considered the basics.
So presenting this thread I just wanted to ask the more experienced developers here... what are some helpful tips for people starting out?
What are some helpful tips for people who have been doing glua for a while?
Most importantly, though, I think is some of us get that gut feeling that something just isn't right with our code and we need to fix it but aren't sure how - for those of us that don't have that gut feeling... what would you say so when people ask for help they aren't met with "why are you doing [this] when you should be doing [this]"?
What would you say are the absolute essential building blocks for glua before starting any major projects?
Read the Beginner Tutorial Intro on the wiki which contains all the basics, just look at different addons lua scripts and try to understand them and try to change things
I'm assuming that you are talking about "negative" responses, you sadly can't avoid those completely, however usually they are under threads where the OP simply doesn't even know the basics (which take like 20 minutes to read about). Not saying that those negative responses are okay, but i can kind of understand them.
Aslong as you aren't a complete beginner i'd say just work on anything you want to, even if you give up you'll still learn from it.
Actually, could we get a stickied thread with resources for people that genuinely want to learn/improve?
I'm not an expert at all but, I personally find it easier to look at someones else code and recreate it myself. Once I fully recreate it (Changing some stuff a long the way), I'm able to understand what some things will do. That's just how it works for me anyway.
There's a "Lua Resources" and "GLua Resources" section of the rules thread (https://forum.facepunch.com/gmoddev/buodk/Posting-Guidelines-14th-December-2018-and-Developers-Board-Rules/1/). Maybe it should be made into it's own sticky. The best tip I can give is "learn to read the wiki". Almost all of the question threads on the front page could be answered with a quick search on the wiki.
Sorry, you need to Log In to post a reply to this thread.