Grasshopper – Variable Assignment Debug

Grasshopper – Variable Assignment Debug

Today I completed the Grasshopper – Variable Assignment Debug kata on Codewars!

When I looked at the code, I could quickly see the problem: instead of using the assignment operator, it was using the equal to operator. Knowing this, I fixed the code and it worked!

The =(variable assignment operator) and ==(equal to operator) are very easy to confuse. Know the difference!

Opposites Attract – Codewars

Opposites Attract – Codewars

Today I completed the Opposites Attract Kata on Codewars!

When I looked at the code and what I had to do, it was simple to set the even/odd number condition in one line. When I ran the code to see if I had the solution, it worked!

The even/odd number condition:

if (param1 % 2 === 0) {
// do something
}

SoloLearn – C

SoloLearn – C

The C programming language is a very complicated but yet fulfilling language. C is adopted as a system development language because you can code on it very fast just like an assembly language. Some of the lessons Eugene Amadi has done about C are:

Operating Systems

Language Compilers

Text Editors

Language Interpreters

Databases

C can be very challenging but Eugene Amadi hopes to learn a lot more when he finishes the course!

#programming #speaker #problemsolver

Grasshopper – Basic Function Fixer

Grasshopper – Basic Function Fixer

Today I completed the Grasshopper – Basic Function FIxer Kata on Codewars!

It wasn’t difficult to see the problem after a quick sweep of the code; the code was returning the specified number instead of the total. Seeing this, I changed the return value, and the code worked!

Always check that the code is outputting what you expect.

Sololearn – SQL

Sololearn – SQL

Daniel has completed 2/3 of the SQL lesson done on SoloLearn. He has learned many new things like using functions and subqueries. He is excited to finish the lesson and continue learning more.

 

Beginner – Lost Without a Map

Beginner – Lost Without a Map

Today I completed the Beginner – Lost Without a Map Kata on Codewars!

When I was coding the solution, I thought I could mutate the array and solve it then and there. It turned out I was supposed to do it without mutating, so I looked up maps. Then I wrote a function for the “map”, and the code worked!

Bug Zero Icon

OUR NEWSLETTER