Browsed by
Tag: programming

Git Is Your Single Point Of Truth

Git Is Your Single Point Of Truth

This is a post by Jezen Thomas, a freelance software developer spending most of his time writing software with Ruby and JavaScript. This was originally published on his blog. Follow him on Twitter.

Software startups today use a plethora of project management tools, and not all of them are created equal. Regardless of which one has the most bells and whistles, the shiniest marketing site, or employs the most rabid of sales representatives and evangelists, there is one value that I hold in higher regard than any other: longevity.

In any STEM discipline, a core part of an engineer’s daily work is to run sanity checks. As per that old adage, “A good programmer is one who looks both ways before crossing a one-way street.” Sanity checks are rendered somewhat less sane when a single point of truth can’t be established.

Read More Read More

Where Can Girls Learn to Code?

Where Can Girls Learn to Code?

Programming and coding isn’t just for the men in this world, women also have the chance and the right to learn to code as well if they want to. So where can girls learn to code online without having to take the time to visit their local university? This expert guide will give you the sites needed for where you can learn and master coding online and also some offline places in the US. Let’s get started.

learn-to-code

Read More Read More

The 10 Best JavaScript Alternatives – How to choose?

The 10 Best JavaScript Alternatives – How to choose?

JavaScript is everywhere. It’s currently the 7th most popular programming language on the planet according to the Tiobe index. But basic JavaScript isn’t too magnificent. It isn’t the easiest language to work with and brings with it some challenges, the most troublesome being how hard it is to write manageable and scalable code with ease. This kind of sucks because of how widely used the language is.

JavaScript is the uncontested standard for browser based programming. Once Node.js hit the scene JavaScript started to take over server side programming as well. The arrival of hybrid apps brought it into the world of mobile development making it even more prominent. Realizing this trend a ton of languages that compile to JavaScript were created to make developers lives easier which is what I am here to share with you today. Due to the abundance of JavaScript alternative languages, I have tried to cover the modern and more widely used ones to make your life easier.

Read More Read More

The Case Against Dynamic Typing

The Case Against Dynamic Typing

dynamic-typing

AN ARGUMENT FOR DYNAMIC TYPING is that by not enforcing the types of a function’s parameters, the function becomes more generalized, and thus more flexible and reusable. I argue that this flexibility versus automatically-verifiable correctness of the system is not a trade-off we need to make.

This post is in part inspired by Why Dynamic Typing Is Useful by Gary Bernhardt. I’ll concede that his post is published 10 years prior, so I’ve had plenty of time to build a counter-argument.

Why Is Dynamic Typing Useful?

Read More Read More

C#: Program Entirely with Static Methods

C#: Program Entirely with Static Methods

OK, that’s a provocative title to get your attention. This post is really about how one can move to a more functional programming style and remove the need for much of the apparatus of object-oriented programming, including interfaces and classes. In this post, I’m going to take some typical object-oriented C# code and refactor it in a more functional style. I’ll show that the result is more concise and easier to test.

Over the past couple of years I’ve noticed that my C# coding style has changed drastically under the influence of functional programming. Gone are interfaces and instance classes to be replaced by static methods, higher-order functions and closures. It’s somewhat ironic since I spent many years as a cheerleader for object-oriented programming and I considered static methods a code smell.

I guess if I look at my programming career, it has the following progression:

Procedural –> Object-Oriented –> Functional

The OO phase now looks like something of a detour.

C# has all the essential features you need for functional programming – higher-order functions, closures, lambda expressions – that allow you to entirely ditch the OO programming model. This results in more concise, readable and maintainable code. It also has a huge impact on unit testing, allowing one to do away with complex mocking frameworks, and write far simpler tests.

Read More Read More