不好意思讓我插句話。
I'd just like to interject for a moment.
你所謂的"語法糖",實際上,是抽象化,
What you’re referring to as "syntactic sugar", is in fact, abstraction,
或是我最近開始使用的稱呼,無間接消耗抽象化。
or as I’ve recently taken to calling it, zero cost abstraction.
物件導向程式設計本身並不是抽象化,
OOP is not an abstraction unto itself,
而是一個完整運作的無間接消耗抽象化系統中的一個組成元件,
but rather another free component of a fully functioning zero cost abstraction
system
被型別、封裝以及高影響力副作用所使用而構成由甲骨文所定義的完整抽象化環境。
made useful by the classes, encapsulation and vital side effects comprising a
full abstraction environment as defined by Oracle.
來源: https://old.reddit.com/r/programmingcirclejerk/comments/q9ignm/oop_is_ju
st_syntactic_sugar_around_passing_a/hgwa6g1/
縮網址: https://is.gd/OwOJaL