[姆咪] 語法糖

作者: nh60211as   2022-02-07 18:33:01
不好意思讓我插句話。
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
作者: redDest (油宅)   2022-02-07 18:36:00
噁嘔嘔嘔嘔
作者: Apache (阿帕契)   2022-02-07 18:37:00
語法刀

Links booklink

Contact Us: admin [ a t ] ucptt.com