software development (55)

Difference between heap and stack

In this Post I try to explain the difference between the heap and the stack. It's just a very high level amateur explanation, there is a lot more to read and learn about this Topics. This Drawing helps me a lot to understand the basic…

Continue reading...

JavaScript arrays

Array An array combines multiple values in a single variable Arrays are helpful if the number of values is huge or dynamic Each value of an array has a unique numerical index // Normal variables hold exactly one value const colorA = "blue"; const colorB…

Continue reading...

JavaScript functions

Function Expression A function expression starts with the keyword function followed by the function arguments in parentheses and the function body in curly braces: const square = function(x) { return x * x; }; console.log(square(4)); // >> 16 Function Scope Each function defines a scope…

Continue reading...

JavaScript basics

What JavaScript is A scripting language originally designed for web browsers Object-oriented, however prototype-based and not class-based Supporting first-class functions A multi-paradigm language, supports imperative, object-oriented and functional programming style Untyped Moving from an interpreted language to just-in-time compilation Nowadays used for server-side programming too…

Continue reading...

Deploy your Java Web App to Heroku

Requirements and Preparation Unfortunately Heroku currently only Supports Tomcat version 9.x. As a consequence you're not able to use the Java Jakarta Servlets, since they are only supported with Tomcat version 10.x. As a consequence you need to replace all your Jakarta Servlet imports with…

Continue reading...