Bitburner

Bitburner

View Stats:
Is this a good way to learn Javascript?
Is it real javascript or is it not javascript ?
will this help me learn?
< >
Showing 1-6 of 6 comments
quacksouls Jun 28, 2022 @ 6:18pm 
The game assumes you already know how to program.
  1. If you already know how to program using another language, your knowledge should easily transfer over to help you pick up Javascript. Use this API reference:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
  2. If you already know Javascript, use the game to help you consolidate and deepen your knowledge of the language.
  3. If you don't know Javascript (or another programming language) and you're not familiar with programming, get an introductory book or tutorial on programming in Javascript. Work through the material. After you finish a section or chapter, work through a number of exercises or practice problems. Then think about how you can write Javascript programs to automate various aspects of the game. This tutorial might help:
    https://www.w3schools.com/js/default.asp
  4. If you're not interested in programming or don't have the time to learn programming and/or Javascript, various aspects of the game can be played by point-and-click. Beware that you might easily get bored of the point-and-click game play. You can progress faster when you use scripts to automate various aspects of the game play. There should be scripts available online that you can use, instead of writing your own scripts.
OrganicCheese Jun 28, 2022 @ 6:24pm 
Originally posted by quacksouls:
The game assumes you already know how to program.
  1. If you already know how to program using another language, your knowledge should easily transfer over to help you pick up Javascript. Use this API reference:
    https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference
  2. If you already know Javascript, use the game to help you consolidate and deepen your knowledge of the language.
  3. If you don't know Javascript (or another programming language) and you're not familiar with programming, get an introductory book or tutorial on programming in Javascript. Work through the material. After you finish a section or chapter, work through a number of exercises or practice problems. Then think about how you can write Javascript programs to automate various aspects of the game. This tutorial might help:
    https://www.w3schools.com/js/default.asp
  4. If you're not interested in programming or don't have the time to learn programming and/or Javascript, various aspects of the game can be played by point-and-click. Beware that you might easily get bored of the point-and-click game play. You can progress faster when you use scripts to automate various aspects of the game play. There should be scripts available online that you can use, instead of writing your own scripts.
i already know another langauge so will this help me learn javascript im using ns2 is that what javascript is like in real world?
quacksouls Jun 28, 2022 @ 7:59pm 
Originally posted by OrganicCheese:
i already know another langauge so will this help me learn javascript im using ns2 is that what javascript is like in real world?
Yes. Refer to this page for a detailed explanation of NS2.
https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html
OrganicCheese Jun 28, 2022 @ 10:06pm 
Originally posted by quacksouls:
Originally posted by OrganicCheese:
i already know another langauge so will this help me learn javascript im using ns2 is that what javascript is like in real world?
Yes. Refer to this page for a detailed explanation of NS2.
https://bitburner.readthedocs.io/en/latest/netscript/netscriptjs.html
thanks appreciate it
z3r0t3n™ Jun 28, 2022 @ 10:13pm 
Just to add to this: The full documentation for all the JS functions und objects specific to this game, can be found here: https://github.com/danielyxie/bitburner/blob/dev/markdown/bitburner.ns.md

On top of that, you can use everything JS itself offers.
gamename Jun 29, 2022 @ 6:26am 
Good answers so far.
For better or worse, you can also use very little of what makes JS JS. I came in with a background in not-JS (C mostly), and have progressed well enough in the game. Part of my goal here is to learn JS, so at some point I'll do more JS-specific things, but the game doesn't force you, or even guide you, to do things a specific way - to use particular language features or even write good code. How you solve things, what you learn, and how relevant that is to the 'real world' is largely up to you.
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Jun 28, 2022 @ 5:19pm
Posts: 6