Juan-Carlos Gandhi (
juan_gandhi) wrote2014-06-02 04:22 pm
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
apple swift
So, with the new "Apple language", object-oriented Java people are going to do what?
There must be some deep philosophy, explaining why they are so retarded.
I think.
I mean, I kind of heard an explanation from Josh; in my translation it sounds like this: "Java programmers are not very smart anyway, let's not overload them with closures and all that stuff."
The correlation I was writing about lately kind of shows itself again.
Weird.
Well, it's not Scala, of course; but it's a nice step in the right direction, I think.
There must be some deep philosophy, explaining why they are so retarded.
I think.
I mean, I kind of heard an explanation from Josh; in my translation it sounds like this: "Java programmers are not very smart anyway, let's not overload them with closures and all that stuff."
The correlation I was writing about lately kind of shows itself again.
Weird.
Well, it's not Scala, of course; but it's a nice step in the right direction, I think.
no subject
I haven't seen apple language but I assume it is an unsafe toy that calls native libraries on every cough? Do not want.
no subject
no subject
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
(no subject)
no subject
Int?
,?.
operator), generics (hi to lame Go!), the right approach to mutability (to ditch it as much as possible or to limit it at least), etc, etc.In general, languages designed by Apple may often be elitist and highly experimental (Dylan as ThinkDifferentLisp, Objective-C with its strong flavor of Smalltalk, very human AppleScript, etc), so I would not expect Swift to be just another scripting language hacked on top of C run-time.
no subject
no subject
(no subject)
no subject
no subject
no subject
(no subject)
(no subject)
(no subject)
(no subject)
no subject
no subject
no subject
no subject
Допустим. А что означает в данном случае "not very smart" ? Не поймут, что такое closures и не будут их использовать вообще или будут их использовать неправильно, что приведет к дополнительным багам ?
no subject
no subject
no subject
А по сути со времен C callbacks ничего новоого и нет. foreach map и grep вот и все что привнесла функциональщина
no subject
no subject
Если серьезно, то дело в другом. Да, объекты в каком-то смысле солянка других понятий, и поэтому всегда можно сказать, что эти понятия не новы (интерфейсы, например — это же просто абстрактный класс без полей, сиплюсплюс епта), но эти понятия намного более ортогональны и проще с точки зрения computer science. А что лучше — система, собранная из многих простых и ортогональных (фундаментальных!) вещей или система, которая состоит из немногих сложных объектов с мало предсказуемым поведеним и побочными эффектами при их взаимодействии?
(no subject)
no subject
(no subject)
no subject
no subject
(no subject)
(no subject)
no subject
Людям непривычно, что referential transparency и immutability могут быть вполне ортогональны.
lol
no subject
Seems pretty close. A comparison (PDF, 15 slides): https://t.co/u6zfzrusFk
no subject
Тема вариантности, тайп лямбда и т.п. не раскрыта.