Sign in

I write adventures instead of dull coding tutorials in Full Stack Web and C# Development. Udemy Instructor & Diploma Engineer. Udemy: https://bit.ly/32qGFP1

Great Code starts with You and ends with having more time to code your darling!

Made by the author with ❤

Looking at variable names like double penetration or case closed are funny but not a real-life banger. What tends to be more realistic are names like toBoolOrNotToBool(). Haha, no! What really drives me crazy and every other developer around the globe are names like:

Look at all those names. This is one of my earliest scripts back from 2015. So I was no exclusion from this rule! Look how messy it is and I bet my a** you haven’t even finished reading the longer names!

This article will give you essential tips about naming your functions precisely and as…

Typescript saves a lot of development time, but is it worth an entire migrating process?

I got you whenever there is a project that should be migrated to another language, your inner voice is shaking and screaming: NO GOD! PLEASE NO!
It doesn’t care if you are at work and you have to do it, since coding is your job or you are struggling with this decision for months, but your private project would be a better one after the migration.

TypeScript is powerful and saves you a lot of time and frustrating debugging sessions. For large projects, you need…

Use 10 Unknown Commands to get the best Console Statements

As a JavaScript developer and I am myself one of them, console.log is the built-in debugger of JavaScript. I use it pretty often to verify my own code and you should do it, too. There is nothing wrong with doing it this way!

But you can bring your debugging game to the next level and save a lot of time and stress using the provided, mostly unknown, features of console.log.

1. Inception — Console.log(console)

So you run console.log to debug something, bring console.log(console) in your coding game to get more information than you ever will need.

CCA Episode 2 — Roles in Software-Development — Attack of the Clones

Photo by Daniel Cheung on Unsplash

Architectural roles

To get you a fast introduction here: If you think the team of developers comprises a bunch of coders, then you are wrong! Therefore, it doesn’t matter which agile framework you are using or if you still stick to the outdated waterfall system.

If you develop a web app, there are different roles than developing firmware or a desktop application that works offline. Therefore, a deep understanding of the roles inside a development team means to know the diverse and inventive roles as the architectures are the roles of the developers involved:

  • Solution Architect
  • Cloud Architect
  • System Architect
  • Enterprise Architect

Composite Component Architecture: Episode 1 — Software Architecture — The Phantom Menace

Photo by Joseph Barrientos on Unsplash

So this question always comes up, and I will give my answer at the end of this article. I suggest you answer the question yourself before continuing to read the article. You see that it is difficult to define this term in a comprehensible manner.

The architecture of an application is the structuring of the entire software system. This is to be structured together with a set of rules according to which the software system must be implemented. Such a set of rules guarantees that the conformity to qualitative aspects will drive the project to long-term success. …

Typescript: Validate your JavaScript code ahead of time!

Javascript is a dynamic language that has the ability to make crazy things. One outstanding example is to reference what doesn't exist. In other words: Work with objects of unknown shape.

I would like to see how Bud Spencer executes the enemy like in the gif below with the famous Pigeon Punch and JavaScript seems to have no problem with that. What could go wrong?

JavaScript’s reduce method is one cornerstone of functional programming

Illustration made by Author with ❤️

It was one of those workdays, where a colleague came towards me and asked: “Why did you code it like this?” I was already a bit upset because he corrected and recommitted my last git commit silently the last day.

Anyway, put on a smile and go ahead — I thought to myself. “What do you mean?” I asked him and he introduced me to Array.prototype.reduce() and although I was still upset about his behavior the last day, I was quite happy having one to explain and show me a nice function to be used onto arrays in JavaScript.

I…

Get the cheatsheet & Learn how to Import and Export JS Code with ES Modules

Illustration made by Author with ❤️

Definition

A module is a JavaScript source code file that exports its own code. Either fully or partly.

Overview Import/Export

We start off with a single source code file of JavaScript. Then your code is only available inside this file. Implementing a module architecture is only possible because of the keyword export. You convert then your single file into a module with exportable components.

This means JavaScript code lives in a single file and you just cannot simply access the code from other source files. Using export provides the functionality to export the content. Either fully or partly as a dependency. …

To understand recursion, you need to understand recursion.

Definition

Recursion is just calling a function inside a function but not just any function, calling the same function the other functions are being part of. It is like having a bag inside a bag and inside this bag; you get another bag.

Worst Example Ever

Having a bag inside a bag is okay. We all had or have this. Think back to your school days, having a pencil case (bag) inside your backpack. In terms of coding or coding languages, you are opening the box of Pandora with a simple example.

Infinite loop created with recursion

The function bag() is being called by…

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store