Python is a dynamically typed language, which means we do not define the type of an object, but that doesn’t mean we can’t declare types as a form of annotation for the sake of documenting our code. The Python docs refer to this as “Type Hints”. See the docs here.

In this article I’ve put together some code samples of the Haversine formula in JS, Ruby, and SQL.

First, let me provide an explanation for the formula known as the Haversine Formula.

Haversine allows you to calculate the distance between two sets of coordinates on a sphere — which is considerably different than calculating distances on a flat plane: Flat Earth folks will be…

The verse of the day from the YouVersion Bible app (Bible.com) for today September 11, 2019 says:

“The name of the Lord is a strong tower; The righteous run to it and are safe.”Proverbs 18:10 (New King James)

Now, raise your hand if you know “the name of…

“Creative Commons New crops-Chicago urban farm” by Linda is licensed under CC BY 2.0

Growing up in a smallish town on the verge of assimilation into a larger metro area, I was exposed to two distinctly different lifestyles; the simple life of classic country living, and the fast-paced hustle and bustle of urban America. As a thirty-something millennial yearning for peace and quiet I…

Abe Flansburg

Software Developer / Data Scientist / Follower of Jesus Christ

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