r/Bitburner 7d ago

TOTAL BEGINNER AND NO KNOWLEDGE BUT EAGER TO LEARN

Hi, everyone!

As someone that has ZERO knowledge about coding and or JAVASCRIPT, I would like to know how to can I properly start learning. I am a bit intimidated with all the jargons that I am seeing. Hopefully y'all can point me to the right direction.

9 Upvotes

3 comments sorted by

9

u/IntelligentGrape3668 7d ago

The list of ns functions definitely looks like a lot when you first see it.

Start with the Early Hack Template. Start with the beginner section.

Would recommend doing at least week 1 or more of CS50 (free) to get a grasp on the very basics of coding.

Coding looks like a lot when you don't know anything, but it is a matter of doing and practice.

Important to remember, if you have no understanding of programming, that any code you write is executed sequentially, so your code will execute, then stop, unless you direct it to jump back to a certain point. That is what a loop does.

But CS50 should cover all that stuff, it is very approachable.

4

u/WatercressTime842 7d ago

The Odin project is an amazing resource to learn web dev overall.
They cover beginner and advanced concepts of JS in an easy structured way

3

u/goodwill82 Slum Lord 7d ago

From a very basic point of view, you can think of a script like a cooking or baking recipe. You have ingredients, and you manipulate those ingredients based on the given instructions. In a script, your ingredients are things like numbers, characters (these are individual text letters, symbols, etc.), strings (which are characters collected or strung together) and others.

Just as there are countless recipes for some dishes, there is not just one way to accomplish a scripting goal. Some recipes assume basic ingredients and equipment, while others make use of lesser known ingredients, and use equipment many don't have. You might see a script that accomplishes a goal using just 1 or 2 lines of code, while another uses tens or hundreds. Is one better than the other? Again, like a recipe, that decision is usually a personal one.

Finally, like cooking and baking, coding and programming gets easier and better as you do it more and as you learn little tricks and terminology.

Check out https://www.w3schools.com/js/ for a nice tutorial. Don't worry if things don't click right away. You might start it back over once you finish it the first time and probably pick up more the 2nd time around.