5 ms·
If you haven't looked the source, and therefore don't know what it does or how long it is, how can you know whether it would be the same length translated into
by pg 15y ago
If you haven't looked the source, and therefore don't know what it does or how long it is, how can you know whether it would be the same length translated into other languages?
- o1iver 15y agoHe can't, so he is just making an assumption (whether from experience or not, who knows). But I would be interested in some information about the HN codebase... Is it shorter? Less error-prone? Simpler?
- noblethrasher 15y agohttps://github.com/nex3/arc/blob/master/news.arc https://github.com/nex3/arc/blob/master/news.arc
- thiefmaster 15y agoLines of code is probably the wrong term for me to use. Since it's bogus. (Depends on how much the language provides, libraries, etc and doesn't necessarily capture program complexity). A more accurate term would be "Required programming effort". Would you agree that it would take a similar amount of effort for a proficient PHP programmer to write HN, as a proficient Lisp programmer etc? FWIW, I have just looked at the source and IMHO I'd expect it to be extremely similar in PHP/other languages.