David Feng

The "Greek to me" Graph

In English, when people don’t understand what you are saying, they might say “it’s Greek to me”. We can represent this relationship with a direct edge from an English node to a Greek node. This Wikipedia page collects similar idioms in various languages. We can construct a graph from this! Notable Previous Works I was excited about this brilliant idea until I googled ‘greek to me graph’. Of course, people have already done it.

What is agile (for a software developer)?

(Adapted from an internal talk) The tech world has seen a lot of talking about agile/scrum, almost to the point that it is the silver bullet for software engineering. The new meaning is even in the definitions that google gives. On the contrary, some people absolutely hate it, some say that process matters far less than everyone pretends it does (which I agree). I also saw a very interesting theory from HackerNews: the agile process improves the productivity of a C-level developer, but it slows down your A-level developer at the same time, so everyone ends up at B-level.

Cleaning up CollisionViz - advice to new programmers

CollisionViz is a data visualization app which shows car crashes in the New York City. I wrote it when I was at AppAcademy in 2017. Since then, I haven’t spent a lot of time on it. Recently I found out that it stopped working. Software is like cars - it needs maintainable. In addition to fixing it, I gave it an overhaul. Below are some advice that I wise I knew when I first wrote CollisionViz, and hopefully it is applicable to other new programmers.

Clean Code in React

I published this article on codeburst/Medium on 2018/01/28. It has received 12.6k views and 1.96k claps as of 2019/01/05. My first full stack project is Bara, a single-page Yelp clone. After weeks of development and refactoring, I am pretty happy with the result. The UI looks good; the functionality works fine: users can sign up, log in, CRUD businesses and reviews. Recently I’ve been reading Clean Code, and I begin to appreciate the importance of keeping the code clean.

React Component Event Handlers

Note: I published this article on codeburst/Medium on 2017/07/30. It has received 18.3k views and 235 claps as of 2019/01/05. What should be put in the onClick={…}? A simple example: Toggle button This example is from React Docs, see it on codepen here. In the Toggle class, a handleClick method is defined as an instance method, which changes the local state. In the render method, this.handleClick is passed to the button as an event handler.