GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Embed Notice

HTML Code

Corresponding Notice

  1. Embed this notice
    Arch 💕 (archenoth@chitter.xyz)'s status on Tuesday, 28-Nov-2023 06:55:07 JSTArch 💕Arch 💕
    in reply to
    • tech? no! man, see...

    @technomancy it's funny that you mention this, because modernizing a mid-sized (~1000 class) codebase is actually exactly what i've been up to~

    one thing it really does make abundantly clear is why people don't like java (or rather, the java that everyone who doesn't like it recognizes)

    - the dilligent finally usage needed (instead of autoclosing try-with-resources blocks)
    - relying heavily on class hierarchies (instead of modern mixins)
    - limited generics and Object to get past it
    - no lambdas
    - no method references
    - no Optional
    - no switch expressions (just switch-case statements)
    - no pattern matching
    - zero destructuring
    - egregeous boilerplate for classes that only need to hold a couple related immutable values (as opposed to records)
    - only platform threads (as opposed to being able to spawn millions of structured green ones no problem)

    the before and after in some of these cases is absolutely drastic, but also super-satisfying

    but, java is blub, so its new stuff get ignored

    In conversationTuesday, 28-Nov-2023 06:55:07 JST from chitter.xyzpermalink
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.