Teaching Newbies since 2014

  • Home
  • Javascript ❤
    • JavaScript
    • Node.js
  • WebDev Tuts
  • screencasts
  • Resources
  • VR & AR
  • Github
  • Twitter
  • YouTube
  • RSS
  • C++
You are here: Home / Archives for code

December 26, 2021 by: Kauress

🧠 💻 The Programmer’s Brain: 3 types of confusion when you’re learning a new tech

The book is here It is highly recommended. If you have a background in neuroscience, you will enjoy it a lot! The programmer’s brain 🧠  When learning learn to recognize your confusion. Knowing what type of confusion you are facing can help you. There are 3 types of confusion: 1. Lack of knowledge Complete lack of knowledge in a specific domain so lacking domain specific

[ Read More ]

August 26, 2020 by: Kauress

Functions as objects

In JavaScript functions are a type of object known as function object. You can work with function objects as though they were objects. Functions may be assigned to objects, passed in as arguments to other functions, returned from other functions. Additionally a function can be passed into an array. And this gets me to earlier in my articles when I’ve stated “almost everything in JavaScript

[ Read More ]

August 16, 2020 by: Kauress

Deep and shallow copying in JavaScript – part 2

 Copying objects with Shallow copy Now that we went over shallow and deep copies in part 1, let’s go over shallow copying in JavaScript. There are 3 ways to create shallow copies in JavaScript: Iteration using for key in an object Spread operator Object.assign() 1. Iteration using for key in an object In order to copy the items of an object into another object we

[ Read More ]

August 10, 2020 by: Kauress

What is the event loop anyways?

Introduction JavaScript is single-threaded this means that the main thread on which code is executed runs one line at a time. There is no possibility of doing anything in parallel. Therefore, the run time is blocked until a task is completed. An example of blocking the run time is an infinite loop. However, the DOM API, setTimeout() , setInterval() methods are provided by the web

[ Read More ]

August 9, 2020 by: Kauress

Understanding the call stack

What is the call stack? An understanding of the call stack will allow you to understand how execution order in JavaScript works. JavaScript is a single-threaded language; this means that it handles one task at a time. JavaScript code is executed by the JavaScript engine. Google’s V8 engine is an example of a popular JavaScript engine, there are others such as the SpiderMonkey and Rhino.

[ Read More ]

June 1, 2020 by: Kauress

#VR for newbies: Lesson 2

Virtual Reality

Introduction Since we’re using Unity3D to build our VR experiences, here are the steps to walk through finishing setting up Unity3D for VR. It requires extra components as you’re building for the Quest. Steps Download and install Unity hub here. Unity Hub is like your dashboard to manage your  Unity projects and any Unity3D versions that you install Choose the latest version of Unity3D to

[ Read More ]

May 17, 2020 by: Kauress

Code Cadet Outit

Code_Cadet_Outfit

I’ve always wanted a dev tech outfit for myself. Imposter syndrome aside, coding is a lifestyle. A lifestyle where you sit for long periods of time and it’s really irritating to pull up your pants so that they don’t scrunch at your knees when you sit down 🙂 I wanted to make it official, nothing wrong with jeans, track pants and t-shirts. But I was

[ Read More ]

February 9, 2020 by: Kauress

forEach( ), sort( ) and filter( ) for newbies

Array Methods JavaScript

forEach() ES6 has introduced the forEach() method which allows you to loop through an array. Arrays as you may already know are of the type ‘object’. In contrast to the string,number,boolean, undefined and symbol types which are primitive data types. For example if we console.log the typeof operator to find the typeof array, objectwill be logged, as seen below: const yummies = [‘Ice-cream’,’Cupcake’,’Donut’,’Cupcake’]; console.log(typeof yummies)//

[ Read More ]

February 8, 2020 by: Kauress

Easy Peasy Git for Github with clix

Original Question asked by student Is there a way to show that folder structure in git? I’m struggling to visualize how it looks in git and how we would push that structure to git. Are there instructions for how to create the structure on our computers then push it to git? Answer Git is a version control tool. For example when you write an essay

[ Read More ]

February 8, 2020 by: Kauress

The Learn How to Code Planner

Code Planner

ps: If you just want to download, go here: https://bit.ly/3biXP4j Learning how to code can be overwhelming! Often learners confuse a curriculum with a plan to learn coding. A curriculum is a list of topics on a particular subject for example JavaScript or python. Whereas, a planning involves the steps including the time and energy commitments to finish the curriculum. Common problematic pattern As I

[ Read More ]
  • 1
  • 2
  • 3
  • Next Page »

Copyright © 2022 ·Kauress