k88.io Presents: Programming
k88.io Presents: Programming

k88.io Presents: Programming

Just another blog about programming, tricks and tutorials.


One-liner JavaScript - Odd or Even

20 Jan 2022 1 minute read 0 comments k88.io

Welcome to a new series of JavaScript codes where I try to post a one-liner JavaScript function. This first code is a one-liner code for determining if a number is odd or even: const isEven = (num) => !Boolean(num % 2); const isOdd = (num) => Boolean...

Bash - Goto Shortcut for Fast Directory Change

12 Jan 2022 1 minute read 0 comments k88.io

If you spend any considerable time in your terminal, then there are certain directories that you go to more often than others. You may depend on your terminal autocomplete to quickly type cd ~/Documents  to and press up/down until you find the match....

The 3Ms of Coding Practices

12 Jan 2022 4 minute read 0 comments k88.io

In the world of programming, there are many lists of dos and don'ts. Some are universally liked, and some are personal preferences from one programmer to another. I want to take a step back and instead introduce 3 concepts you should use. This articl...