Functional PowerShell with ClassesI promise it’s not an oxymoronChristopher KuechBlockedUnblockFollowFollowingMay 8Object-Oriented Programming and Function Programming paradigms may seem at odds with each…
Continue Readingtype
“Pattern matching” with Typescript done right
U : never}type ShapeTypeMap = ShapeMap<Shape>// Result:type ShapeTypeMap = { Square: Square; Circle: Circle; Rectangle: Rectangle;}3. Convert map of discriminant…
Continue ReadingReact-Redux with TypeScript
Just to keep it simple, we’ll build the infamous to-do list application. Remember that the purpose is to understand how…
Continue ReadingKey Types of Regressions: Which One to Use?
Key Types of Regressions: Which One to Use?Oleksii KharkovynaBlockedUnblockFollowFollowingMay 5So, regression… aside from other algorithms and statistical models, it is one…
Continue ReadingDemystifying Java Generics — gotchas and workarounds
extends Number>:public void testListAssignment() { List<Integer> integerList = new ArrayList<Integer>(); accept(integerList); // this now compiles} private void accept(List<? extends Number>…
Continue ReadingExplained: Futures in Rust for Web Development
+ ⛑If a crate returns a Future, you can use . and_then() to work with the result once the Future is ready.…
Continue Reading5 Tips To Speed Up Golang Development With IntelliJ Or Goland
5 Tips To Speed Up Golang Development With IntelliJ Or GolandKeith PerryBlockedUnblockFollowFollowingMay 1While I mentioned in a previous post that I…
Continue ReadingIntroducing strong native PHP types
Introducing strong native PHP typesMatt KingshottBlockedUnblockFollowFollowingApr 30Today, after around a month of hacking, I’m pleased to announce my attempt at addressing…
Continue ReadingProgramming Languages as Categories
Or, if we consider several different sorting algorithms implementations, do we want to consider them equal as functions?For a machine…
Continue ReadingBreaking Circular Dependencies in Recursive Union Types With C++17
We’ll need a way to describe the recursive nature of JSON to the type system just to define the type…
Continue ReadingIntro to C++ : Variables, Constants, & Data Types
It lets the complier know how much memory needs to be set aside to hold that variable’s value. So all…
Continue ReadingCoding With Intention
Coding With IntentionHow to write well-defined and easy-to-maintain codeKenneth ReillyBlockedUnblockFollowFollowingApr 27Screenshot of a popular modern IDE — Visual Studio CodeWith hundreds of programming…
Continue ReadingTypescript & React: Manipulating Prop Types
Typescript & React: Manipulating Prop TypesHow to use Extend and Pick helpers with generic types, intersection types, and moreRoss BulatBlockedUnblockFollowFollowingApr 27This talk…
Continue ReadingType checking with JSON Schema in Python
In this post I’ll recount some thoughts on merging the activity of JSON Schema-writing with type checking in Python, and…
Continue ReadingSo, You Want to Make a Reporting Application
So, You Want to Make a Reporting ApplicationEric FoertschBlockedUnblockFollowFollowingApr 26Say you’re a prospective new business owner and you are ready…
Continue ReadingExploratory Data Analysis: Baby Steps
Exploratory Data Analysis: Baby StepsSwetha LakshmananBlockedUnblockFollowFollowingApr 25Data science is often thought to consist of advanced statistical and machine learning techniques. However,…
Continue ReadingAn introduction to Law Testing in Scala
(e. g. : changing the person data type [adding a LastName field], repeated tests for other data types, etc)“ We…
Continue ReadingIntroduction to Formality (Part 1)
First, because it keeps the language simple, obviously. After all, this can be easily solved with macros outside the “official…
Continue ReadingTypescript Generics Explained
Typescript Generics ExplainedLearn what generics are and how they are used in TypescriptRoss BulatBlockedUnblockFollowFollowingApr 19Generics: the ability to abstract typesThe implementation…
Continue ReadingType Annotations & Repeating Annotations in Java
Type Annotations & Repeating Annotations in JavaRoland HewageBlockedUnblockFollowFollowingApr 18Type AnnotationsBefore the Java SE 8 release, annotations could only be applied to…
Continue ReadingPandas Challenge #2 — Explain the 1,000x Speed Difference when taking the Mean
Pandas Challenge #2 — Explain the 1,000x Speed Difference when taking the MeanTed PetrouBlockedUnblockFollowFollowingApr 16In this challenge, your goal is to explain why…
Continue ReadingPandas Challenge #2: Explain the 1,000x Speed Difference when taking the Mean
Pandas Challenge #2: Explain the 1,000x Speed Difference when taking the MeanTed PetrouBlockedUnblockFollowFollowingApr 16In this challenge, your goal is to explain…
Continue ReadingStatic type checking for collections of string constants in TypeScript
I only did it here for consistency with the previous examples. Now a bit of analysis for how I arrived…
Continue ReadingIntroduction to Concurrency in Go: Gopher Farm
Introduction to Concurrency in Go: Gopher FarmOlena StoliarovaBlockedUnblockFollowFollowingApr 11Concurrency can be very tricky for beginners. Reading articles about gophers loading ore…
Continue ReadingHow Data Types and Operators Work in Java?
How Data Types and Operators Work in Java?At the foundation of any programming language are its data types and operators, and…
Continue Reading