2022-07-25

Common mistakes Dutchies make in the use of English

City Skyline Across Body Of Water In The Evening In Rotterdam, The Netherlands by Scopio from NounProject.com

Object-adjective instead of adjective-object.

"I will learn you how to skate." ("Learn" instead of "Teach".)

"When you want, we also have it in white." ("When" instead of "If".)

"Let's meet at sex." ("Sex" instead of "Six".)

"Dear colleagues, hereby the schedule." ("Hereby" instead of "Here is" or "Hereby I give you".)

"I am a cineville" ("cineville" instead of "cinefille") -- there is even a .nl domain misspelled this way.

"We have lot's of bicycle's" (Genitive instead of plural suffix.)

"Meet you at the busstop" (Concatenating words that are not normally concatenated in English.)

Dutch pronunciation rules cause some really weird phenomena, for example when you call Vodafone, the operator informs you that you have reached "Fodavone".


2022-07-16

A Programming Language

"Coding Software Running On A Computer Monitor" by Scopio from NounProject.com

Abstract

My thoughts and notes on how I would like a new programming language to look like.

The main goals of the language are:

  • Simple and elegant. (So that it is suitable for the academia.)
  • Expressive. (So that it is suitable for experienced programmers.)
  • Consistent. (So as to be attractive to developer teams.)
  • Fast. (So that it is suitable for high performance computing.)
  • Lean. (So that it is suitable for resource-constrained computing.)
This is work-in-progress; It is bound to be heavily amended as time passes, especially if I try some new language, like Kotlin or Rust.

Summary of language characteristics

2022-07-14

And now, for something completely different... in Java


Summary

This post presents a coding construct for Java which reduces the total number of lines of code necessary to declare and initialize fields whose values are copied or computed from constructor parameters.

The problem

Let us suppose we want to write a class which exposes a `greet()` method that prints "Hello, <name>!" where <name> has been passed as a constructor parameter. Here is a trivial implementation: