Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    C

    CodeFX

    blog.codefx.org · Personal blog · on HN since 2014

    Nicolai Parlog writes about Java features and changes, including modules, switch expressions, default methods, and var in recent releases.

    Visit blogHN submissions
    ProgrammingLanguages & Compilers
    What HN says

    HN links it for Java explainers; commenters use it to show Java's switch is limited and that modules may worsen version problems.

    Stats for nerds
    22HN people shared it
    35linked in comments
    122story points
    Feb 2019last shared
    2015people per year2019

    Top posts on HN

    1. 1
      What Future Java Might Look Like
      1 person · 45 points · first shared 2016 · 102 comments on HN
    2. 2
      Unlocking Intersection Types with ‘var’ in Java 10
      3 people · 23 points · first shared 2018 · Discussion on HN
    3. 3
      Unified Logging (GC, Class Loading, ) in Java 9 with the -Xlog Option
      3 people · 4 points · first shared 2017 · Discussion on HN
    4. 4
      Java tricks with 'var' and anonymous classes (that you should never use at work)
      1 person · 4 points · first shared 2018 · Discussion on HN
    5. 5
      Java 9 Additions to Stream
      2 people · 3 points · first shared 2016 · Discussion on HN
    6. 6
      Comment Your Fucking Code – BlogCodeFX
      1 person · 3 points · first shared 2015 · 1 comments on HN
    7. 7
      Seven reasons against blogging
      1 person · 3 points · first shared 2016 · Discussion on HN
    8. 8
      Java 9 Additions to Optional
      1 person · 3 points · first shared 2016 · Discussion on HN
    9. 9
      Eleven Hidden Gems in Java 11
      1 person · 3 points · first shared 2018 · Discussion on HN
    10. 10
      Java 8 Stream Performance, compared to for loops with backing arrays and lists
      1 person · 3 points · first shared 2015 · 1 comments on HN

    What HN people wrote when they linked it

    • scubaguyJul 2015

      I read this article yesterday and I really dislike how it is worded. The "this engineer" has a name, Donald Smith, this is what he said:

      "If you're using
      Unsafe, this is the year to explain where the API is broken and get it
      straight.... Please help us kill Unsafe, kill Unsafe dead, kill Unsafe right, and do
      so as quickly as possible to the ultimate benefit of everyone."

      It reads like a request to have a discussion on Unsafe, to talk about it and find solutions. Unfortunately, I don't see anyone pointing out why Unsafe should be kept around on that thread (http://mail.openjdk.java.net/pipermail/openjfx-dev/2015-April/017028.html).

      And this quote from Oracle shows an effort to do things right:

      http://mail.openjdk.java.net/pipermail/discuss/2013-October/003162.html
      "This is definitely something we plan to propose for SE 9. I expect
      to see a JEP from the current maintainers of sun.misc.Unsafe..."

      This (http://blog.codefx.org/java/dev/how-java-9-and-project-jigsaw-may-break-your-code/) seems like a more balanced article on the situation.

      "So far we focused on the problematic aspects of Project Jigsaw. But that should not divert from the exciting and – I think – very positive nature of the planned changes. After reading the documents, I am impressed with the scope and potential of this upcoming Java release. While it is likely not as groundbreaking for individual developers as Java 8, it is even more so for everyone involved in building and deploying – especially of…

    • aiCeivi9Apr 2018

      No, it is supposed to reduce surface area between modules/jars. Before Java9 library creators could only add "internal" to their packages name and hope end users won't touch it.

      The introduction of modules might actually make version hell even worse: https://blog.codefx.org/java/dev/will-there-be-module-hell/

    • dmitriidFeb 2019

      It's not. C#'s switch can pattern match on value and type: https://blogs.msdn.microsoft.com/dotnet/2019/01/24/do-more-with-patterns-in-c-8-0/

      Java's switch still operates only on String, int, short, byte, char, and their wrapper types: https://blog.codefx.org/java/switch-expressions/

    • milliamsJan 2015

      Does this page look like crap on anyone else's browser? I'm on Firefox 34.

      Edit: The non-cached version at http://blog.codefx.org/jdk/everything-about-default-methods/ is much better.

    Related

    Brian Goetzcr.openjdk.java.net/~briangoetz53 people

    Pattern Matching for Java

    Brian Goetz
    Personal · last shared 2022
    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    FP Complete Blogfpcomplete.com201 people

    Monads and GATs in Nightly Rust

    FP Complete Blog
    Company · last shared 2025
    Inside Javainside.java66 people

    Strings Just Got Faster

    Inside Java
    Company · last shared 2026
    Vidar Holenvidarholen.net68 people

    Useless Use of "dd" (2015)

    Vidar Holen
    Personal · last shared 2025
    2ality2ality.com267 people

    Temporal: Getting started with JavaScript's new date time API

    2ality
    Personal · last shared 2026
    fasterthanli.mefasterthanli.me236 people

    A half-hour to learn Rust

    fasterthanli.me
    Personal · last shared 2026
    Llogiqllogiq.github.io43 people

    Rust Performance Pitfalls

    Llogiq
    Personal · last shared 2026