Live data from Hacker News

Node.js Fundamentals: Web Server Without Dependencies

blog.bloomca.me

1–10 of 44 posts

Re: Node.js Fundamentals: Web Server Without Dependencies

#8
post #3
post #2

But can it left pad a string?

JavaScript has come a long way in recent years, but the lack of a comprehensive standard library is still absolutely mind boggling.

This is really pretty sad. A standard library is paramount to a stable and easy to develop ecosystem.

Re: Node.js Fundamentals: Web Server Without Dependencies

#9
post #3

Earlier quoted context omitted.

JavaScript has come a long way in recent years, but the lack of a comprehensive standard library is still absolutely mind boggling.

This is really pretty sad. A standard library is paramount to a stable and easy to develop ecosystem.

It may be, but this is a weird thread to bring that up since Javascript has padStart, and TFA is about building a web server with only the standard library.

Re: Node.js Fundamentals: Web Server Without Dependencies

#10
post #3
post #2

But can it left pad a string?

JavaScript has come a long way in recent years, but the lack of a comprehensive standard library is still absolutely mind boggling.

JavaScript's standard library has a fair amount.

Not Python levels of completeness, but near Java levels.

The parent's example is String.prototype.padStart() [1]

[1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Post reply on HN