vue-realworld-example-app icon indicating copy to clipboard operation
vue-realworld-example-app copied to clipboard

Framewars! Improve metrics for vue implementation

Open vilsbole opened this issue 7 years ago • 1 comments
trafficstars

Jacek Schae comparisons of realworld-apps uses three metrics:

  1. First meaningful paint
  2. /src gzipped size
  3. Lines of code

There is still a lot of fluff in the codebase, so we should be able to reduce the third, and most probably the two others. At least enough to significantly outrun React and Angular and maybe even ELM.

@igeligel would you have any suggestions?

vilsbole avatar Apr 09 '18 21:04 vilsbole

First meaningful paint

This is indeed important. But we should rather focus on Clean Code. This is more important in a lot of code bases. Code gets written more often than getting written.

/src gzipped size

The size can be large if the code is clean in my opinion. Of course, you can do abstraction over abstraction but at some point, you will get to some mess which no one new knows how to edit. I always live with the mindset that a new intern, never touched Vue.js, should understand the code. If it is understandable then, it might be good code.

Lines of code

Same as above.

igeligel avatar May 01 '18 16:05 igeligel