Homepage
Open in app
Sign inGet started

Dcard Tech Blog

Binding Generations. Breaking Limitations. Building with Passion.

  • Web
  • Mobile
  • Data
  • Products
  • People
  • Career
  • Android 寫測試系列 (5) — 對 ViewModel 寫測試

    Android 寫測試系列 (5) — 對 ViewModel 寫測試

    上一篇介紹了如何對 Singleton 物件寫測試,也介紹如何清除 Singleton 持有的資料,這次想介紹要如何對 Google 所推的 MVVM 架構中的 ViewModel 寫測試,在 Google 所推的 ViewModel 中其實已經有了…
    Go to the profile of 黃德銘
    黃德銘
    Dec 19, 2022
    我做了一個 Option Sheet!

    我做了一個 Option Sheet!

    摳尼吉哇!大家好!我是 Junior iOS 工程師 Sherry,本篇文章要分享的是我加入 Dcard 後的第一個 function team week 專案 — 重構 Option Sheet 元件時的設計想法和實作架構。
    Go to the profile of 謝宛軒 Sherry Hsieh
    謝宛軒 Sherry Hsieh
    Nov 24, 2022
    PostgreSQL 如何預估 Function Return Rows 以及對 Query 的效能影響

    PostgreSQL 如何預估 Function Return Rows 以及對 Query 的效能影響

    本篇文章同步刊載在筆者的 Blog 上,想要更好的閱讀體驗可以到筆者的 Blog…
    Go to the profile of 陳劭愷
    陳劭愷
    Oct 28, 2022
    PostgreSQL 技術筆記: 跟疾管署沒有關係的CDC

    PostgreSQL 技術筆記: 跟疾管署沒有關係的CDC

    繼上次 Dcard Tech Sharing 活動之後,在此整理了一些有關分享中所提到的細節內容,讓大家能夠更瞭解 Dcard 中使用PostgreSQL CDC 的運作原理。
    Go to the profile of Dcard Tech
    Dcard Tech
    Oct 26, 2022
    Android 寫測試系列(4) — 對 Singleton 物件寫測試

    Android 寫測試系列(4) — 對 Singleton 物件寫測試

    上一篇介紹了如何對擁有 CoroutineScope 的物件撰寫測試,並介紹了一個我自己寫的 extension waitForJobsToFinish,用了這個 extension 後可以幫助我們減少使用 delay…
    Go to the profile of 黃德銘
    黃德銘
    Oct 7, 2022
    為什麼我們決定放棄 styled-components 並選擇 linaria

    為什麼我們決定放棄 styled-components 並選擇 linaria

    styled-components 是目前在 react 圈相當熱門的 CSS-in-JS library,在當年 CSS-in-JS 之亂時憑著一身在 JavaScript 裡寫 CSS syntax 殺出一條血路,在 State of CSS 2019–2021…
    Go to the profile of Evan Ye
    Evan Ye
    Sep 27, 2022
    Dcard 讀書會如何進行?

    Dcard 讀書會如何進行?

    在 Dcard 每個團隊會各自舉辦讀書會,分享近期的新知,當然開發團隊也不例外。事不宜遲,來看看 Dcard 的工程讀書會都在做什麼吧!
    Go to the profile of Dcard Tech
    Dcard Tech
    Aug 28, 2022
    親愛的,我們重新發明了購物車

    親愛的,我們重新發明了購物車

    大家好,我是 Dcard Frontend Team 的 Yuna,目前是屬於 EC Delivery Team 的開發成員,主要負責 Dcard「好物研究室」的 web 前端開發。
    Go to the profile of 陳昱安
    陳昱安
    Aug 17, 2022
    Android 寫測試系列 (3)— 對擁有 CoroutineScope 物件寫測試

    Android 寫測試系列 (3)— 對擁有 CoroutineScope 物件寫測試

    上一篇介紹了 BDD 以及如何對一般物件寫測試,讓我們可以開始為了提高程式穩定性做準備。而上一篇的情境較為簡單,用了 suspend function 可以解決 call 單支 api 的需求,但有時候我們需要同時處理多個異步需求,這時候使用 withContext()…
    Go to the profile of 黃德銘
    黃德銘
    Aug 12, 2022
    採用 SWC 取代 Babel,大幅提升編譯速度

    採用 SWC 取代 Babel,大幅提升編譯速度

    過去有很長一段時間,前端工具幾乎都是 Webpack、Babel、ESLint、Prettier 等的天下,但隨著這些工具的速度漸漸成為瓶頸為人詬病,原先的優勢已經漸漸的開始消失。
    Go to the profile of C.T. Lin
    C.T. Lin
    Jul 26, 2022
    About Dcard Tech BlogLatest StoriesArchiveAbout MediumTermsPrivacy