`by lazy {}` block 的使用#kotlin Kotlin 中的 `by lazy {}` 是一項強大的功能,可讓我們建立延遲初始化的屬性。雖然它很方便,但在某些情況下可能會導致問題或可能不是最佳選擇。以下是使用lazy時可能遇到的主要問題:Dec 26, 2024Dec 26, 2024
android topics近日經歷數場 interview,沒想到觸碰了好幾個 android 開發上會遭遇的問題,僅先將 topics 紀錄一下,在逐一研究研讀。Mar 5, 2024Mar 5, 2024
murmurThe feeling over these past two years has been a bit like the daily 5,000 meter morning runs during my time in kinmen — at times there were…Mar 5, 2024Mar 5, 2024
Buzzword or jargon in sweJust noted here, I think there are some buzzwords in software development area. When I study specific topics I alway google them along with…Mar 1, 2024Mar 1, 2024
tiny notes — 泛型 generic泛型通常用 T 表示,用 E 代表裡面是 Element,用 T 強調是個 Type。有寫地方可能會使用 K, V 代表 Key and Value 如 Map<K, V>。Jan 2, 2024Jan 2, 2024
Staking contract這週學習了如何做一個簡單的質押智能合約,也就是一個可以將 token 存入至 contract ( ex. 就是交易所),過一段時間再將 token 領出,在存入期間可獲得一些獎勵。May 31, 2022May 31, 2022
Writing #000Yes, let me start writing, writing for something, some thoughts, for life, for myself, and for my personal growth.Apr 13, 2022Apr 13, 2022