From my blog post and creating Crockford style constructors.
In a previous post, I discussed how we can create objects from a function using a closure. I based this example on a presentation Douglas Crockford made at JS Fest 2018.
Constructors are functions or methods that are used for initializing an object with the values it needs to encapsulate at object creation. If you are using the
One of the things that Crockford discussed in this presentation was how we define the constructor parameters to…
From my original blog post.
Apple and Google are both large companies. When issues crop up with their technology, and we file bugs, it can sometimes take years to be addressed. For individual developers, this can be unbelievably frustrating.
Even though it is highly encouraged for developers to build mobile apps natively, there are lots of apps and frameworks that require the use of web-based components.
On iOS, there are several choices. The ‘UIWebView’ has been deprecated…
I wrote a post yesterday on how to use a WebView on iOS without using Cordova. I got a couple of requests to show how to do this on Android using Kotlin and the WebView widget. Like on iOS, this is a very easy task to accomplish on Android.
The first thing we are going to do is create a new Android project using Android Studio. Select ‘File’ -> ‘New’ -> ‘New Project’ from the menu. Android Studio will display a wizard giving you a choice of which Project Template to base your app from.
From my blog post and using WebViews.
From my blog post on Crockford Objects.
From my blog
One question that might come up in a C# job interview is what is boxing and unboxing. In .NET there are three different types of objects, value types, reference types and pointer types.
The two common types that are usually used are reference types and value types. Value types are normally used for simple values like integers, floats and chars. Reference types are usually used for more complex types that are based on classes. A string in .NET is an example of a reference type.
When you take a value type and make it a reference…
From my blog
I am currently creating a series of videos going over potential interview questions that might come up for a technical interview. I decided to do my first video on the three characteristics of Object-Oriented Programming.
The term Object-Oriented Programming was coined by Alan Kay while developing SmallTalk at Xerox PARC. The key feature is that you can write software in the form objects that can speak to each other, or call on each other.
The three characteristics that actually make Object-Oriented Programming are Encapsulation, Inheritance and Polymorphism.
Encapsulation is about hiding the implementation details of…
From my blog
I upgraded my website to the newest version of Gatsby JS. If you are not familiar with Gatsby or the JAMSTACK, it is a framework for creating static websites using the React framework. Last month Gatsby 3.0 was released, the first major upgrade since 2.0 in 2018.
They have included a Gatsby 3.0 Migration Guide in their docs, but I wanted to cover the changes I had to make in order to upgrade mu site to 3.0.
The first step I did was create a git branch for the upgrade that I could blow away if the…
The US News & World Report on diets is not worth the paper it is printed on. The people who review the different diets for that publication are proponents of 'Plant-based' or Vegan diets. They are also on the payroll of big food companies like Unilever and Nabisco.
Ketogenic diets or low carb diets are the kind of diets that Humans ate for millions of years, and is one of the healthiest diets you can possible eat.
Even Walter Willett of Harvard, who is a big proponent of 'Plant-based' diets, says that Carbs make you fat. If something makes you fat and sick, maybe you should not eat that food.
I am a software engineer and commercial pilot in jacksonville, Fl. I also produce videos for the Polyglot Engineer Channel on YouTube.