블로그 이미지
윤영식
Full Stacker, Application Architecter, KnowHow Dispenser and Bike Rider

Publication

Category

Recent Post

전산이나 컴퓨터 용어를 그때 그때 찾아 보지만 정리를 하지 않고 있다. 그냥 잡학 사전처럼 나만의 용어 정리를 해보고 싶다.



Syntactic sugar

  

  - 위키피디아

    + 사람이 이해하고 쉽고 표현하기 쉽게 컴퓨터 언어를 디자인해 놓은 문맥이다. 

    + 사람이 사용하기 달콤하다는 것에 유래되었고 이들은 깔끔하고 명확하게 표현가능하다는 특징을 지닌다. 

    예로 Array를 든다.

get_array(Array, vector(i, j)) 로 표현하는 대신 Array[i,j] 와 같이 표현한다. 또는 

set_array(Array, vector(i,j), value) 를 Array[i,j] = value로 표현한다. 


  - 프로그래밍으로의 신택티 슈거

    + JSON can be considered SyntacticSugar for XML.

All languages are eventually translated to machine code, and therefore all language constructs could be termed (extremely useful) "sugar" around the operations of the machine.


  - 구글러 오스마니가 표현한 글을 보고 궁금해서 찾아봄 

Preview of ES6 Classes in Chrome. Syntactical sugar over today’s objects and prototypes. Cleaner syntax:


Traceur and 6to5 support minimal ES6 classes, https://6to5.github.io/features.html#classes-1 & https://github.com/esnext/es6-class compiles them down to ES5 too


궁금한건 빨리 정리하고 가자. 

'Computer Engineering > Want to Know Terms' 카테고리의 다른 글

[Terms] Test Double - Mock, Fake  (0) 2015.01.02
posted by 윤영식