Request Dev Services »

cdev.co / Notes /

What is an anonymous function in JavaScript?!

  • An anonymous function, is basically a function without a name or may also be referred to as a self-invoking inline function.
  • Take functions stored in variables, for instance, if
Read More »

Benefits of using ‘constants’ over ‘variables’ in programming?

Do programmers prefer to use constants or variables?

Constants would be a more stable choice for variables that aren’t meant to be changed later down the line. The siue.edu website … Read More »

Dynamic vars and Math methods (Ruby intro tips)

A simple exercise to begin working with variables and math functions with Ruby.

Firstly let’s define Pi; which we’ll use to do math on. We don’t really have to create … Read More »