News for hackers. Stuff that matters.
Re:Chris Lattner left Swift core team by mekster on Tuesday February 22, 2022 @02:06PM (#30432141)
It seems you like some ancient language which can't even concatenate a string without writing this dull statement with bunch of symbols.

  NSString *string1 = @"Some";
  NSString *string2 = @" string";
  NSString \*string3 = [string1 stringByAppendingString:string2];
Not to mention it didn't have ARC back in the days.

For sake it was built nearly 40 years ago. Not sure if there's any room to question why Apple and devs wanted a new language.

I was amazed why anyone would want to use this language before Swift but people didn't have a choice.

There were efforts like MacRuby.

Re:Chris Lattner left Swift core team by Apocryphon on Tuesday February 22, 2022 @04:46PM (#30434331)
To be fair, while Swift includes nice convenience methods for strings, the new API comes with a considerable cost:

https://www.mikeash.com/pyblog/friday-qa-2015-11-06-why-is-s...

Re:Chris Lattner left Swift core team by Grustaf on Tuesday February 22, 2022 @07:09PM (#30435725)
That article is from 2015. A lot has changed, though some people still complain.
Re:Chris Lattner left Swift core team by Apocryphon on Tuesday February 22, 2022 @07:12PM (#30435754)
Doubtful that the technical underpinnings of the API have changed all that much since 2015.
Re:Chris Lattner left Swift core team by saagarjha on Wednesday February 23, 2022 @05:02AM (#30439536)
They very much have.
Re:Chris Lattner left Swift core team by lenkite on Wednesday February 23, 2022 @03:57AM (#30439144)
ARC has been there for almost a decade now. Also if you wish to do heavy string concatenation, please use a NSMutableString and you can simply do: [string1 appendString:string2];

It is amazing that people forget to simply use the right tool for the right job and blame the PL instead.