Yuhuan JiangCovariance and Contravariance in JavaSay you have a class Cat which is a subclass of the other class Animal. Should List<Cat> also be a subclass of List<Animal>?Feb 8, 20191Feb 8, 20191
Yuhuan Jiang4 Definitions of an IteratorIterators can be defined in at least four ways:Aug 23, 2017Aug 23, 2017
Yuhuan JiangMonad RevisitedThe original text was in Chinese language. This is an English translation.Mar 8, 2017Mar 8, 2017
Yuhuan JiangDebuggable Maven-style TypeScript Node.js Project Set-up for Visual Studio CodeThis is not the typical Yet Another Introduction to Using TypeScript in VS Code!Mar 6, 2017Mar 6, 2017
Yuhuan JiangDebugging Electron Projects in VS CodeTL;DR: If you’re using VS Code 1.10, then you should use Electron 1.4, which has Node.js 6, instead of Node.js 7, which VS Code doesn’t…Mar 5, 2017Mar 5, 2017
Yuhuan JiangImplementing Split Pane Resizing HandlesThis article is not about how to use JavaScript to implement a resizable split pane. In this article, we discuss how to implement the…Feb 25, 2017Feb 25, 2017