並置による関数適用の善し悪しについて盛り上っているので、自分の意見を表明しておく。以下の2本立て。
- 純粋に構文論的な議論 (構文拡張の余地を残す)
- 意味論との関係での議論 (副作用の表示)
先に結論だけ書くと、私はどちらかといえば括弧による関数適用のほうが好みです。
| /* | |
| * Simple Intentation-Based Language PEG.js Grammar | |
| * ================================================ | |
| * | |
| * Describes a simple indentation-based language. A program in this language is | |
| * a possibly empty list of the following statements: | |
| * | |
| * * S (simple) | |
| * | |
| * Consists of the letter "S". |
| 更新: | 2024-05-20 |
|---|---|
| 作者: | @voluntas |
| バージョン: | 2024.1 |
| URL: | https://voluntas.github.io/ |
| 原著者: | Adrian Holovaty |
|---|---|
| 原文: | Why I left Heroku, and notes on my new AWS setup |
金曜日、私は Heroku から Amazon Web Services(AWS) を直接使うように Soundslice を移行しました。私はこの変更ができてとても、そうとても嬉しくて、私がどうやったかということと、もし皆さんが同じような立場だったら何故それを検討すべきかということについて広く伝えたいと思います。
Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。
【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。
| #!/usr/bin/python -O | |
| ################################################################################ | |
| ################################################################################ | |
| # | |
| # State-Based Text Merging Algorithm | |
| # For 6.033 Design Project 2 | |
| # TA: Katherine Fang | |
| # 9 May 2012 | |
| # |
| /** | |
| * @license MIT, GPL, do whatever you want | |
| * @requires polyfill: Array.prototype.slice fix {@link https://gist.github.com/brettz9/6093105} | |
| */ | |
| if (!Array.from) { | |
| Array.from = function (object) { | |
| 'use strict'; | |
| return [].slice.call(object); | |
| }; | |
| } |
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <title>index</title> | |
| <meta name="viewport" content="width=device-width; initial-scale=1.0" /> | |
| <script> | |
| document.addEventListener('DOMContentLoaded', function() { |