What should I know to assist with programming? math, physics?

What should I know to assist with programming? math, physics?

If you can read and write English, you can program. No other specialized skills needed to start. You don’t even have to be very good at English.

4 Likes

All you need is

  1. English
    2.patience
  2. Never give up attitude
3 Likes

Also add a very strong will and perhaps a good incentive.

2 Likes
  1. Empathy
  2. Patience





  3. More knowledge about the topic than your student
2 Likes

You only need to know math and physics if that is the domain your working in.

You don’t need much math or physics if your working with css to align stuff on the page, and get it to function as expected using JavaScript. However you might need a lot of knowledge of math and physics if your working on game engine software.


I usually say you only need 3 things to learn programming.

  1. time
  2. grit
  3. an internet connection.

Some may need more time than others, more online resources, and all will need some level of grit to “get over the hump” when things get rough. Simply put, learning programming isn’t easy, but its far from impossible.

Finally, if your looking for supplementary materials to help you become a better programming, look into Computer Science topics, as they are essentially what programming/coding is built off of.

Good luck! Keep learning!

2 Likes

Hi @yasinkaraa,

What should I know to assist with programming? math, physics?

Looking at this code (most of the code that programmers write is like this):

  handleDecimal() {
    if (this.state.evaluated === true) {
     // ... 
    } else if (
      !this.state.currentVal.includes(".") &&
      !this.state.currentVal.includes("Limit")
    ) {
     // ...
      if (this.state.currentVal.length > 21) {
     // ...
      } else if (
        endsWithOperator.test(this.state.formula) ||
        (this.state.currentVal === "0" && this.state.formula === "")
      ) {
      // ...
      } else {
      // ...
      }
    }
   }
    
  handleEvaluate() {
    if (!this.state.currentVal.includes("Limit")) {
    //   ...
     while (endsWithOperator.test(expression)) {
        expression = expression.slice(0, -1);
      }
    // ...
    }
  }

  handleOperators(e) {
    if (!this.state.currentVal.includes("Limit")) {
      // ...
      if (evaluated) {
      // ...
      } else if (!endsWithOperator.test(formula)) {
      // ...
      } else if (!endsWithNegativeSign.test(formula)) {
      // ...
      } else if (value !== "‑") {
      // ...
      }
    }
  }

  handleNumbers(e) {
    if (!this.state.currentVal.includes("Limit")) {
     // ...
      if (currentVal.length > 21) {
     // ... 
      } else if (evaluated) {
     // ...
      } else {
     // ...
    }
   }
  }

I had the idea that learn Boolean algebra and using a truth table can be a good way to read (compute) a typical program. Some people recommend set theory and basic algebra (IDK, maybe it can be useful).

I wrote a blog post: “The Problem With Example Driven Teaching And Gamification”, that might interest you.

Cheers and happy coding :slight_smile:

1 Like

I have to know the coordinate plane to draw on the canvas. Like this?
Where can I find the content of computer science courses?

I’m sorry I couldn’t make sense, my English is not enough.