CommonDocs.org

Coding

Guides related to software development or programming

29 guides in 4 topics

All guides

29 guides
  • Recursive npm package installHere's a simple script that recursively searches through a folder, finds any instances of package.json, and runs npm install to install any dependencies needed…JavaScript & NodeAug 3, 2024
  • Simple Pong (Extras)This guide is a continuation of the previous Simple Pong project. I'd encourage you to begin there if you haven't already. In this guide, you will learn how to…Java ProjectsJul 19, 2024
  • Simple 2D PongThe game will contain 4 classes. Main - Launches the program, starts the game and game timerPongGame - Extends JPanel, serves as the game's canvas, tracks…Java ProjectsJul 19, 2024
  • GUI BlackjackIn this project, we will expand upon the earlier console blackjack project. You should begin there if you haven't already. This project relies on much of the…Java ProjectsJul 18, 2024
  • Console Blackjack in Java (21)The rules of the game will be: It will be played with a single, standard Deck of 52 cards, though you could easily change it to accommodate larger deck…Java ProjectsJul 18, 2024
  • Git & GitHub: Essential CommandsWhether you plan on developing websites, games, or business applications, Git is an essential tool for many teams. This guide is a step-by-step introduction to…Project ManagementJun 30, 2024
  • Git & GitHub: Workflow, Branches, Merges, & MoreIn this guide, you will learn some simple Git/GitHub workflows. This includes how to create branches, create pull requests, merge branches, and switch…Project ManagementJun 30, 2024
  • What's Python?Python is a high level, object-oriented, general purpose programming language primarily used in data science and web development. Let’s break down what that…Intro to PythonJun 28, 2024
  • Hello World in PythonIntro to Python: Section 2 The Hello World project is the first program you will write in nearly any programming course. It’s a boring program that simply…Intro to PythonJun 28, 2024
  • Variables, Operators, Data TypesIntro to Python: Section 3 In this section, you will learn how to use different variables, perform simple operations, and receive user input. A variable is a…Intro to PythonJun 28, 2024
  • Control Statements in PythonIntro to Python: Section 4: What makes computers more than glorified calculators is their ability to use predefined logic to execute a variety of different…Intro to PythonJun 28, 2024
  • Functions in PythonIntro to Python: Section 5 A function is a reusable block of code that is executed on command. When you instruct Python to execute a function, it is said that…Intro to PythonJun 28, 2024
  • Chapter 1: Introduction to JavaWelcome to the first chapter of this introductory programming series. In this chapter, you will learn the basics of how programming languages make computers…Intro to Java SeriesJun 21, 2024
  • Chapter 2: Hello, World.This chapter will introduce you to the IntelliJ IDE. We will explore the basics of building a program called Hello World, which simply prints the message…Intro to Java SeriesJun 21, 2024
  • Chapter 3: Variables, Scanners & StringsThis chapter will explain what variables are and how they are used. You will learn about different types of variables (primitive data types), strings, and how…Intro to Java SeriesJun 24, 2024
  • Chapter 4: Decision Making with Control StatementsComputers can do much more than take input and return a simple set of formatted output (like a basic calculator). They can actually decide and perform actions…Intro to Java SeriesJun 25, 2024
  • Chapter 5: BigDecimals, Mutability & Basic Memory ConceptsIn this chapter, we will study BigDecimals and learn about how the JVM handles them in system memory. The BigDecimal class is used to perform calculations when…Intro to Java SeriesJun 26, 2024
  • Chapter 6: Custom MethodsSo far in this series, all of our code has gone in the main method. A method is a block of code that gets executed when it's called and is associated with a…Intro to Java SeriesJun 26, 2024
  • Chapter 7: LoopsBeing able to do the same tasks or computations repeatedly is one of the most useful things we can do with computers. Loops are blocks of code that can be…Intro to Java SeriesJun 26, 2024
  • Chapter 8: RecursionThis chapter discusses recursion, or recursive loops. Recursive loops are a loop structure in which a method invokes itself until a certain condition is met…Intro to Java SeriesJun 26, 2024