Grok Conversation
ソースコードのコメント行に、起動前の準備の説明として以下を書こうかと思っています。
「
- create a new folder (directory) named "study20251120_tetris"
- in that new folder, save this Processing sketch as "study20251120_tetris.pde"
- save cassidy-james-blaede-UBcXr0DcTAY-unsplash.jpg
- from https://unsplash.com/photos/UBcXr0DcTAY in the new folder
- install Game Control Plus library
- change the lines that marked "change this line appropriately" if necessary 」 この「2.」の中の「that」は妥当ですか?また、それ以外に不自然な点はありますか?日本語で解説してください
はい、質問の部分について日本語で丁寧に解説します。結論から言うと「that」は不自然です。削除した方が圧倒的に自然です。理由と改善案英語の技術文書(特に手順書)では、直前に出てきた名詞を繰り返すか、または何も代名詞を置かずにそのまま続けるのが普通です。「that new folder」という言い回しは、文法的には間違いではないものの、ネイティブがほとんど使わない不自然な表現になります。悪い例(現在のあなたの書き方)自然な書き方(ネイティブが実際に書く形)
最終的なおすすめコメント全文(自然な英語)これなら完全にネイティブらしい、自然で読みやすい手順になります!
2. in that new folder, save this Processing sketch as "study20251120_tetris.pde"- 一番自然(最もよく見る形)→ 「that」を完全に削除。「the new folder」で十分伝わります。
2. In the new folder, save this Processing sketch as "study20251120_tetris.pde" - フォルダー名を繰り返すパターン(とても丁寧でわかりやすい)
2. In the "study20251120_tetris" folder, save this Processing sketch as "study20251120_tetris.pde" - 少し冗長だけど間違いではないパターン
2. Inside the newly created folder, save this Processing sketch as "study20251120_tetris.pde"
現在の文 | 問題点 | 改善例 |
|---|---|---|
create a new folder (directory) named "..." | 特に問題なし。ただし「directory」は最近あまり書かない人が増えた | Create a new folder named "study20251120_tetris" |
save cassidy-james-blaede-UBcXr0DcTAY-unsplash.jpg from https://unsplash.com/photos/UBcXr0DcTAY | ファイル名が長すぎて読みにくい+ダウンロード手順が曖昧 | Download the background image from:
https://unsplash.com/photos/UBcXr0DcTAY
and save it as "background.jpg" in the folder
(または短い名前を強制してもOK) |
install Game Control Plus library | 「install」が少し曖昧(Processingでは「import」するだけの場合も) | In Processing, go to Sketch → Import Library → Add Library...
and install "Game Control Plus" |
change the lines that marked "change this line appropriately" if necessary | 文法ミスあり(that are marked) | If necessary, modify the lines marked with the comment
"// change this line appropriately" |
java
/**
* Setup instructions before running:
*
* 1. Create a new folder named "study20251120_tetris"
* 2. In the new folder, save this sketch as "study20251120_tetris.pde"
* 3. Download the background image from:
* https://unsplash.com/photos/UBcXr0DcTAY
* and save it as "background.jpg" in the same folder
* 4. In Processing IDE, install the "Game Control Plus" library
* (Sketch → Import Library → Add Library...)
* 5. If necessary, modify the lines marked with the comment
* "// ← change this line appropriately"
*/