mod-dev-talk Friday 17 December 2021

29 messages3 people

  1. gudenau

    public final class Example{
        public static void main(String[] args){
            // \u000A /*
            I am a 400-foot tall purple platypus bear with pink horns and silver wings
            /* */
            System.out.println("This class was compiled from a java file that IDEs and syntax highlighters hate!");
        }
    }
    @Azzyypaaras @cr24 @kalucky0 @Jack Papel (Azzy ping the devs I forgot)
  2. gudenau

    What does it look like?
  3. AzzyypaarasTeam

    Replying togudenauWhat does it look like?

    A sin?
  4. gudenau

    A Java file.
  5. AzzyypaarasTeam

    oh gods it runs
  6. gudenau

    Idea hates it too.
  7. cr24Team

    it's because of the character in the string above it right
  8. gudenau

    Do you see what's going on?
  9. cr24Team

    yeah
  10. gudenau

    That's an old thing because Unicode wasn't really supported very well back in the day.
  11. cr24Team

    is that really how it compiles though? thats just the escape character but when it hits the /* shouldn't it stop parsing the comment
  12. gudenau

    The \u escapes are first.(edited)
  13. cr24Team

    weird
  14. gudenau

    Blame Microsoft.