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.

What HN saysHN links it for Java explainers; commenters use it to show Java's switch is limited and that modules may worsen version problems.
22HN people shared it
4linked it in comments
35stories submitted
122story points
7 years agolast shared
2014people per year2026

Most-shared posts

  1. 1
    Unlocking Intersection Types with ‘var’ in Java 10
    3 people · 23 points · first shared 2018 · discussion on HN
  2. 2
  3. 3
    Java 9 Additions to Stream
    2 people · 3 points · first shared 2016 · discussion on HN
  4. 4
    How Java 9 and Project Jigsaw May Break Your Code
    2 people · 2 points · first shared 2015 · discussion on HN
  5. 5
    Everything you need to know about default methods
    2 people · 1 points · first shared 2015 · discussion on HN
  6. 6
    Java 13 Switch Expressions
    2 people · 1 points · first shared 2019 · discussion on HN
  7. 7
    What Future Java Might Look Like
    1 people · 45 points · first shared 2016 · 102 comments on HN
  8. 8
  9. 9
  10. 10
    Comment Your Fucking Code – BlogCodeFX
    1 people · 3 points · first shared 2015 · 1 comments on HN
  11. 11
    Eleven Hidden Gems in Java 11
    1 people · 3 points · first shared 2018 · discussion on HN
  12. 12
    Seven reasons against blogging
    1 people · 3 points · first shared 2016 · discussion on HN
  13. 13
    Java 9 Additions to Optional
    1 people · 3 points · first shared 2016 · discussion on HN
  14. 14
  15. 15

What HN people wrote when they linked it

dmitriid · 2019-02-15
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-patter… Java's switch still operates only on String, int, short, byte, char, and their wrapper types: https://blog.codefx.org/java/switch-expressions/
aiCeivi9 · 2018-04-04
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/
milliams · 2015-01-16
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.
scubaguy · 2015-07-14
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.h… And this quote from Oracle shows an effort to do things right: http://mail.openjdk.java.net/pipermail/discuss/2013-October/003162.htm… "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-brea… 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…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close