AI を使ったプロンプトに入れておきたい著名プログラマーの哲学的名言100

「プログラマー」という人種を見てて「哲学がない」と感じる昨今。

ちょっと調べてみた。

No. 名言(日本語) 名言(英語) 発言者
1 優秀なプログラマーは何を書くかを知っている。偉大なプログラマーは何を書き直すべきかを知っている。 *Good programmers know what to write. Great ones know what to rewrite.* Linus Torvalds
2 プログラミングの早すぎる最適化は諸悪の根源である。 *Premature optimization is the root of all evil.* Donald Knuth
3 デバッグはプログラムを書くことの2倍難しい。 *Debugging is twice as hard as writing the code in the first place.* Brian Kernighan
4 怠惰、短気、傲慢は、プログラマーの三大美徳である。 *Laziness, Impatience, and Hubris are the three great virtues of a programmer.* Larry Wall
5 完璧を目指すよりもまず終わらせろ。 *Done is better than perfect.* Mark Zuckerberg
6 私はすばらしいプログラマーではない。私は単にすばらしい習慣を持つ平凡なプログラマーだ。 *I'm not a great programmer; I'm just a good programmer with great habits.* Kent Beck
7 シンプルな方がいいんだよ。 *Simpler is usually better.* Rich Hickey
8 未来を予測する最良の方法は、未来を創り出すことだ。 *The best way to predict the future is to invent it.* Alan Kay
9 実のところ、すべてを備えていない言語のほうがプログラミングは簡単である。 *In fact, a language that doesn't have everything is easier to program in.* Dennis MacAlistair Ritchie
10 プロジェクトの遅れは、人員の追加で取り戻せない。 *Adding manpower to a late software project makes it later.* Frederick Brooks Jr.
11 抽象化は、複雑性を管理するための主要なツールである。 *Abstraction is the main tool for dealing with complexity.* Bjarne Stroustrup
12 良いエラーメッセージは、問題を半分解決する。 *A good error message solves half the problem.* Donald A. Norman
13 最高のコードとは、まったくコードを書かないことだ。 *The best code is no code at all.* Jeff Atwood
14 ソフトウェアは成長する。建築されるのではない。 *Software is a growing thing, it is not built.* Frederick Brooks Jr.
15 プログラミングとは、思考を明確にする行為だ。 *Programming is the act of clarifying thought.* Andy Hunt
16 ソフトウェアは常に変化し続けるものであり、固定的な考え方を持つべきではない。 *There is no code etched in stone.* Dave Thomas
17 大胆な挑戦の末での失敗ならば、問題ではない。 *Failing to achieve a daring goal is not a problem.* Larry Page
18 アイデアに価値はない。それを実行できてはじめて価値になる。 *Ideas are easy. Implementation is hard.* Larry Page
19 失敗を恐れてはいけない。ただ、失敗を繰り返しすぎてはいけない。 *Don't be afraid to fail, but don't fail the same way twice.* Jeff Bezos
20 私は難しい問題を解くために怠惰な人を選ぶ。怠惰な人は楽な方法を見つけるからだ。 *I choose a lazy person to do a hard job. Because a lazy person will find an easy way to do it.* Bill Gates
21 全て自分でやるからこそ、すごく勉強になる。 *It's great to do everything yourself because you learn so much.* Steve Wozniak
22 誰もが、自分自身の法則を見つけなければならない。 *Everyone has to find their own rules.* Steve Wozniak
23 ステイ・ハングリー、ステイ・フーリッシュ。 *Stay Hungry. Stay Foolish.* Steve Jobs
24 偉大な芸術家は盗む。 *Good artists copy, great artists steal.* Steve Jobs
25 プログラミングとはシンフォニー(交響曲)を作曲するようなものだと思っています。 *I think of programming as composing a symphony.* Larry Wall
26 ソフトウェアの構造が、それを作成した組織のコミュニケーション構造を反映する。 *Organizations... are constrained to produce designs which are copies of their communication structures.* Melvin Conway
27 複雑性は、死への道だ。 *Complexity is the road to death.* Jeffery James
28 自分の書いたコードを、まるで他人が書いたもののように批判的に見よ。 *View your own code as if someone else wrote it.* Ward Cunningham
29 技術的な負債は、複利で増大する。 *Technical debt accrues interest.* Ward Cunningham
30 私は間違いを犯したことがない。ただ、うまくいかない1万通りの方法を発見しただけだ。 *I have not failed. I've just found 10,000 ways that won't work.* Thomas Edison
31 顧客が本当に欲しがっているものを、彼らが知る前に理解せよ。 *The customer does not know what they want until you show them.* Alan Cooper
32 プログラミングの核心は、データ構造ではなく、データ構造とそれに対する操作の関係である。 *Algorithms + Data Structures = Programs.* Niklaus Wirth
33 コードの品質は、それが動くかどうかではなく、どれだけ理解しやすいかで決まる。 *Code quality is measured by how easy it is to understand, not whether it runs.* Martin Fowler
34 リファクタリングは、コードを改善するだけでなく、設計を改善することでもある。 *Refactoring is not just an improvement in code, it is an improvement in design.* Martin Fowler
35 コンピュータは驚くほど高速で、正確で、愚かだ。人間は驚くほど低速で、不正確で、素晴らしい。 *Computers are incredibly fast, accurate, and stupid. Humans are incredibly slow, inaccurate, and brilliant.* Albert Einstein
36 良いプログラムとは、驚きが少ないプログラムである。 *A good program is one that has fewer surprises.* Jon Bentley
37 プログラムはまず人間が読めるように書くべきであり、機械が実行できるのは二の次である。 *Programs must be written for people to read, and only incidentally for machines to execute.* Harold Abelson
38 良いコードは、最高のドキュメントである。 *Good code is its own best documentation.* Steve McConnell
39 外部の変化スピードが内部の変化スピードを上回れば、終わりは近い。 *When the rate of change outside exceeds the rate of change inside, the end is in sight.* Jack Welch
40 変革せよ、変革を迫られる前に。 *Change before you have to.* Jack Welch
41 成功は、失敗から熱意を失わずに次に進む能力である。 *Success is the ability to go from one failure to another with no loss of enthusiasm.* Winston Churchill
42 私は、私の書いたコードを、半年後の私が理解できることを期待して書いている。 *I code for myself six months ago.* Matt Johnson
43 知識を共有しないプログラマーは、ボトルネックになる。 *A programmer who doesn't share knowledge becomes a bottleneck.* Eric Sink
44 エラー処理は、プログラムの本質的な複雑さの一部である。 *Error handling is an essential part of the inherent complexity of a program.* Bjarne Stroustrup
45 私の仕事は、物事が機能しない理由を見つけることではない。機能するようにすることだ。 *My job is not to find reasons why things won't work, but to make them work.* Robert C. Martin
46 真実は一つの場所にのみ存在すべきである。 *The truth should exist in one place only.* Robert C. Martin
47 自分の書いたコードに疑問を持て。それがプロの証だ。 *Question your own code. That is a sign of a professional.* Dave Thomas
48 プログラミング言語は、思考の限界を設定する。 *A programming language is a way of thinking about programs.* Alan Perlis
49 ソフトウェア開発とは、単にコードを書くことではない。世界を理解するシステムを構築することだ。 *Software development is not just about writing code; it's about building systems to understand the world.* Grady Booch
50 誰もが、自分自身の法則を見つけなければならない。 *Everyone has to find their own rules.* Steve Wozniak
51 私は、コンピュータが人間よりも賢くなる可能性を信じている。 *I believe in the possibility of computers becoming smarter than humans.* Marvin Minsky
52 プログラミングは、思考を紙に書き出すことから始まる。 *Programming begins by writing thoughts on paper.* John von Neumann
53 良い設計とは、変更を容易にする設計である。 *Good design is about making changes easy.* Alan Cooper
54 私は、私が理解していないソフトウェアは使わない。 *I won't use software that I don't understand.* Richard Stallman
55 自由ソフトウェアは社会問題であり、技術的な問題ではない。 *Free software is a social issue, not a technical one.* Richard Stallman
56 あなたが本当に気にするものは、テストする価値がある。 *Anything that you care about, test it.* Kent Beck
57 プログラムをデバッグする最良の方法は、プログラムを書かないことである。 *The best way to debug a program is not to write it.* Seymour Cray
58 私たちの問題は、人間がまだ十分に洗練されていないことだ。 *Our problem is that humans are not yet sophisticated enough.* Grace Hopper
59 船は港にいるときが最も安全だが、船はそれを作るために作られたわけではない。 *A ship in port is safe, but that is not what ships are built for.* Grace Hopper
60 人々はコンピュータが万能だと思っているが、そうではない。 *People think computers will do everything, but they won't.* Grace Hopper
61 プログラミングとは、機械に何をすべきかを教えることではなく、人間が何をしたいかを教えることだ。 *Programming is not about instructing a machine what to do; it's about telling a human what you want.* Alan Perlis
62 プロジェクトは、仕様書どおりではなく、人が理解したとおりに作られる。 *The system is built as the people understood it, not as it was specified.* Joel Spolsky
63 技術は、それを理解しない人々によって支配されるべきではない。 *Technology should not be ruled by people who don't understand it.* Dennis MacAlistair Ritchie
64 シンプルさは、究極の洗練である。 *Simplicity is the ultimate sophistication.* Leonardo da Vinci
65 小さく、早く、頻繁にリリースせよ。 *Release early, release often, and listen to your customers.* Eric S. Raymond
66 私は、コードを書く喜びが失われるような仕事はしない。 *I don't do jobs where the joy of coding is lost.* Linus Torvalds
67 常に次に来るべきものは何かと問うて、その一歩先を行け。 *Always ask what's next, and take the step ahead.* Bill Joy
68 良いコードは、コードを読んだ時の驚きが少ない。 *Good programs are those that have fewer surprises when read.* Jon Bentley
69 良いプログラムは、バグの量が少ない。 *Good programs have a small number of bugs.* Donald Knuth
70 私は、私が理解していないソフトウェアは使わない。 *I don't use software I don't understand.* Richard Stallman
71 完璧な設計は、市場投入を遅らせる。 *Perfect design is the enemy of launch.* Reid Hoffman
72 経験とは、欲しいものを手に入れなかった時に得られるものだ。 *Experience is simply the name we give our mistakes.* Oscar Wilde
73 未来の技術は、今日のSF小説から生まれる。 *Any sufficiently advanced technology is indistinguishable from magic.* Arthur C. Clarke
74 妥協は、コードを台無しにする。 *Compromise ruins the code.* Grady Booch
75 良いアーキテクチャは、システムを理解しやすくする。 *Good architecture makes a system easy to understand.* Martin Fowler
76 顧客は何が欲しいかなんて実は知らない。 *The customers don't know what they want.* Henry Ford
77 プログラマーにとっての最も危険な言葉は、「問題ない」である。 *The most dangerous phrase in the language is, "We've always done it this way."* Grace Hopper
78 私は、コンピューターで遊んで育った。 *I grew up playing with computers.* Bill Gates
79 人の心をつかむもの、それは誠実である。 *The thing that can gain a person's heart is sincerity.* Bill Gates
80 ソフトウェアは、知識を具現化したものである。 *Software is the embodiment of knowledge.* Grady Booch
81 私は常に、自分の書いたコードが本当に正しいのかどうかを疑っている。 *I always doubt if the code I wrote is truly correct.* Donald Knuth
82 テストされていないコードは、壊れたコードである。 *Untested code is broken code.* Robert C. Martin
83 良いプログラマーはコードを書く。偉大なプログラマーはコードを削除する。 *Good programmers write code. Great programmers delete code.* Jeff Atwood
84 バグの90%は、コードの10%に集中している。 *90% of the bugs are in 10% of the code.* Tom DeMarco
85 測定できなければ、改善できない。 *If you can't measure it, you can't improve it.* Peter Drucker
86 あなたの書いたコードは、あなたが出会う最も重要なユーザーである。 *The most important user of any piece of software is its programmer.* Bjarne Stroustrup
87 プログラムは、コードの行数で測られるべきではない。 *Programs should not be measured by lines of code.* Frederick Brooks Jr.
88 計画は無用だが、計画を立てることは不可欠だ。 *Plans are useless, but planning is indispensable.* Dwight D. Eisenhower
89 コードコメントの真実とは、コメントは嘘をつきがちだということだ。 *Comments lie more than the code.* Jeff Atwood
90 複雑なことをシンプルにすること。それは才能である。 *The ability to simplify means to eliminate the unnecessary so that the necessary may speak.* Hans Hofmann
91 良いプログラムとは、その作成者がいなくても読めるプログラムである。 *A good program is one that can be read even without its creator.* Kent Beck
92 経験とは、間違いを犯した後で、それを二度としない能力である。 *Experience is the ability to not make the same mistake twice.* Paul Graham
93 ソフトウェアは常に完成途上にある。 *Software is never finished, only abandoned.* Frederick Brooks Jr.
94 私は、コンピュータが世界を変えると信じている。 *I believe that the computer will change the world.* Bill Gates
95 私は、人生で最も賢い人々の何人かに会ったが、彼らはプログラマーだった。 *I met some of the smartest people in my life, and they were programmers.* Steve Wozniak
96 プログラミングは、論理と芸術の融合である。 *Programming is the fusion of logic and art.* Donald Knuth
97 誰にも見つからないバグは、実質的に存在しない。 *A bug that no one finds is effectively non-existent.* Grace Hopper
98 誰かがコードレビューをするたびに、コードは改善される。 *The code improves every time someone reviews it.* Jeff Atwood
99 この世界、10年後の実用になる技術なんてのは、寝言と同じ価値しかない。 *Technology that will be practical 10 years from now is worth no more than a sleeper's monologue.* Dan Kogai
100 我々のゴールは、最小の努力で最大の効果を得ることである。 *Our goal is to achieve maximum effect with minimum effort.* Larry Wall

 

🤔 まとめ

見てると考えさせられます。

大きく変わったと思います、プログラミング。

プロンプトに入れるには抽象的すぎでした。

Dan Kogai さんもランキング入りしててワロタ。

👉 『AIで書いたコードは危険』と語る著名プログラマーたちのコメント


【AppleCare に未加入】クレカ付帯の保険でiPhone画面ひび割れをAppleで5000円で修復する方法

iPhoneの画面をうっかり割ってしまったとき、高額な修理代にため息をついたことはありませんか?実は、クレジットカードに付帯している保険を活用すれば、Appleの正規修理でも実質5000円で済むことがあります。

この記事では、「クレカの保険でiPhone画面をお得に修理する方法」について、仕組み・対応カード・実際の流れを解説します。

 

🤔 これで私も、実質19400円 → 5000円 となりました。

手が滑って画面がひび割れてしまった iPhone が、

Apple 作業にて、実質支払5000円で復活。

 

🤔 スマホの画面割れは「クレカの保険」でカバーできる

多くのクレジットカードには「ショッピング保険」や「スマートフォン保険」が付帯しており、購入後一定期間内の破損や盗難などを補償してくれます。中でも注目すべきは、アメリカン・エキスプレス(AMEX)のスマートフォン・プロテクションです。


🔹 AMEXスマートフォン・プロテクションの主な特徴

対象機種          購入後36ヶ月以内のスマートフォン
補償額	        年間最大5万円(自己負担5,000円)
対象となる損害	破損、火災、水濡れ、盗難
条件             スマホの通信料をAMEXカードで3ヶ月以上連続して支払っていること
対象カード        AMEXゴールド・プラチナ・ANAプレミアムなど

この保険を利用すれば、Apple公式で修理しても5,000円の自己負担で済み、残りはAMEXが補償してくれます。たとえば、iPhoneの画面修理に30,000円かかったとしても、あなたの負担は5,000円で済むというわけです。

 

🤔 他にも使える「ショッピング保険付きクレカ」とその条件

スマートフォン・プロテクション以外にも、ショッピング保険があるクレカで補償できる場合があります。ポイントは、「スマホをそのカードで購入したかどうか」と「支払方法(リボ・分割など)」です。

以下は代表的なクレジットカードと補償内容の比較です:


カード名                  補償条件         年間補償額  自己負担額  備考
JCBゴールド               90日以内の購入品  500万円    3,000円    通常の支払いOK
三井住友カード(ゴールドNL) リボ・分割払いのみ 300万円    3,000円    一括払いは対象外
楽天プレミアムカード        購入90日以内     300万円    3,000円    通常カードは対象外
エポスゴールドカード        90日以内         300万円   3,000円    招待で年会費無料も可能

注意点
購入日から90日以内であることが多い

修理費を出しても実際に補償されるのは“クレカで払った分の修理”

キャリア一括払いやApple Store以外の購入は対象外になることもある

 

🤔 実際の流れ:iPhoneの画面割れを5000円で修理するまで

では、実際にAMEXのスマートフォン・プロテクションを使って修理する手順をまとめます。


🔧 ステップ①:AMEXの補償条件を満たしているか確認

  - iPhone購入から36ヶ月以内
  - 通信料をAMEXカードで3ヶ月以上支払っている
  - AMEX対象カードを持っている(ゴールドやプラチナ等)


🔧 ステップ②:Apple公式で修理(または正規修理プロバイダ)

  - Apple StoreまたはApple正規サービスプロバイダで画面修理を行う
  - 修理費の領収書を保管


🔧 ステップ③:AMEXに保険金請求

  以下のものを用意し、所定のフォームから申請します:

  - 修理の領収書 or 見積書
  - 損害の状況を記載した説明書
  - 通信料のAMEXカード支払い履歴
  -(盗難時)警察の届け出番号

申請が認められると、AMEXから修理費用のうち5,000円を超えた分が口座に振り込まれます。

 

🤔 まとめ:クレカ保険を知っていれば、画面割れも怖くない

iPhoneの画面が割れたとき、修理費が高くて悩む人は多いですが、クレカの保険を知っていれば5,000円で済む可能性が十分にあります。

特にAMEXスマートフォン・プロテクションは、通信料支払いという条件さえ満たせば、iPhoneを購入してから3年間はいつでも補償が受けられる強力なサービスです。

AppleCare+に入っていない人でも、AMEXカードを持っていれば安心して修理できます。これを機に、あなたのクレカに保険が付いているか、ぜひ一度確認してみてください。

👉 スマートフォン・プロテクション | クレジットカードはアメリカン・エキスプレス(アメックス)


GitHub + SSH で複数アカウント切替え

Git HTTPS Credential Helper がややこしいので SSH に切り替える。

GitHub リポジトリを指す remote origin の変更が必要となりますので、ざっくり概要を見ておきます。


# HTTPS 利用していたとする
git remote -v
> origin https://github.com/OWNER/REPOSITORY.git (fetch)
> origin https://github.com/OWNER/REPOSITORY.git (push)

# SSH 形式の URL に変更
git remote set-url origin [email protected]:OWNER/REPOSITORY.git

# 確認
git remote -v
# Verify new remote URL
> origin [email protected]:OWNER/REPOSITORY.git (fetch)
> origin [email protected]:OWNER/REPOSITORY.git (push)

👉 リモートリポジトリを管理する - GitHub Docs

🧑🏻‍💻 手順

1. 鍵をPC側で作成。


❯ ssh-keygen -t ed25519 -C [email protected] -f ~/.ssh/id_ed25519_main

👉 新しい SSH キーを生成して ssh-agent に追加する - GitHub Docs

2. GitHub にログインして貼る。Authentication keys


❯ pbcopy < ~/.ssh/id_ed25519_main.pub

👉 SSH and GPG keys - GitHub

3. ~/.ssh/config を設定する。


❯ vi ~/.ssh/config

Host github-main
  HostName github.com
  User git
  Port 22
  IdentityFile ~/.ssh/id_ed25519_main
  TCPKeepAlive yes
  IdentitiesOnly yes # need for multiple accounts

Host github-sub
  HostName github.com
  User git
  Port 22
  IdentityFile ~/.ssh/id_ed25519_sub
  TCPKeepAlive yes
  IdentitiesOnly yes # need for multiple accounts

4. PC側プロジェクト内で remote origin を書き換える。


git@github-main:your-main/Sample.git


❯ git remote -v
origin https://github.com/your-main/Sample.git (fetch)
origin https://github.com/your-main/Sample.git (push)

❯ git remote set-url origin git@github-main:your-main/Sample.git

❯ git remote -v
origin git@github-main:your-main/Sample.git (fetch)
origin git@github-main:your-main/Sample.git  (push)

❯ cat .git/config
[remote "origin"]
url = git@github-main:your-main/Sample.git
fetch = +refs/heads/*:refs/remotes/origin/*

5. 接続を確認する。


❯ ssh -T git@github-main
Hi your-main! You've successfully authenticated, but GitHub does not provide shell access.

👉 [備忘] 複数Githubアカウントでssh接続設定(config)を使い分ける手順 #GitHub - Qiita

 

🧑🏻‍💻 まとめ

URL 記述部分は、ssh:// がついてるほうが意味が分かりやすい気がします。

その場合は ~/.ssh/config の port 22 の記述は不要のようですが、

現在 GitHub ではスキーマ部分消えています。

などとダラダラ書きましたが、以下読んでみるとよく分かります。

👉 Multiple GitHub Accounts & SSH Config - Stack Overflow
👉 Using multiple github accounts with ssh keys
👉 【Git】Obsidian を GitHub と連携する
👉 初心者向け Git コマンドと領域の移動をシーケンス図で書いてみた