• BombOmOm@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      8 months ago

      I’m still annoyed with how verbose Objective-C is. Just check out what one has to do to create and concatenate a string. Madness:

          NSString * test = [[NSString alloc] initWithString:@"This is a test string."];
          NSString * test2 = [test stringByAppendingString:@" This value is appended."];
      

      And god forbid you want to concatenate two things to a string:

          NSString * test3 = [test1 stringByAppendingString:[test2 stringByAppendingString:@" Adding a third value."]];