No internet connection
  1. Home

Comments for https://horstmann.com/unblog/2022-07-20/index.html

By System @system
    2022-08-18 18:33:03.332Z
    • 2 comments
    1. B
      Brad Cupit @bradcupit
        2022-08-18 18:33:03.414Z

        For Inflationary Expressions you can use a single char:

        jshell> var x = ' ';
        x ==> ' '
        
        jshell> /vars
        |    char x = ' '
        

        char is 4x longer than the single character passed in 😝

        1. CCay Horstmann @cayhorstmann
            2022-08-18 19:17:19.622Z

            But ' ' is three characters. You have to count the quotation marks.