|
|
| Line 496: |
Line 496: |
| </pre> | | </pre> |
|
| |
|
| == Assistants for Programming == | | == 程式設計助手 == |
| === Refactor the source code === | | === 重構原始碼 === |
|
| |
|
| Template of prompt
| | 提示詞模板 |
| <pre> | | <pre> |
| refactor the code
| | 請重構這段程式碼 |
|
| |
|
| ```<language> | | ```<程式語言> |
| (place your source code here) | | (在此放入你的原始碼) |
| ``` | | ``` |
| </pre>
| |
|
| |
| Example of prompt:
| |
| <pre> | | <pre> |
| refactor the code
| |
|
| |
| ```php
| |
| (place your source code here)
| |
| ```
| |
| </pre>
| |
|
| |
| {{exclaim}} If the language of the source code is not specified, ChatGPT will attempt to identify the language used.
| |
|
| |
|
| |
| More on [[AI assistants in coding]]
| |
|
| |
|
| == Job resume & Interview practice == | | == Job resume & Interview practice == |