0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

糖衣構文(syntax sugar)とは

Posted at

糖衣構文(syntax sugar)とは

シンタックスシュガー(syntax sugar)とは、プログラミング言語において、コードをより書きやすく、読みやすくするための構文のことを指す。

一言で言えば 「省略した書き方」
シンタックスシュガーを無理やり日本語にしたのが「糖衣構文」


例:PHPだとこんな感じ

$a = array('a', 'b', 'c');



$a = ['a', 'b', 'c'];

参考にしたサイト

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?