Skip to main content

Posts

Showing posts from November, 2020

The JavaScript Cheatsheet you need in 2020

  What is the difference between Arrow and Regular Functions? This  value (context): in a regular function, the value of  this  has nothing to do with the class on which it was defined; instead, it depends on the object that it was  called upon ; inside an arrow function  this  value always equals the  this  value from the outer function Constructors : regular functions can easily construct objects, while an arrow function cannot be used as a constructor Arguments  object: is a special array-like object containing the list of arguments with which the function has been invoked, inside an arrow function the  arguments  object is resolved lexically: it accesses arguments from the outer function Implicit return : regular functions use the return expression statement — otherwise it will just return undefined, while with arrow functions, if they contain one expression and the function’s curly braces are missing, then the expression i...

6 Lesser-Known Linux Commands You Should Try

 Linux life isn’t all about ls and grep. Sure, you’ve probably used those tools to quickly find things and solve simple problems, but that’s only the beginning. Most Linux distributions have a plethora of tools built-in that are easy to miss at first glance. Under the surface Linux has some of the most specific, concise programs to accomplish everything from basic text manipulation to complex network traffic engineering. If you spend time Googling tutorials or guides on mastering Linux you will be presented with some great material that covers the basics. Learning the foundational knowledge of how to navigate on the command-line using cd and ls is a must, but there is so much more you can accomplish without ever reaching for another third-party tool or language. Engineers can be too quick to jump to a high-level programming language when they think something can’t be accomplished through focused programs and pipes. Sure, in most cases switching to a language like Python may be simp...