Programmer, Video game developer, Crypto enthusiast

Taipei City, Taiwan
Joined December 2017
在币圈,不要笑人这个,笑人那个。在外人眼里,我们都是染上了赌瘾的奇怪人。
16
4
71
25,896
Here's the truth about TDD (Test Driven Development). It's a broken practice. It's always been broken. It's broken by the definition of it. Its biggest merit is the encouragement of testing but that's about where it ends. TDD implies writing tests before writing the code. So, what's broken about this, Artem? You write tests to describe the intention behind the system—how you expect it to behave. TDD heavily implies that you should know how the system behaves before even implementing it. You should know what you're doing. Most of the time you don't. All the developers I know don't know that ahead of time. I don't know that ahead of time. In fact, I can spend days experimenting, writing an MVP, until I even begin to grasp what parts of my system should be and what I expect from them. I don't see TDD as a viable approach in fast-evolving systems, like the web. It may make significantly more sense when writing systematic software where very little changes from project to project. That's the complete opposite of what you write on the web. The negative aspect of TDD is that I've seen teams discouraged if they fail to follow it. And so they give up on the whole idea of testing since TDD is so universally associated with it. Instead of encouraging people to test and showing them that testing software can be fun, the practice locks them in pedantic constraints that no engineer can follow. I don't follow TDD. It doesn't mean I don't write tests. I write a lot of tests. What I do is Prototype-Iterate-Test development. Prototype. I give my ideas some room and let them breathe without caring too much about testing at first. I experiment, move things, break things, put myself in my user's shoes and design the API, behaviors, and expectations. As I said, this can take some time. Iterate. I take that time to make sure my system makes sense and satisfies the requirements toward it (which, by themselves, may evolve and change why I do this). Test. Finally, I write the tests. It's become an inseparable part of my workflow. I cannot imagine not writing tests. There are exceptions, of course. If I'm writing a simple I/O function, it doesn't need a day of work to understand what it does because that's all it will ever do. I may write some unit tests for it from the start. But the majority of my (and I'm sure yours too) work are not simple functions. It's complex logic that takes time to get right. If I follow TDD faithfully, I will be wasting my time writing tests that I will, eventually, throw away. Those are not useful and they'd help me not to gain confidence in what I'm building. Don't be discouraged. Adopt the practices that work for you (even if it's TDD, as long as you are not lying to yourself!). The important thing is that testing matters. It always did. Developers have been testing software since the 80s, I believe. You should too! I will do my best to show you that testing can be accessible and fun.
148
121
60
1,001
316,378
No one should be jailed just for using or possessing marijuana.
10,906
12,919
7,570
85,539
15,571,871
Reliable source: Leonid Matveev, linked to Sasha Ivanov, embezzled all TVL from Waves (~$530M according to DLNews). Please spread it. @YouAreMyYield @WazzCrypto #Waves #Scam #WavesArmy
1
5
8
2,780
I stole $50,000 from my grandma and longed BTC.
830
164
159
2,150
572,503
曾經震撼我們的萬能青年旅店名曲,《殺死那個石家莊人》,震撼地被改編成《殺不死的石家莊人》之後,就確確實實的被殺死了。 jinrizhiyi.cf/index.php/prod… 如果你不想點網址,經典歌詞改編選粹在留言。
1
11
2
60
5,167
剛剛gmail密碼忘了 我去申訴 第一個安全問題就問我 我的夢想是什麽 我一個一個試 都不對 那一刻我發現我弄丟的不是我的gmail密碼 而是我的夢想 – at Taipei City, Taiwan
41
454
26
3,857
mcgodamn retweeted
833
55,753
4,330
293,024
講師:我已經30多年沒有感冒請過假,身邊全部確診,我都沒事,都是因為我唱歌 唱歌清除負面效果 好傢伙你職業是吟遊詩人
12
161
6
2,100
mcgodamn retweeted
Dexerto
@Dexerto23 Sep 2022
Legendary twitch concert
651
18,449
1,346
118,048
我的油画《王者荣耀》在OS发布了NFT,现开启空投,只要你粉丝量大于50人,转发这条推文,私信发我钱包地址,即可获赠。先到先得!
245
481
31
399
mcgodamn retweeted
13 的「SwiftUI 讀完就入坑」專欄開始連載啦~ 還請轉推、多多支持🙏 ethanhuang13.com/p/swiftui-0…
3
42
6
163
We're proud to announce the 10 Finalists of #HackMoney 2022! 💸 🧈 Whip 📡 Wido Router 👌 OK Vault 💰 BTFDCA 💧 EVIX 🗃 Yield Index #️⃣ Hash Space 👀 Polypus 🖼 Jpex 🧩 TEX 🧵/👇
8
76
31
155
The Bitcoin / Terra chart is what dreams are made of
30
22
2
479
牛市躺平,熊市喊单,是历代自媒体人的职责所在🙏 行情好的时候我们可以追涨杀跌,一旦熊市来临,我们誓必要举起手中的键盘,团结住还没归零但韭心慌慌的家人们✊✊✊
35
982
12
339
My portfolio today
46
104
6
730
有媒體繼續帶不掃實聯制的風向
60
100
43
885
👀
38
104
14
785