Code Monkey home page Code Monkey logo

articles's Introduction

Dobiasd's articles

This repository serves as a programming-related brain dump.

If you enjoy my articles, feel free to buymeacoffee. ;-)

C++

From goto to std::transform

Functional programming in C++ with the FunctionalPlus library; today: HackerRank challange "Gemstones"

Creating a replacement for the switch statement in C++ that also works for strings

Elm

Switching from imperative to functional programming with games in Elm

Fun

Learning Curves (for different programming languages)

Programming language subreddits and their choice of words

Haskell

From Object Oriented Programming to Functional Programming - Inheritance and the Expression Problem

Kotlin

What Kotlin could learn from C++'s keyword const

When does a when expression in Kotlin need to be exhaustive, and when does it not

From Spaghetti to Ravioli - a Refactoring Example (using Kotlin)

Using fold to mimic mutation

Statistics

Basic measures of descriptive statistics

Mechanical analogies for basic measures of descriptive statistics

Do A/B tests - because correlation does not imply causation

Misc

How touch typing and keyboard shortcuts can improve the quality of the software you create

A too naive approach to video compression using artificial neural networks

A personal, generic, things-I-learned-as-a-software-developer list

Implementation inheritance is bad - the fragile base class problem

Refactoring suggestions are a compliment

Threads can infect each other with their low priority

Why a generic implementation can be the easier-to-understand solution

Covariance and contravariance explained without code

How I got rid of the crosstalk in my headset

Avoid methods to reduce coupling

"A monad is just a monoid in the category of endofunctors." - explained

Accurate timing of Strava segments

Internals of the async/await pattern from first principles

articles's People

Contributors

chikamichi avatar chinhodado avatar dobiasd avatar drifkin avatar ggreif avatar hcnelson99 avatar ktec avatar ritschwumm avatar sowbug avatar ya0guang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

articles's Issues

C is missing

A few ideas:

  • once people start with C and have understood how to use *ptr and **ptr and ***ptr and worse... productivenss increases a lot, because there are literally no boundaries from the language: any hack is possible, including abusing syntax sugars
  • once people realize that they don't understand shit of their own code 2 days later, they start trying to figure out how to write maintainable C... from that point on, productiveness almost constantly goes down while safe-assessment goes up (because you understand all the random pitfalls that can happen)

However, you could argue that most people never even try to write maintainable C code and get to a completely different conclusion... discovering more hacks every year and lose more sanity every year.

Another thing to consider is what we actually mean with productiveness: shortterm or longterm?

Promises not considered in Javascript learning curve chart

Said chart as far as it goes is correct, but to capture more than the infancy of the Javascript developer it fails. That callbacks are hell it is truly said, but marshaling of asynchronous execution to success in modern Javascript is key, and for that reason the successful Javascript developer eventually discovers futures, which in this context most commonly by the name promises are known. At this point most often another reversal occurs.

Character Count

XD Ugh, not to be that guy but...
For functional_programming_in_cpp_with_the_functionalplus_library_today_hackerrank_challange_gemstones.md

Lorem ipsum
dolor sit amet,
consectetur,
adipisci velit

The characters of the character counts are: e and s

"Self-assessment" in learning curves is less than wholly clear

English, at least as she is in America spoke, generally uses the term "self-assessment" to refer to what is at least intended to be a relatively objective analysis of one's capabilities, which is often produced in the context of employment, eventually written down on paper, and retained in an employee's permanent file.

Having twice now read your learning-curves article, I tend to suspect that the quality which, in the charts, you name "self-assessment", might more fluently in English be named something like "self-opinion", or perhaps ideally "self-regard"; this would, I think, make a lot of the charts easier on first reading to understand. (For example, interpreting in this fashion your PHP chart, one might gather that PHP programmers have an unjustifiably high regard for themselves, which would most in line with your intent seem to be.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.