3 ms·
Nice work, and thanks for sharing. BTW I'm not sure why other posters are attacking you for not including 3rd party library LOC counts in your LOC count. That
by javajosh 13y ago
Nice work, and thanks for sharing.
BTW I'm not sure why other posters are attacking you for not including 3rd party library LOC counts in your LOC count. That is not standard practice, and you aren't misleading anyone by not counting 3rd party libs. Some people just have to find something to complain about, I guess.
- hnriot 13y agoIt's not that people have to find something to complain about, it's just accurate. It's ridiculous to say VNC can be implemented in 200 lines of JavaScript. Of 200 lines of any language. If the third party library does low level stuff like collections, or http or whatever then they usually don't get counted, but if the majority of the functionality is in a library then it's disingenuous to not include them.
- MattJ100 13y agoCreate a new language, VNCscript, which has a single keyword, 'start'. Implement a VNC client in a single line of code :)
- malandrew 13y agoExactly. To all the posters who are making that comment, think of these "How to implement X in Y lines of code articles" as a brief introduction to the architecture of some important standardized type of software. These are like the "How things work" TV shows on TLC and the Discovery Channel, but hands on.