Live data from Hacker News

Objective-S: architecture-oriented language based on Smalltalk and Objective-C

objective.st

21–30 of 130 posts

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#21

I still remember my horror when I saw the pain of something as simple as string concatenation in Objective-C. The community literally has to write special micros to make joining a string palatable [1]. I salute the brave souls who made OSX/iOS apps before Swift. NSString *myString = @"Hello"; NSString *second = [myString stringByAppendingString:@" World"]; [1]: https://stackoverflow.com/questions/510269/shortcuts-in-…

Actually, I'm glad its a method with a long-ish name. Operator-overloaded string concatenation makes something that can ruin your performance look innocent. Also, I've never heard of any serious iOS/macOS dev complaining about this.

It's not an issue with autocompletion and Objective-C's verbose naming conventions tend to be more meaningful than those in J2EE, at least.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#23

I still remember my horror when I saw the pain of something as simple as string concatenation in Objective-C. The community literally has to write special micros to make joining a string palatable [1]. I salute the brave souls who made OSX/iOS apps before Swift. NSString *myString = @"Hello"; NSString *second = [myString stringByAppendingString:@" World"]; [1]: https://stackoverflow.com/questions/510269/shortcuts-in-…

NSString *foo = [@"foo" stringByAppendingString:@"bar"]; It's not that bad.

I must be missing something here.

  "foo" + "bar"

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#24
post #6

> By allowing general architectures, Objective-S is the first general purpose programming language. Really? I stopped reading at this spot, since this claim is so ridiculous. https://en.wikipedia.org/wiki/General-purpose_programming_la...

Telling everyone you stopped reading in the first paragraph isn’t the most compelling way to demonstrate your point.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#25
post #9

Earlier quoted context omitted.

You might try reading further, because the claim is actually well-supported. Just because we call something "general purpose" doesn't mean it actually is.

If you can build Objective-S in a language then isn't the language that contains the set of Objective-S and other languages in theory more general purpose? I'm not sure I get the definition.

I guess it's the same question as whether the ability to implement an Erlang VM in C makes C a functional and/or concurrency-oriented language.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#26
post #9
post #6

> By allowing general architectures, Objective-S is the first general purpose programming language. Really? I stopped reading at this spot, since this claim is so ridiculous. https://en.wikipedia.org/wiki/General-purpose_programming_la...

You might try reading further, because the claim is actually well-supported. Just because we call something "general purpose" doesn't mean it actually is.

Maybe it appears so to people who have never heard of Lisp and or used it.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#28
post #9
post #6

> By allowing general architectures, Objective-S is the first general purpose programming language. Really? I stopped reading at this spot, since this claim is so ridiculous. https://en.wikipedia.org/wiki/General-purpose_programming_la...

You might try reading further, because the claim is actually well-supported. Just because we call something "general purpose" doesn't mean it actually is.

In that case would you please explain this apparent bafflegab?

  What we currently call general purpose languages are actually domain specific languages for the domain of algorithms.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#29
post #11

I still remember my horror when I saw the pain of something as simple as string concatenation in Objective-C. The community literally has to write special micros to make joining a string palatable [1]. I salute the brave souls who made OSX/iOS apps before Swift. NSString *myString = @"Hello"; NSString *second = [myString stringByAppendingString:@" World"]; [1]: https://stackoverflow.com/questions/510269/shortcuts-in-…

Agreed. But once you get some macros (or categories) then Objective-C becomes a great language. Is both elegant and very powerful as it is has the perfect balance between a static and a dynamic language. Swift on the other had is a language where wonks decided to throw every silly feature they thought off to the point that is becoming more complex than even Scala. I wished Swift was just a modernized Objective-C with…

> Swift on the other had is a language where wonks decided to throw every silly feature they thought off to the point that is becoming more complex than even Scala.

What features in particular do you think represent unjustified complexity?

Swift is not my favorite, but I wouldn’t consider it to be a “kitchen-sink” language, and it’s certainly less complicated than Scala.

Re: Objective-S: architecture-oriented language based on Smalltalk and Objective-C

#30
post #9

Earlier quoted context omitted.

You might try reading further, because the claim is actually well-supported. Just because we call something "general purpose" doesn't mean it actually is.

I read the rest of the About page and didn't see anything supporting this claim. What makes Objective-S more general than other languages? If it's the four architecture "styles" listed, I'm pretty sure other languages can do the same: * OO and Call/Return: Supported by every OO language. * Pipes and Filters: Supported by every functional programming language. * REST: Supported by many modern languages. (Go springs to…

I believe the argument is that this language has special syntax for these various "architectures", instead of other languages where you express those ideas with the syntax of calling/returning functions.
Post reply on HN