Go deep

Recent Posts

August 01, 2020

Golang 中 TeeReaderWriter 输出为空的问题小记

这是一个在工作的时候遇到的 TeeReader 的 Writer 为空的问题。花了一点时间解决。并且根据官方示例代码做出一定的调整,发现了一个比较有意思的现象。但是没有什么人说到这个问题。

December 28, 2019

Atbash Cipher Code Refactoring Record

TThis comes from the main exercise of exercism in rust. I asked some friends from a small Rust community and I got these elegant codes. These codes are so beautiful and tricky. So I decide to write it down and hope it may be useful for you as well.

October 14, 2019

Code Refactoring of Bob - Exercism in Rust

This comes from the side exercise of exercism in rust. Mentor `gaetanww` helped me a lot on code refactoring and logical improvements advice with great patience and careful instruction. He even changed my attitude towards work and researching. I have nothing else to say to express my thanks to my mentor.