Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  Language                     files          blank        comment           code
  -------------------------------------------------------------------------------
  JavaScript                     142          54627          91825         243672
  CSS                              9            790            238           5908
  HTML                             2             10              1             43
  -------------------------------------------------------------------------------
  SUM:                           153          55427          92064         249623
  -------------------------------------------------------------------------------
without the demoData dir. that's nuts


That seems reasonable for a full-featured spreadsheet. If you think it can be done in 10k with all the features, go for it.


Excel has 30 million lines of code, now that's nuts.


This may not be the most concise possible code base, but there's no way to build something like this with a thin layer of code on top of a browser. I can't imagine any similar level of functionality with a size that's a lower order of magnitude than this.


Maybe there is:

1. Hire Chuck Moore to write a spreadsheet in Forth.

2. Hire Fabrice Bellard to write tiny Forth interpreter in Javascript.

tada.


It's closer to 90k lines of JS if you exclude data and external libs, those directories: data locale demoData expendPlugins/chart plugins


Ah good catch. A little more reasonable for a 1-person project then.


Looks like there's a lot of vendored code in src/expendPlugins/chart—maybe that's the source of some of that?


Chart is MIT license




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: