Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 108
  1. Looking at Java 21: Intro

    Java 21 has recently entered “rampdown phase one”, and is planned for general availability in September!

  2. I’m happy to announce that my book, “A Functional Approach to Java: Augmenting Object-Oriented Java Code with Functional Principles” is finally available 🥳

  3. Traveling with (only) an iPad

    After becoming a workaholic in the last three years and spending 7 days almost every week in the office, it was time for a vacation and change of scenery: a 25 days trip to South Korea and Japan.

  4. Deploying Hugo with GitHub Actions

    Almost 3½ years ago, I moved this blog from GitHub pages to my own little machine in the ether.

  5. Besides lambdas expressions, Java 8 introduced another language syntax change in the form of a new operator, :: (double colon), to create so-called method references.

  6. The first version of my Calibre export tool got released today!

  7. Custom Operators in Swift

    Swift is quite a flexible language, providing you with many tools to modify and augment it as you seem fit.

  8. Build-Time Variables in Go

    Setting variables at build-time provides valuable metadata that wasn’t available when writing the code or even at runtime.

  9. Java Interfaces vs. Abstract Classes

    Even though interfaces and abstract classes have many similarities at first look, especially after introducing default methods, they have different use cases and capabilities.

  10. Java Spliterator Explained

    The concept of traversing elements with Iterators is supported since Java 1.2, but got a new relative in Java 8: java.util.Spliterator

  11. How to Iterate with Java

    Iterating data structures is one of the most common tasks.

  12. Dealing with date and time is a cumbersome task in many programming languages.

  13. The concept of map/filter/reduce is a cornerstone of any functional programming.

  14. Java is often criticized as being too verbose.

  15. Localization Changes in Java 9

    java.util.Locale is used to format dates, numbers, currency, and more.

  16. As developers, we perform many repetitive tasks, big and small.

  17. Shell scripting is a powerful tool available on all platforms, even Windows, thanks to WSL.

  18. Nested Classes in Java

    OOP allows us to nest classes that are logically bound together, to increase encapsulation, for more concise and maintainable code.

  19. Dealing with Exceptions in Java is a must, and functional programming doesn’t make it easier.

  20. Java Benchmarks with JMH

    Almost every developer knows the phrase “premature optimization is the root of all evil”, coined by Donald Knuth in 1974.

  21. Choosing the Right Data Types

    When we create a new data structure, deciding on its data types is usually a simple decision: text will become a String, non-floating-point numbers will be int, and so forth.

  22. Exception handling is a mechanism used to handle disruptive, abnormal conditions to the control flow of our programs.

  23. “Any fool can write code that a computer can understand.

  24. Formatting Strings With Java

    We all know String.format(...).

  25. Java NIO (“non-blocking I/O”) is a great feature set for dealing with I/O operations.

  26. The JDK Ecosystem

    About 10 years after Java’s inception in 1996, Sun Microsystems released OpenJDK in 2007, a free and open-source implementation of Java SE.

  27. The JDK is evolving with every new release, adding more and improving existing features.

  28. Not many components live on their own, without any dependencies on others.

  29. JShell, the Java REPL

    Many languages contain a REPL, a Read-Evaluate-Print Loop.

  30. Git is packed with features and some can be very intimidating.

  31. Immutability is one of the core concepts of functional programming.

  32. By designing and writing code, we naturally start to develop our own personal style and habits, good and bad.

  33. Java 8 gave us the Stream API, a lazy-sequential data pipeline of functional blocks.

  34. Java Annotations Explained

    With JSR-175, Java 5 gained a metadata facility, allowing us to annotate our code with decorative syntactic metadata.

  35. Java’s new functional abilities come with a plethora of included types.

  36. Java has different methods of comparing objects and primitives, each with its own semantics.

  37. Java is a general-purpose programming language with class-based object-orientation at its core.

  38. Java Stream Collectors Explained

    With Java 8 came one of the greatest additions to Java: the Stream API.

  39. For a long time, I wanted to be more like a digital nomad: traveling the world and working wherever I got wifi.

  40. Introduction to CSS Custom Properties

    Since its proposition in 1994, CSS has evolved from a static description of simple styles to a cornerstone of modern web design.

  41. The human mind loves to simplify concepts to more natural, understandable terms.

  42. Until Java 8, there was no better way to handle null references than checking your variables at every turn.

  43. Know Your Dependencies

    Almost no software project lives isolated without dependencies.

  44. What to do if your favorite dependency is not SPM-compatible (yet)?

  45. Signal-to-Noise Ratio

    The signal-to-noise ratio is a measure used in science and engineering that compares the level of the desired signal to the level of background noise.

  46. Best of: Java 8

    We looked at version 7 of Java before.

  47. I’m always looking for a small-footprint laptop for traveling supporting my Linux-based workflow.

  48. Column 80

    Code lines shouldn’t be too long, and many of us use 80 columns as a (flexible) limit.

  49. Best of: Java 7

    Java was never the quickest language regarding new features compared to newer languages, but IMHO, this is one of the reasons why most of the enterprise world still depends on it and will in the future.

  50. Initially, this blog was hosted with GitHub pages.