vivian1223
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invitee
    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Versions and GitHub Sync Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
Invitee
Publish Note

Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

Your note will be visible on your profile and discoverable by anyone.
Your note is now live.
This note is visible on your profile and discoverable online.
Everyone on the web can find and read all notes of this public team.
See published notes
Unpublish note
Please check the box to agree to the Community Guidelines.
View profile
Engagement control
Commenting
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
  • Everyone
Suggest edit
Permission
Disabled Forbidden Owners Signed-in users Everyone
Enable
Permission
  • Forbidden
  • Owners
  • Signed-in users
Emoji Reply
Enable
Import from Dropbox Google Drive Gist Clipboard
   owned this note    owned this note      
Published Linked with GitHub
Subscribed
  • Any changes
    Be notified of any changes
  • Mention me
    Be notified of mention me
  • Unsubscribe
Subscribe
# 8/23(ㄧ) 每日任務: 善用「情境敘述」讓程式碼變得有意義 歡迎來到第五週的六角寫作王(≖‿ゝ≖)✧ 禮拜一的心情想必很阿雜吧? 寫作其實跟人生一樣,有時候會很煩躁、想不出什麼酷東西做為文章情境。 但技術寫作的好處是:你不用管讀者閱讀的情緒好不好、感不感動,**有解決問題才是重點。** 但往往你會發現,自己的文章或是筆記,不但不能協助自己解決問題,反而讓自己更加混亂。 這中間到底是出了什麼問題? 別讓筆記淪為流水帳 --- 技術寫作的重點在於,要用快速、簡潔的方式讓讀者**快速理解「問題」,並且提供適當的作法。** 這時候你就會想到:「啊!我用心智圖,或者列點式的語法筆記呀!一定超清楚!」 然而大部分的技術寫作文章,或甚至是自己為了學習所記錄的筆記,往往都**缺了「問題釐清」的文字敘述**。 一旦遇到難解的問題,大家就像考卷發下來一樣,只忙著把「答案」抄下來,而沒有抄題目,也**不會去分析**題目的要考的是什麼**邏輯**。 舉例來說,你今天學了一個新的語法,專門處理關鍵字篩選,於是你在筆記中列下所有的語法,但下一次你遇到同樣問題時,你只看到密密麻麻的程式碼。 ```javascript= const newList = this.productList.filter((item)=>item.match(keyword)) ``` 啊⋯⋯What is this? 結果你花時間抄了程式碼,這筆記最後卻像是沒有被檢討的期末考考卷一樣,被遺忘在角落。 技術寫作一定要帶入「情境敘述」 --- 要讓文章更容易被理解、更容易打中讀者「痛點」,除了要附上完整的程式碼外,**你還需要解釋這個技術會在什麼狀況用到,或是程式碼本身的的撰寫邏輯。** 舉例來說,今天你學到了 JavaScript 的 AJAX 技巧,千萬不要貼了一行 Axios 的 CDN ,或是只寫了這樣: ```javascript= let data = []; function getData(){ axios.get(api) .then(res=>data = res.data.result.records;) .catch(err =>console.log(err)) } ``` 記得多少補一下**使用情境**,舉例來說: > 1. 宣告一個變數名稱為 data 的空陣列,用來儲存遠端API接回來的資料。 > 2. 使用 axios 串接資料,並在接資料時運用 promise 的概念,在取得遠端資料後,將資料指給變數 data,用以後續渲染畫面。 其實寫這一串簡單的流程敘述,不會花你10分鐘,但我們往往就是一個**懶**字。 即便寫筆記當下**你的腦袋非常清楚**,你依然有很高的機會隔天就忘當初為什麼會這樣寫。 ## 每日任務內容: 1. 請檢視自己自己活動以來撰寫的筆記中,是否有寫了程式碼,但沒有寫上「流程、使用情境」的狀況?如果沒有的話請補上,並將筆記連結一併附上後,回報至任務回報區中。 2. 別忘了一併回報今天**你執行「超級 mini 小目標」了沒?** ## 任務回報區: > 任務回報範例: > > **0. Vivian:** > 1. 在上切版直播班前,對於切版的流程不是很熟悉,卡了幾次關後,終於把容器的[開發流程](https://hackmd.io/@o9ZLEqeZQ8e7u_JXSPfjsQ/S1EW2d5R_/%2Fw93JvQZETfWLIZkNWw6aMg)紀錄下來,雖然花了點時間,但很值得。 > 2. 至今為止都有好好執行我的「超級 mini 小目標」,反正就是每天爆肝硬寫,有什麼難的?嗚嗚QAQ **1. Lou:** 檢查了文章[使用 React-pdf 來產生 PDF ](https://hackmd.io/NMxzkKpZTYesoSm6c6qYQw?view) ,稍微修改一點點地方,還算可以。小任務有執行~最近想追加寫晨間日記。 **2. Yunei:** * 有喔,為了應付金魚腦的我,只好強迫懶惰的我無論如何都要附上,不然做了筆記看不懂都是白費阿...這是我的[筆記](https://hackmd.io/uxbr4hAbRhCv88KG_8ucdw)。 * 已用小目標開啟這藍色的星期一。 **3. Gui:** 有的,基本上一定或多或少都會加上一些解說,以我這篇文章「[更便利於撰寫與管理 CSS 的工具 - Sass / SCSS,如何使用、編譯?](https://guiblogs.com/css-sass-scss/)」即是。同時也會觀看其它人寫的技術文章,主要是參考如何將文章寫得更容易使人理解。 **4. Jane Lin:** - [這篇](https://hackmd.io/@as60160/SyLlsv9YO/%2FvzycHqZ9RC-cEpiqEcKrOQ) 應該還可以,其他的陸續修改中。 - 今日 mini 小目標完成: 2/2 **5. 大衛:** * 我每次都一定要把[code](https://hackmd.io/CyTu6tnyRBSXNBTkjbUGLw)寫上去,不然都會看不懂,但有時候會把所有可能性都寫上去,反而會變得雜亂無章,還在練習怎麼寫得乾淨、清楚。 - 今日mini目標已完成! **6. Susan:** 1. 檢視活動以來撰寫的筆記中,有寫程式碼,也有寫上流程、使用情境。 2. 今天執行超級mini小目標,還在追趕中 **7. Mao:** 1. 把每日目標縮小中,今日mini目標已完成 2. 在寫容易產生錯誤的地方,都會特意做錯誤示範,讓之後再看到同樣的錯誤時,能更快的解決問題,通靈能力提升 **8. 肉魚:** 1. 回頭一看[筆記](https://hackmd.io/@ZCnote/SJkMmiqCO/%2FknXlBK3aQCa4BiCQwW8ZCQ)有夠混雜的,完全被vivian戳到痛點嗚嗚qq,因為趕著在時間之前趕快把東西弄好,導致沒有好好將來龍去脈寫好,僅用很粗略的敘述或者備註來提醒自己...搞了一個超大坑給自己,需要時間好好補上QAQ 2. 以上每日mini任務有做完的都是強者...我努力趕上中 (汗) **9. Rain Liao:** 自己都事先照抄別人先打的情境敘述的方式,其實編輯上有點懶得再去打一次,目前只能透過隔行,的註解方式或是在漁法下方著解題是重點。ES6的箭頭函式,沒有解釋的話會讓新手看不太懂。 **10. 阿布:** 1.[二.結構與語意標籤](https://hackmd.io/wfdXlnbySCmpI-kQM5sE1w)有特別交代功能與情境,但有時候會有點頓卡,希望能慢慢進步,讓筆記寫作更行雲流水些。 2.有完成~ **11. WA:** 在"權重分數表",筆記部分試著描述得更清楚,讓筆記描述更能有頭有尾。 [權重分數表](https://hackmd.io/@Cu_w-PQhSTWp-uFWbfyZSw/SknMv2oRO/%2F%40Cu_w-PQhSTWp-uFWbfyZSw%2FBkMu3pvJK)

Import from clipboard

Paste your markdown or webpage here...

Advanced permission required

Your current role can only read. Ask the system administrator to acquire write and comment permission.

This team is disabled

Sorry, this team is disabled. You can't edit this note.

This note is locked

Sorry, only owner can edit this note.

Reach the limit

Sorry, you've reached the max length this note can be.
Please reduce the content or divide it to more notes, thank you!

Import from Gist

Import from Snippet

or

Export to Snippet

Are you sure?

Do you really want to delete this note?
All users will lose their connection.

Create a note from template

Create a note from template

Oops...
This template has been removed or transferred.
Upgrade
All
  • All
  • Team
No template.

Create a template

Upgrade

Delete template

Do you really want to delete this template?
Turn this template into a regular note and keep its content, versions, and comments.

This page need refresh

You have an incompatible client version.
Refresh to update.
New version available!
See releases notes here
Refresh to enjoy new features.
Your user state has changed.
Refresh to load new user state.

Sign in

Forgot password

or

By clicking below, you agree to our terms of service.

Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
Wallet ( )
Connect another wallet

New to HackMD? Sign up

Help

  • English
  • 中文
  • Français
  • Deutsch
  • 日本語
  • Español
  • Català
  • Ελληνικά
  • Português
  • italiano
  • Türkçe
  • Русский
  • Nederlands
  • hrvatski jezik
  • język polski
  • Українська
  • हिन्दी
  • svenska
  • Esperanto
  • dansk

Documents

Help & Tutorial

How to use Book mode

Slide Example

API Docs

Edit in VSCode

Install browser extension

Contacts

Feedback

Discord

Send us email

Resources

Releases

Pricing

Blog

Policy

Terms

Privacy

Cheatsheet

Syntax Example Reference
# Header Header 基本排版
- Unordered List
  • Unordered List
1. Ordered List
  1. Ordered List
- [ ] Todo List
  • Todo List
> Blockquote
Blockquote
**Bold font** Bold font
*Italics font* Italics font
~~Strikethrough~~ Strikethrough
19^th^ 19th
H~2~O H2O
++Inserted text++ Inserted text
==Marked text== Marked text
[link text](https:// "title") Link
![image alt](https:// "title") Image
`Code` Code 在筆記中貼入程式碼
```javascript
var i = 0;
```
var i = 0;
:smile: :smile: Emoji list
{%youtube youtube_id %} Externals
$L^aT_eX$ LaTeX
:::info
This is a alert area.
:::

This is a alert area.

Versions and GitHub Sync
Get Full History Access

  • Edit version name
  • Delete

revision author avatar     named on  

More Less

Note content is identical to the latest version.
Compare
    Choose a version
    No search result
    Version not found
Sign in to link this note to GitHub
Learn more
This note is not linked with GitHub
 

Feedback

Submission failed, please try again

Thanks for your support.

On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

Please give us some advice and help us improve HackMD.

 

Thanks for your feedback

Remove version name

Do you want to remove this version name and description?

Transfer ownership

Transfer to
    Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

      Link with GitHub

      Please authorize HackMD on GitHub
      • Please sign in to GitHub and install the HackMD app on your GitHub repo.
      • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
      Learn more  Sign in to GitHub

      Push the note to GitHub Push to GitHub Pull a file from GitHub

        Authorize again
       

      Choose which file to push to

      Select repo
      Refresh Authorize more repos
      Select branch
      Select file
      Select branch
      Choose version(s) to push
      • Save a new version and push
      • Choose from existing versions
      Include title and tags
      Available push count

      Pull from GitHub

       
      File from GitHub
      File from HackMD

      GitHub Link Settings

      File linked

      Linked by
      File path
      Last synced branch
      Available push count

      Danger Zone

      Unlink
      You will no longer receive notification when GitHub file changes after unlink.

      Syncing

      Push failed

      Push successfully