[{"@context":"http:\/\/schema.org\/","@type":"BlogPosting","@id":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/5251#BlogPosting","mainEntityOfPage":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/5251","headline":"\u7cd6\u8863\u69cb\u6587 – Wikipedia","name":"\u7cd6\u8863\u69cb\u6587 – Wikipedia","description":"\u7cd6\u8863\u69cb\u6587\uff08\u3068\u3046\u3044\u3053\u3046\u3076\u3093\u3001\u82f1: syntactic sugar \u3042\u308b\u3044\u306f syntax sugar\uff09\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u304a\u3044\u3066\u3001\u8aad\u307f\u66f8\u304d\u306e\u3057\u3084\u3059\u3055\u306e\u305f\u3081\u306b\u5c0e\u5165\u3055\u308c\u308b\u66f8\u304d\u65b9\u3067\u3042\u308a\u3001\u8907\u96d1\u3067\u308f\u304b\u308a\u306b\u304f\u3044\u66f8\u304d\u65b9\u3068\u5168\u304f\u540c\u3058\u610f\u5473\u306b\u306a\u308b\u3082\u306e\u3092\u3001\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u66f8\u304d\u65b9\u3067\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3082\u306e\u306e\u3053\u3068\u3067\u3042\u308b\u3002 \u69cb\u6587\u4e0a\u306e\u66f8\u304d\u63db\u3048\u3068\u3057\u3066\u5b9a\u7fa9\u3067\u304d\u308b\u3082\u306e\u3067\u3042\u308b\u3068\u3082\u8a00\u3048\u308b[* 1]\u3002 Table of Contents \u540d\u79f0\u306b\u3064\u3044\u3066[\u7de8\u96c6]\u7cd6\u8863\u69cb\u6587\u306e\u4f8b[\u7de8\u96c6]C\u8a00\u8a9e[\u7de8\u96c6]\u30dd\u30a4\u30f3\u30bf\u3078\u306e\u914d\u5217\u98a8\u30a2\u30af\u30bb\u30b9[\u7de8\u96c6]\u30dd\u30a4\u30f3\u30bf\u3092\u4ecb\u3057\u305f\u30e1\u30f3\u30d0\u9078\u629e\u6f14\u7b97\u5b50[\u7de8\u96c6]\u5206\u5c90[\u7de8\u96c6]\u30eb\u30fc\u30d7[\u7de8\u96c6]Erlang[\u7de8\u96c6]Java[\u7de8\u96c6]C#[\u7de8\u96c6]LINQ[\u7de8\u96c6]\u30a4\u30f3\u30c7\u30af\u30b5[\u7de8\u96c6]ML[\u7de8\u96c6]Perl[\u7de8\u96c6]Python[\u7de8\u96c6]\u6ce8\u91c8[\u7de8\u96c6]\u51fa\u5178[\u7de8\u96c6] \u540d\u79f0\u306b\u3064\u3044\u3066[\u7de8\u96c6] syntactic sugar \u306e\u76f4\u8a33\u306b\u8fd1\u3044\u69cb\u6587\u7cd6\uff08\u3053\u3046\u3076\u3093\u3068\u3046\uff09\u3068\u3044\u3046\u7528\u8a9e\u3082\u4f7f\u308f\u308c\u308b\u3002\u307e\u305f\u5916\u6765\u8a9e\u3068\u3057\u3066\u305d\u306e\u307e\u307e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30fb\u30b7\u30e5\u30ac\u30fc\u3068\u3082\u547c\u3070\u308c\u308b\u3002\u7cd6\u8863\u69cb\u6587\u3042\u308b\u3044\u306f\u69cb\u6587\u7cd6\u8863\u3068\u3059\u308b\u306e\u306f\u5c11\u3005\u610f\u8a33\u7684\u3060\u304c\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b[* 2]\u3002 \u8a9e\u6e90\u306f\u300c\u53d6\u308a\u6271\u3044\u3084\u3059\u3044\u300d\u3092\u610f\u5473\u3059\u308b sweet \u306e\u7b2c\u4e00\u7fa9\u304c\u300c\uff08\u7802\u7cd6\u306e\u3088\u3046\u306b\uff09\u7518\u3044\u300d\u3067\u3042\u308b\u3053\u3068\u304b\u3089[1][2]\u3002","datePublished":"2020-05-31","dateModified":"2020-05-31","author":{"@type":"Person","@id":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/author\/lordneo#Person","name":"lordneo","url":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/author\/lordneo","image":{"@type":"ImageObject","@id":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/c9645c498c9701c88b89b8537773dd7c?s=96&d=mm&r=g","height":96,"width":96}},"publisher":{"@type":"Organization","name":"Enzyklop\u00e4die","logo":{"@type":"ImageObject","@id":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","url":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","width":600,"height":60}},"image":{"@type":"ImageObject","@id":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","url":"https:\/\/wiki.edu.vn\/wiki4\/wp-content\/uploads\/2023\/08\/download.jpg","width":100,"height":100},"url":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/5251","about":["Wiki"],"wordCount":2780,"articleBody":"\u7cd6\u8863\u69cb\u6587\uff08\u3068\u3046\u3044\u3053\u3046\u3076\u3093\u3001\u82f1: syntactic sugar \u3042\u308b\u3044\u306f syntax sugar\uff09\u306f\u3001\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u306b\u304a\u3044\u3066\u3001\u8aad\u307f\u66f8\u304d\u306e\u3057\u3084\u3059\u3055\u306e\u305f\u3081\u306b\u5c0e\u5165\u3055\u308c\u308b\u66f8\u304d\u65b9\u3067\u3042\u308a\u3001\u8907\u96d1\u3067\u308f\u304b\u308a\u306b\u304f\u3044\u66f8\u304d\u65b9\u3068\u5168\u304f\u540c\u3058\u610f\u5473\u306b\u306a\u308b\u3082\u306e\u3092\u3001\u3088\u308a\u30b7\u30f3\u30d7\u30eb\u3067\u308f\u304b\u308a\u3084\u3059\u3044\u66f8\u304d\u65b9\u3067\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\u3082\u306e\u306e\u3053\u3068\u3067\u3042\u308b\u3002 \u69cb\u6587\u4e0a\u306e\u66f8\u304d\u63db\u3048\u3068\u3057\u3066\u5b9a\u7fa9\u3067\u304d\u308b\u3082\u306e\u3067\u3042\u308b\u3068\u3082\u8a00\u3048\u308b[* 1]\u3002Table of Contents\u540d\u79f0\u306b\u3064\u3044\u3066[\u7de8\u96c6]\u7cd6\u8863\u69cb\u6587\u306e\u4f8b[\u7de8\u96c6]C\u8a00\u8a9e[\u7de8\u96c6]\u30dd\u30a4\u30f3\u30bf\u3078\u306e\u914d\u5217\u98a8\u30a2\u30af\u30bb\u30b9[\u7de8\u96c6]\u30dd\u30a4\u30f3\u30bf\u3092\u4ecb\u3057\u305f\u30e1\u30f3\u30d0\u9078\u629e\u6f14\u7b97\u5b50[\u7de8\u96c6]\u5206\u5c90[\u7de8\u96c6]\u30eb\u30fc\u30d7[\u7de8\u96c6]Erlang[\u7de8\u96c6]Java[\u7de8\u96c6]C#[\u7de8\u96c6]LINQ[\u7de8\u96c6]\u30a4\u30f3\u30c7\u30af\u30b5[\u7de8\u96c6]ML[\u7de8\u96c6]Perl[\u7de8\u96c6]Python[\u7de8\u96c6]\u6ce8\u91c8[\u7de8\u96c6]\u51fa\u5178[\u7de8\u96c6]\u540d\u79f0\u306b\u3064\u3044\u3066[\u7de8\u96c6]syntactic sugar \u306e\u76f4\u8a33\u306b\u8fd1\u3044\u69cb\u6587\u7cd6\uff08\u3053\u3046\u3076\u3093\u3068\u3046\uff09\u3068\u3044\u3046\u7528\u8a9e\u3082\u4f7f\u308f\u308c\u308b\u3002\u307e\u305f\u5916\u6765\u8a9e\u3068\u3057\u3066\u305d\u306e\u307e\u307e\u30b7\u30f3\u30bf\u30c3\u30af\u30b9\u30fb\u30b7\u30e5\u30ac\u30fc\u3068\u3082\u547c\u3070\u308c\u308b\u3002\u7cd6\u8863\u69cb\u6587\u3042\u308b\u3044\u306f\u69cb\u6587\u7cd6\u8863\u3068\u3059\u308b\u306e\u306f\u5c11\u3005\u610f\u8a33\u7684\u3060\u304c\u3088\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b[* 2]\u3002 \u8a9e\u6e90\u306f\u300c\u53d6\u308a\u6271\u3044\u3084\u3059\u3044\u300d\u3092\u610f\u5473\u3059\u308b sweet \u306e\u7b2c\u4e00\u7fa9\u304c\u300c\uff08\u7802\u7cd6\u306e\u3088\u3046\u306b\uff09\u7518\u3044\u300d\u3067\u3042\u308b\u3053\u3068\u304b\u3089[1][2]\u3002\u7cd6\u8863\u69cb\u6587\u306f\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u610f\u5473\u3068\u3057\u3066\u306f\u540c\u3058\u3082\u306e\u3092\u3001\u3088\u308a\u308f\u304b\u308a\u3084\u3059\u3044\u69cb\u6587\u3067\u66f8\u3051\u308b\u3082\u306e\u3067\u3042\u308b\u3002\u30b8\u30e3\u30fc\u30b4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e syntactic sugar \u306e\u9805[3]\u3067\u306f\u3001\u30a2\u30e9\u30f3\u30fb\u30d1\u30ea\u30b9\u306e\u300c\u69cb\u6587\u7cd6\u306f\u30bb\u30df\u30b3\u30ed\u30f3\u306e\u30ac\u30f3\u3092\u3072\u304d\u304a\u3053\u3059\u300d\u3068\u3044\u3046\u8a00\u3092\u5f15\u7528[4]\u3057\u3066\u3044\u308b\uff08\u30b8\u30e3\u30fc\u30b4\u30f3\u30d5\u30a1\u30a4\u30eb\u306e\u3053\u306e\u8a18\u8ff0\u306f\u3001\u305d\u306e\u3072\u3068\u3064\u524d\u306e\u9805\u76ee\u3067\u3042\u308b\u300c\u69cb\u6587\u5869\u300d(syntactic salt) \u306e\u9805[5]\u306b\u3042\u308b\u300c\u69cb\u6587\u5869\u306f\u4e0d\u5065\u5eb7\u306b\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u8840\u5727\u3092\u4e0a\u3052\u308b\u300d\u3068\u3044\u3046\uff08\u3053\u3061\u3089\u306f\u5f15\u7528\u3067\u306f\u306a\u3044\uff09\u8a18\u8ff0\u3068\u5bfe\u5fdc\u3057\u3066\u3044\u3066\u3001colon cancer\uff08\u7d50\u8178\u764c\uff09\u3068\u30bb\u30df\u30b3\u30ed\u30f3\u3092\u639b\u3051\u3066\u3082\u3044\u308b[* 3]\uff09\u3002\u9006\u306b\u7cd6\u8863\u69cb\u6587\u304b\u3089\u5143\u306e\u69cb\u6587\u306b\u623b\u3059\u3053\u3068\u3092 desugar \u3084\u8131\u7cd6\u3068\u3044\u3046\u3002\u7cd6\u8863\u69cb\u6587\u306e\u5f79\u5272\u3092\u8003\u3048\u308b\u3068\u7121\u99c4\u306a\u4f5c\u696d\u306b\u601d\u3048\u308b\u304c\u3001\u5b9f\u969b\u306b\u3069\u3046\u306a\u3063\u3066\u3044\u308b\u304b\u3092\u628a\u63e1\u3059\u308b\u305f\u3081\u3067\u3042\u308b\u3068\u304b\u3001\u5834\u5408\u306b\u3088\u3063\u3066\u306f\u77ed\u304f\u66f8\u3051\u305f\u308a\u3001\u307e\u305f\u4e00\u822c\u306b\u67d4\u8edf\u6027\uff08\u81ea\u7531\u5ea6\uff09\u306f\u5143\u306e\u66f8\u304d\u65b9\u306e\u307b\u3046\u304c\u3059\u3050\u308c\u308b\u3002\u8131\u7cd6\u3057\u305f\u30b3\u30fc\u30c9\u3092\u628a\u63e1\u3057\u3066\u304a\u304f\u3053\u3068\u304c\u91cd\u8981\u306a\u4e00\u4f8b\u3068\u3057\u3066\u3001Haskell\u306e\u30e2\u30ca\u30c9\u304c\u6319\u3052\u3089\u308c\u308b\u3002Haskell\u306b\u306f\u3001\uff08\u30e2\u30ca\u30c9\u3092\u306a\u3057\u3066\u3044\u308b\u5bfe\u8c61\u3092\uff09\u547d\u4ee4\u578b\u8a00\u8a9e\u306e\u30b3\u30fc\u30c9\u306b\u4f3c\u305b\u305f\u30b9\u30bf\u30a4\u30eb\u3067\u66f8\u3051\u308b\u3001do\u5f0f\uff08do expressions[6]\uff09\u3068\u3044\u3046\u7cd6\u8863\u69cb\u6587\u304c\u3042\u308a\u3001\u4f8b\u3048\u3070 main \u306eIO\u30e2\u30ca\u30c9\u3092\u66f8\u304f\u969b\u306a\u3069\u306f\u5168\u304f\u300c\u30e2\u30ca\u30c9\u3089\u3057\u3044\u6271\u3044\u300d\u3068\u3044\u3063\u305f\u3082\u306e\u306f\u8003\u3048\u306a\u304f\u3066\u3088\u3044\u3002\u3057\u304b\u3057\u3001\u81ea\u5206\u3067\u305d\u306e\u5bfe\u8c61\u81ea\u8eab\u3092\u66f8\u304f\u5834\u5408\u306f\u3001do\u5f0f\u3092\u8131\u7cd6\u3057\u305f\u30b3\u30fc\u30c9\u306b\u73fe\u308c\u308b\u6f14\u7b97\u5b50\uff08\u5177\u4f53\u7684\u306b\u306f >>= \u3068\u3044\u3046\u6f14\u7b97\u5b50[7]\uff09\u3092\u3001\u305d\u306e\u5bfe\u8c61\u306b\u3064\u3044\u3066\u5b9a\u7fa9\u3057\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u304b\u3089\u3067\u3042\u308b\u3002\u7cd6\u8863\u69cb\u6587\u306e\u4f8b[\u7de8\u96c6]\u4ee5\u4e0b\u3067\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u8a00\u8a9e\u3054\u3068\u306b\u4ee3\u8868\u7684\u306a\u7cd6\u8863\u69cb\u6587\u306e\u4e00\u90e8\u3092\u6319\u3052\u308b\u3002\u7cd6\u8863\u69cb\u6587\u306e\u591a\u3044\u8a00\u8a9e\u306f\u81ea\u7531\u5ea6\u304c\u9ad8\u304f\u8a9e\u5f59\u304c\u8c4a\u5bcc\u3067\u3042\u308b\u3068\u3082\u8a00\u3048\u308b\u304c\u3001\u305f\u3068\u3048\u540c\u3058\u610f\u5473\u306e\u30d7\u30ed\u30b0\u30e9\u30e0\u5185\u5bb9\u3067\u3042\u3063\u3066\u3082\u30d7\u30ed\u30b0\u30e9\u30de\u306b\u3088\u3063\u3066\u307e\u3063\u305f\u304f\u7570\u306a\u308b\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u3066\u3057\u307e\u3046\u3002\u7cd6\u8863\u69cb\u6587\u306e\u5c11\u306a\u3044\u8a00\u8a9e\u3067\u306f\u3001\u81ea\u7531\u5ea6\u304c\u4f4e\u3044\u4ee3\u308f\u308a\u306b\u899a\u3048\u308b\u3079\u304d\u6587\u6cd5\u304c\u5c11\u306a\u304f\u3066\u6e08\u307f\u3001\u8ab0\u304c\u8a18\u8ff0\u3057\u3066\u3082\u4f3c\u305f\u3088\u3046\u306a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u306b\u306a\u308a\u3084\u3059\u3044\u3002 C\u8a00\u8a9e[\u7de8\u96c6]C\u8a00\u8a9e\u306e\u7cd6\u8863\u69cb\u6587\u306e\u3046\u3061\u3001\u7279\u7b46\u6027\u306e\u9ad8\u3044\u3082\u306e\u306f\u30dd\u30a4\u30f3\u30bf\u306b\u95a2\u9023\u3059\u308b\u69cb\u6587\u3067\u3042\u308b\u3002\u307e\u305f\u3001\u5236\u5fa1\u69cb\u9020\u306b\u95a2\u9023\u3059\u308b\u7cd6\u8863\u69cb\u6587\u306fC++\u3001Java\u3001C#\u3068\u3044\u3063\u305fC\u7cfb\u306e\u5f8c\u767a\u8a00\u8a9e\u306b\u3082\u305d\u306e\u307e\u307e\u5f15\u304d\u7d99\u304c\u308c\u3066\u3044\u308b\u3002\u30dd\u30a4\u30f3\u30bf\u3078\u306e\u914d\u5217\u98a8\u30a2\u30af\u30bb\u30b9[\u7de8\u96c6]C\u8a00\u8a9e\u3067\u306f\u3001\u4f8b\u3048\u3070\u30aa\u30d5\u30bb\u30c3\u30c8\u4ed8\u304d\u3067\u30dd\u30a4\u30f3\u30bf\u3092\u30c7\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3059\u308b\u3088\u3046\u306a\u5f0f *(p + ofs) \u3092\u3001\u914d\u5217\u3078\u306e\u30a2\u30af\u30bb\u30b9\u98a8\u306b p[ofs] \u3068\u3082\u66f8\u3051\u308b\u3002\u3053\u306e\u7cd6\u8863\u69cb\u6587\u306f\u3001\u898b\u305f\u76ee\u306e\u5358\u7d14\u3055\u3060\u3051\u3067\u306f\u306a\u304f\u3001\u62ec\u5f27\u306e\u624b\u524d\u306b\u66f8\u304b\u308c\u308b\u3082\u306e\u304c\u5148\u982d\u30a2\u30c9\u30ec\u30b9\u3067\u62ec\u5f27\u306e\u4e2d\u304c\u30aa\u30d5\u30bb\u30c3\u30c8\u3067\u3042\u308b\u3068\u3044\u3046\u3088\u3046\u306b\u3001\u30b3\u30fc\u30c9\u306e\u610f\u5473\u3092\u3088\u308a\u660e\u78ba\u3067\u5206\u304b\u308a\u3084\u3059\u304f\u3082\u3057\u3066\u3044\u308b\u3002\u307e\u305f\u3001C\u8a00\u8a9e\u306e\u95a2\u6570\u306b\u306f\u914d\u5217\u305d\u306e\u3082\u306e\u3092\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u3053\u3068\u306f\u3067\u304d\u305a\u3001\u4ee3\u308f\u308a\u306b\u914d\u5217\u5148\u982d\u8981\u7d20\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u6e21\u3059\u3053\u3068\u3067\u4ee3\u66ff\u3059\u308b\u304c\u3001\u4f8b\u3048\u3070\u95a2\u6570\u5ba3\u8a00void func(double *x, size_t count)\u306f\u3001void func(double x[], size_t count)\u3068\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u5f8c\u8005\u306f\u5f15\u6570\u3068\u3057\u3066\u914d\u5217\u3092\u6e21\u3059\u3053\u3068\u3092\u60f3\u5b9a\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u3088\u308a\u660e\u78ba\u306b\u306a\u308b\u3002\u306a\u304a\u3001\u914d\u5217\u5909\u6570\u306e\u30b7\u30f3\u30dc\u30eb\u306f\u3001\u5f0f\u306e\u4e2d\u3067\u306f\u914d\u5217\u5148\u982d\u8981\u7d20\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3068\u89e3\u91c8\u3055\u308c\u308b\u305f\u3081\u3001\u4f8b\u3048\u3070\u8981\u7d20\u657010\u306e\u56fa\u5b9a\u9577\u914d\u5217double a[10]\u306e\u5148\u982d\u8981\u7d20\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3092\u95a2\u6570func\u306e\u5b9f\u5f15\u6570\u3068\u3057\u3066\u6e21\u3059\u5834\u5408\u306b\u3001func(&a[0], 10)\u3068\u66f8\u3051\u308b\u3060\u3051\u3067\u306a\u304f\u3001func(a, 10)\u3068\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u4e00\u65b9\u3067\u3001\u3053\u308c\u3089\u306e\u7cd6\u8863\u69cb\u6587\u306f\u3001\u914d\u5217\u3068\u30dd\u30a4\u30f3\u30bf\u306f\u30c7\u30fc\u30bf\u69cb\u9020\u3068\u3057\u3066\u3082\u6587\u6cd5\u8981\u7d20\u3068\u3057\u3066\u3082\u7570\u306a\u308b\u3082\u306e\u3067\u3042\u308b\uff08\u4f8b\u3048\u3070 extern int *a; \u3068\u3044\u3046\u5ba3\u8a00\u3068 extern int a[]; \u3068\u3044\u3046\u5ba3\u8a00\u3068\u306f\u3001\u305d\u308c\u305e\u308c\u9055\u3046\u3082\u306e\u3067\u3042\u308b\uff09\u3068\u3044\u3046\u4e8b\u5b9f\u3092\u898b\u5931\u308f\u305b\u3001\u3042\u3089\u3086\u308b\u5834\u6240\u3067\u914d\u5217\u3068\u30dd\u30a4\u30f3\u30bf\u306f\u53ef\u63db\u3067\u3042\u308b\u3068\u3044\u3046\u3088\u3046\u306b\u8aa4\u3063\u305f\u89e3\u91c8\u3084\u6df7\u540c\u3092\u3057\u3066\u3057\u307e\u3046\u8981\u56e0\u306b\u3082\u306a\u3063\u3066\u3044\u308b\u3002\u306a\u304a\u3001\u524d\u8ff0\u306e p[ofs] \u3092 ofs[p] \u306e\u3088\u3046\u306b\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\u3002\u4f8b\u3048\u3070\u6587\u5b57\u5217\u30ea\u30c6\u30e9\u30eb\u306b\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3001\u6574\u6570\u5024\u304b\u3089\u5341\u516d\u9032\u6570\u8868\u73fe\u3092\u5f97\u308b\u305f\u3081\u306e\u3001\u6b21\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9 \"0123456789abcdef\"[n] \u306e\u4ee3\u308f\u308a\u306b n[\"0123456789abcdef\"] \u3068\u66f8\u304f\u3053\u3068\u3082\u3067\u304d\u308b\uff08\u666e\u901a\u306f\u66f8\u304b\u306a\u3044\u304c\uff09\u3002\u69cb\u6587\u7684\u306b\u554f\u984c\u306a\u304f\u3001\u610f\u5473\u7684\u306b\u3082\u5168\u304f\u540c\u3058\u3060\u304c\u3001\u8aad\u8005\u3092\u9a5a\u304b\u305b\u308b\u52b9\u679c\u306f\u3042\u308b\u3002IOCCC\u306b\u304a\u3044\u3066\u4ee5\u524d\u306f\u3088\u304f\u898b\u3089\u308c\u305f\u6280\u6cd5\u306e\u3072\u3068\u3064\u3067\u3042\u308b\u3002\u30dd\u30a4\u30f3\u30bf\u3092\u4ecb\u3057\u305f\u30e1\u30f3\u30d0\u9078\u629e\u6f14\u7b97\u5b50[\u7de8\u96c6]C\u8a00\u8a9e\u3067\u306f\u3001\u69cb\u9020\u4f53\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u304b\u3089\u30e1\u30f3\u30d0\u30fc\u3092\u53c2\u7167\u3059\u308b\u5834\u5408\u3001\u30a2\u30ed\u30fc\uff08\u77e2\u5370\uff09\u6f14\u7b97\u5b50->\u3092\u4f7f\u3046\u3053\u3068\u304c\u3067\u304d\u308b\u3002\u3053\u3053\u3067\u3001p \u306f\u69cb\u9020\u4f53\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3001member \u306f\u69cb\u9020\u4f53\u306e\u8981\u7d20\u540d\u3067\u3042\u308b\u3002\u30dd\u30a4\u30f3\u30bf\u3092\u30c7\u30ea\u30d5\u30a1\u30ec\u30f3\u30b9\u3059\u308b*\u6f14\u7b97\u5b50\u3068\u3001\u69cb\u9020\u4f53\u306e\u5024\u306b\u5bfe\u3057\u30e1\u30f3\u30d0\u30fc\u3092\u9078\u629e\u3059\u308b.\u6f14\u7b97\u5b50\u3092\u7d44\u307f\u5408\u308f\u305b\u3066\u3001\u6b21\u306e\u3088\u3046\u306b\u7b49\u4fa1\u306a\u5f0f\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u308b\uff08\u304c\u3001\u500d\u306e\u6587\u5b57\u6570\u3068\u3001\u30ab\u30c3\u30b3\u3092\u5fc5\u8981\u3068\u3057\u3001\u610f\u5473\u3092\u6301\u3064\u90e8\u5206\u304c*\u3068.\u306e2\u7b87\u6240\u306b\u5206\u6563\u3057\u3066\u3057\u307e\u3063\u3066\u3044\u308b\uff09\u3002\u306a\u304aC++\u3067\u306f\u3001\u6f14\u7b97\u5b50\u306e\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u306b\u3088\u308a\u3001\u3053\u308c\u3089\u304c\u7b49\u4fa1\u3067\u306f\u306a\u3044\u5834\u5408\u3082\u3042\u308a\u3046\u308b\uff08\u57fa\u672c\u7684\u306b\u306f\u7b49\u4fa1\u306b\u306a\u308b\u3088\u3046\u306b\u30aa\u30fc\u30d0\u30fc\u30ed\u30fc\u30c9\u3055\u308c\u308b\u3079\u304d\u3067\u306f\u3042\u308b\u304c\uff09\u3002\u5206\u5c90[\u7de8\u96c6]if\u6587\u3001switch\u6587\u3001\u6761\u4ef6\u6f14\u7b97\u5b50\uff08\u4e09\u9805\u6f14\u7b97\u5b50\uff09\u306f\u3044\u305a\u308c\u3082\u5206\u5c90\u3092\u8868\u73fe\u3067\u304d\u308b\u304c\u3001\u305d\u308c\u305e\u308c\u5236\u7d04\u304c\u7570\u306a\u308a\u3001\u7570\u306a\u308b\u9577\u6240\u30fb\u77ed\u6240\u304c\u3042\u308b\u3002\u8a73\u7d30\u306f\u5404\u9805\u76ee\u3092\u53c2\u7167\u306e\u3053\u3068\u3002\u30eb\u30fc\u30d7[\u7de8\u96c6]for\u6587\u3001while\u6587\u3001do-while\u6587\u306f\u3044\u305a\u308c\u3082\u30eb\u30fc\u30d7\u69cb\u9020\u3092\u8868\u73fe\u3059\u308b\u305f\u3081\u306e\u69cb\u6587\u3067\u3042\u308a\u3001\u672c\u8cea\u7684\u306b\u306f\u540c\u3058\u3060\u304c\u3001\u5b9f\u884c\u3059\u308b\u30eb\u30fc\u30d7\u306e\u5185\u5bb9\u3084\u7279\u6027\u306b\u5fdc\u3058\u3066\u66f8\u304d\u3084\u3059\u3055\u304c\u7570\u306a\u308b\u3002Erlang[\u7de8\u96c6]Erlang \u3067\u306e\u30ec\u30b3\u30fc\u30c9\u578b\u30c7\u30fc\u30bf\u306f\u3001\u5b9f\u969b\u306b\u306f\u30bf\u30d7\u30eb\u578b\u30c7\u30fc\u30bf\u306b\u5bfe\u3059\u308b\u7cd6\u8863\u69cb\u6587\u3067\u3042\u308b\u304c\u3001\u8981\u7d20\u3092\u53d6\u308a\u51fa\u3057\u305f\u308a\u3001\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u3059\u308b\u306e\u306b\u7cd6\u8863\u69cb\u6587\u304c\u4f7f\u308f\u308c\u308b\u3002%% \u30ec\u30b3\u30fc\u30c9\u306e\u5b9a\u7fa9\uff08\u30b3\u30f3\u30d1\u30a4\u30e9\u30fc\u30fb\u30de\u30af\u30ed\uff09-record(book, {title, author, lang, isbn}).%% \u30bf\u30d7\u30eb {book, \"Learn You Some Erlang for Greate Good!\", \"Fred Herbert\", en, \"978-1-59327-435-1\"} \u306b\u306a\u308b\u3002B = #book{title=\"Learn You Some Erlang for Great Good!\", author=\"Fred Herbert\", lang=en, isbn=\"978-1-59327-435-1\"}.%% \u30bf\u30d7\u30eb\u306e\u8981\u7d20\u53d6\u308a\u51fa\u3057 element(2, B). \u306e\u7cd6\u8863\u69cb\u6587B#book.author.%% \u30bf\u30d7\u30eb\u306e\u8981\u7d20\u7f6e\u304d\u63db\u3048 setelement(2, B, \"F. Herbert\"). \u306e\u7cd6\u8863\u69cb\u6587B#book{author=\"F. Herbert\"}.%% \u30ec\u30b3\u30fc\u30c9\u306e\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1\u306e\u90e8\u5206\u306f\u30bf\u30d7\u30eb\u306e\u30d1\u30bf\u30fc\u30f3\u30de\u30c3\u30c1 printCover({Title, Author, _, _}) \u306e\u7cd6\u8863\u69cb\u6587printCover(#book{title=Title, author=Author}) -> io:format(\"~p by ~s~n\", [Title, Author]).Java[\u7de8\u96c6]Java\u306e\u914d\u5217\u306e\u5ba3\u8a00\u3068\u521d\u671f\u5316\u306e\u8a18\u6cd5String[] strs = new String[3];strs[0] = \"a\";strs[1] = \"b\";strs[2] = \"c\";\u306fString[] strs = { \"a\", \"b\", \"c\" };\u3068\u66f8\u3051\u308b[8]\u3002String\u4ee5\u5916\u306e\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3067\u3082\u53ef\u80fd\u3067\u3042\u308b\u3002\u5f8c\u8005\u306f\u300c\u3042\u3089\u304b\u3058\u3081\u6c7a\u307e\u3063\u305f\u3044\u304f\u3064\u304b\u306e\u6587\u5b57\u5217\u304b\u3089\u6587\u5b57\u5217\u306e\u914d\u5217\u3092\u4f5c\u308a\u305f\u3044\u300d\u3068\u3044\u3046\u8a18\u8ff0\u8005\u306e\u601d\u8003\u3092\u3001\u3088\u308a\u826f\u304f\u53cd\u6620\u3057\u3066\u3044\u308b\u3002C#[\u7de8\u96c6]C#\u306f\u8a00\u8a9e\u4ed5\u69d8\u306e\u66f4\u65b0\u304c\u6bd4\u8f03\u7684\u983b\u7e41\u306b\u884c\u306a\u308f\u308c\u3066\u304a\u308a\u3001\u305d\u306e\u969b\u306b\u7cd6\u8863\u69cb\u6587\u3082\u6570\u591a\u304f\u8ffd\u52a0\u3055\u308c\u3066\u3044\u308b\u3002LINQ[\u7de8\u96c6].NET Framework 3.5\u3067\u306f\u3001\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u7b49\u306b\u5bfe\u3057\u3066\u9045\u5ef6\u5b9f\u884c\u3055\u308c\u308b\u8907\u96d1\u306a\u53cd\u5fa9\u51e6\u7406\u3092\u7c21\u6f54\u306b\u8a18\u8ff0\u3067\u304d\u308bLINQ (Language INtegrated Query) \u304c\u8ffd\u52a0\u3055\u308c\u305f\u3002\u3053\u308c\u306b\u4f34\u3044\u3001C# 3.0\u4ee5\u964d\u306b\u306fSQL\u69cb\u6587\u98a8\u306e\u30af\u30a8\u30ea\u6587\u5b57\u5217\u3067\u8868\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308bLINQ\u30af\u30a8\u30ea\u69cb\u6587\u304c\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u304c\u3001\u3053\u308c\u306f\u5185\u90e8\u7684\u306b\u306f\u30e9\u30e0\u30c0\u5f0f\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u306b\u53d6\u308b\u30e1\u30bd\u30c3\u30c9\u30c1\u30a7\u30fc\u30f3\u306b\u3088\u308b\u7b49\u4fa1\u306e\u53cd\u5fa9\u51e6\u7406\u8868\u73fe\uff08LINQ\u30e1\u30bd\u30c3\u30c9\u69cb\u6587\uff09\u306b\u7f6e\u304d\u63db\u3048\u3089\u308c\u308b\u3002using System.Linq; \/\/ \u3069\u3061\u3089\u306e\u69cb\u6587\u3067\u3082\u5fc5\u8981\u3002var src = new char[] { 't', 'e', 's', 't' };\/\/ \u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u306f\u305d\u308c\u305e\u308c\u7b49\u4fa1\u3067\u3042\u308a\u3001\u6587\u5b57't'\u306e\u307f\u3092\u62bd\u51fa\u3057\u305f\u65b0\u305f\u306a\u30b7\u30fc\u30b1\u30f3\u30b9\uff08IEnumerable\u578b\uff09\u3092\u8fd4\u3059\u3002var p = from c in src where c == 't' select c;var q = src.Where(c => c == 't').Select(c => c);\u30a4\u30f3\u30c7\u30af\u30b5[\u7de8\u96c6]C#\u3067\u306f\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u5185\u90e8\u306e\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u547c\u3073\u51fa\u3057\u7b49\u306b\u4f7f\u3046getter\/setter\u30e1\u30bd\u30c3\u30c9\u547c\u3073\u51fa\u3057\u3092\u914d\u5217\u540c\u69d8\u306e\u6dfb\u5b57\u8868\u73fe\u306b\u7f6e\u304d\u63db\u3048\u308b\u3053\u3068\u306e\u3067\u304d\u308b\u30a4\u30f3\u30c7\u30af\u30b5\u304c\u7cd6\u8863\u69cb\u6587\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u3002public Class UserDefinedClass{ private Dictionary collection; \/\/ \u30a4\u30f3\u30c7\u30af\u30b5\u306b\u3088\u308b\u5185\u90e8\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u3078\u306e\u30a2\u30af\u30bb\u30b9(\u521d\u671f\u5316\u30fbnull\u30c1\u30a7\u30c3\u30af\u7b49\u306f\u7701\u7565) public object this[string key] { get { return collection[key]; } set { collection[key] = value; } }}\u5b9f\u8cea\u7684\u306b\u306fgetter\/setter\u30e1\u30bd\u30c3\u30c9\u306e\u5b9f\u88c5\u3068\u7b49\u4fa1\u3067\u3042\u308b\u304c\u3001List\u3084Dictionary\u306e\u3088\u3046\u306a\u30b3\u30ec\u30af\u30b7\u30e7\u30f3\u30af\u30e9\u30b9\u3078\u306e\u30a2\u30af\u30bb\u30b9\u3092\u3088\u308a\u76f4\u63a5\u7684\u306b\u8a18\u8ff0\u3067\u304d\u308b\u3002ML[\u7de8\u96c6]\u3053\u3053\u3067\u306f\u3001ML\u7cfb\u306e\u8a00\u8a9e\u306eDerived Forms\u306b\u3064\u3044\u3066\u8aac\u660e\u3059\u308b\u3002[9] t_1\u00a0; t_2 \u306f\u3001\u624b\u7d9a\u304d\u578b\u8a00\u8a9e\u306b\u304a\u3044\u3066\u3082\u898b\u53d7\u3051\u3089\u308c\u308b\u3088\u3046\u306b\u3001\u3044\u308f\u3086\u308b\u547d\u4ee4\u6587\u306e\u5217\u3067\u3042\u308b\u304c\u3001\u578b\u4ed8\u304d\u30e9\u30e0\u30c0\u8a08\u7b97\u306b\u304a\u3044\u3066\u3001 (\u03bbx:Unit\u00a0: t_2) t_1 \u3068\u8868\u3059\u3053\u3068\u304c\u3067\u304d\u308b\u3002(\u3053\u3053\u3067\u3001Unit \u306f\u30e6\u30cb\u30c3\u30c8\u578b \u3067\u3042\u308b\u3002)Perl[\u7de8\u96c6]Perl\u306e\u6761\u4ef6\u6587\u306e\u8a18\u6cd5if ($boolean) { print \"Syntax sugarn\";}\u306fprint \"Syntax sugarn\" if $boolean;\u3068\u66f8\u3051\u308b\u3002Perl\u306e\u958b\u767a\u8005\u30e9\u30ea\u30fc\u30fb\u30a6\u30a9\u30fc\u30eb\u306b\u3088\u308c\u3070\u3053\u308c\u306f\u7cd6\u8863\u69cb\u6587\u3067\u3042\u308b\u304c\u3001\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u4e2d\u306b\u306f\u3053\u308c\u3092\u8aad\u307f\u306b\u304f\u3044\u3068\u611f\u3058\u308b\u8005\u3082\u591a\u3044\u3002\u305d\u308c\u306f\u3001\u300c\u8aad\u307f\u66f8\u304d\u306e\u3057\u3084\u3059\u3055\u300d\u304c\u4e3b\u89b3\u306b\u57fa\u3065\u304f\u305f\u3081\u3067\u3042\u308b\u3002Python[\u7de8\u96c6]def decorater(func): def wrapper(*args, **kwargs): print(\"Function called\") result = func(*args, **kwargs) print(\"Function ended\") return result return wrapperdef pure_func(a, b): return a + bcovered_func = decorater(pure_func)@decoraterdef decorated_func(a, b): return a + b\u4e0a\u8a18\u30b3\u30fc\u30c9\u306b\u304a\u3051\u308bcovered_func\u95a2\u6570\u3068decorated_func\u95a2\u6570\u306f\u52d5\u4f5c\u7684\u306b\u306f\u7b49\u4fa1\u3067\u3042\u308b\u3002\u3057\u304b\u3057\u3001@\u3067\u59cb\u307e\u308b\u30c7\u30b3\u30ec\u30fc\u30bf\u306b\u3088\u308a\u3001decorated_func\u306f\u6bd4\u8f03\u7684\u308f\u304b\u308a\u3084\u3059\u304f\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u3002\u307e\u305fmy_list = [1, 2, 3]my_list[0] = 2print(my_list[0])\u306fmy_list = [1, 2, 3]my_list.__setitem__(0, 2)print(my_list.__getitem__(0))\u306e\u7cd6\u8863\u69cb\u6587\u3067\u3042\u308b\u3002\u6ce8\u91c8[\u7de8\u96c6]^ \u3053\u308c\u3092\u300c\u30de\u30af\u30ed\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u3082\u306e\u300d\u3068\u3059\u308b\u306e\u306f\u3042\u307e\u308a\u6b63\u78ba\u3067\u306f\u306a\u3044\u3002C\u8a00\u8a9e\u3092\u306f\u3058\u3081\u3001\u591a\u304f\u306e\u8a00\u8a9e\u306e\u30de\u30af\u30ed\u306f\u30c6\u30ad\u30b9\u30c8\u30ec\u30d9\u30eb\u3067\u3042\u308a\u3001\u69cb\u6587\u6728\u3092\u81ea\u5728\u306b\u7de8\u96c6\u3059\u308b\u3053\u3068\u306f\u56f0\u96e3\u3067\u3042\u308b\u305f\u3081\u3067\u3042\u308b\u3002Lisp\u3067\u3042\u308c\u3070\u300c\u7cd6\u8863\u69cb\u6587\u306f\u30de\u30af\u30ed\u3067\u5b9a\u7fa9\u3067\u304d\u308b\u300d\u3068\u8a00\u3048\u308b\u3002^ \u7cd6\u8863\u306f sugarcoating \u3067\u3042\u308b\u3002^ \u57fa\u672c\u7684\u306b\u306f\u8a9e\u5442\u5408\u308f\u305b\u306e\u30c0\u30b8\u30e3\u30ec\u3060\u304c\u3001\u7cd6\u8863\u69cb\u6587\u3092\u30de\u30af\u30ed\u3067\u5b9f\u88c5\u3057\u305f\u5834\u5408\u306b\u30bb\u30df\u30b3\u30ed\u30f3\u306e\u6271\u3044\u304c\u554f\u984c\u306b\u306a\u308b\u5834\u5408\u304c\u3042\u308b\u3053\u3068\u3068\u3001\u5408\u6210\u7518\u5473\u6599\u306b\u95a2\u3057\u3066\u3057\u3070\u3057\u3070\u305d\u306e\u767a\u30ac\u30f3\u6027\u304c\u8a71\u984c\u306b\u306a\u308b\u3053\u3068\u306b\u639b\u3051\u3066\u3044\u308b\u3002\u51fa\u5178[\u7de8\u96c6]"},{"@context":"http:\/\/schema.org\/","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"item":{"@id":"https:\/\/wiki.edu.vn\/jp\/wiki7\/#breadcrumbitem","name":"Enzyklop\u00e4die"}},{"@type":"ListItem","position":2,"item":{"@id":"https:\/\/wiki.edu.vn\/jp\/wiki7\/archives\/5251#breadcrumbitem","name":"\u7cd6\u8863\u69cb\u6587 – Wikipedia"}}]}]