Log inSign up
Joshua Bloch
17K posts
user avatar
Joshua Bloch
@joshbloch
Effective Java author, API Designer, CMU Prof, Swell guy, No longer posting here. Find me at joshbloch.bsky.social
Silicon Valley
joshbloch.com
Joined July 2009
198
Following
65.4K
Followers

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up
  • Pinned
    user avatar
    Joshua Bloch
    @joshbloch
    Nov 22, 2024
    This is your annual reminder that Math.abs(Integer.MIN_VALUE) == Integer.MIN_VALUE, which is negative. Also, Integer.MAX_VALUE is prime. Finally, I'm leaving this hellsite for Bluesky (same userid) because many of my favorite tweeters went there, and you go where the action is.
    7.2K
  • user avatar
    Joshua Bloch
    @joshbloch
    Mar 19, 2017
    Replying to @FoxNews and @jerrykuch
    You forgot: * Must be a complete waste of tax dollars * Must accomplish nothing useful
  • user avatar
    Joshua Bloch
    @joshbloch
    Feb 13, 2021
    OH: "British Python programmers be like 'import math as maths.'"
  • user avatar
    Joshua Bloch
    @joshbloch
    Apr 5, 2021
    I am elated to announce that the Supreme Court ruled today that API reimplementation is fair use. This brings a ten year odyssey to an end. I'll have more to say later when I've had time to read the opinion. supremecourt.gov/opinions/20pdf…
  • user avatar
    Joshua Bloch
    @joshbloch
    Mar 13, 2022
    Today I want to tweet about something serious: colorectal cancer. March is colorectal cancer awareness month, but that’s not why I’m tweeting today. After procrastinating 10 years, I finally got my first colonoscopy this January, at age 60. Turns out I should have done it sooner.
  • user avatar
    Joshua Bloch
    @joshbloch
    Nov 30, 2017
    I just sent the final pdf for Effective Java, Third Edition off to be printed. I didn't sleep all that much in the past few days ;)
  • user avatar
    Joshua Bloch
    @joshbloch
    Nov 13, 2023
    Thanks so much! I do intend to update the book, but first, I plan to write an API Design book.
    user avatar
    Martin Hock
    @mnhocktweets
    Nov 11, 2023
    For me it is the best Java book I’ve ever read so far by @joshbloch. If you a Java developer than I highly recommend reading it 🔥 I hope there will be a new update soon 🤞
    111K
  • user avatar
    Joshua Bloch
    @joshbloch
    Oct 7, 2017
    I'm (still) hard at work revising Effective Java. For the next week, Pearson is offering 40% off on preorders informit.com/promotions/jav…
  • user avatar
    Joshua Bloch
    @joshbloch
    Aug 4, 2018
    Hot news! Effective Java third edition source code is finally online. Sorry it took me so long.
    GitHub - jbloch/effective-java-3e-source-code: The source code from the third edition of Effective...
    From github.com
  • user avatar
    Joshua Bloch
    @joshbloch
    Mar 10, 2020
    In a corporate blog yesterday, Oracle attacked 83 computer scientists (including 13 Turing Award winners) who signed an amicus brief defending our right to reimplement APIs, on the grounds that some of us accepted research grants from Google.
  • user avatar
    Joshua Bloch
    @joshbloch
    Dec 28, 2017
    Funny how incompetence and arrogance are positively correlated.
  • user avatar
    Joshua Bloch
    @joshbloch
    Jul 27, 2018
    This is Donald Knuth's sole tweet:
    user avatar
    Donald Ervin Knuth
    @realDonaldKnuth
    May 9, 2016
    If you optimize everything, you will always be unhappy #Knuth
  • user avatar
    Joshua Bloch
    @joshbloch
    Aug 19, 2018
    If you do not remember Jon Bentley's 1985 "Bumpersticker Computer Science" (perhaps because you never read it) drop whatever you're doing and read it now. bowdoin.edu/~ltoma/teachin…
  • user avatar
    Joshua Bloch
    @joshbloch
    May 11, 2020
    I recently stumbled on this blog post again. You should read it once a decade whether you need to or not. james-iry.blogspot.com/2009/05/brief-…