/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

www.justjeb.com
| | blog.jcoglan.com

[AI summary] This technical article explores the challenges and solutions for implementing strict named argument semantics in JavaScript, comparing approaches from Ruby and Python, and detailing how TypeScript's type system and runtime checks like Object.keys() can enforce required fields and reject unwanted options while handling prototype pollution risks.
21.2 parsecs

Travel
| |
| | chaosinmotion.com

I just read the following article: Stop Using Function Parameters Now. It was an article which called for using a Javascript feature for passing parameters, which in a language like Swift could be done using default parameter assignments and named fields. Here's the example: // Recieves a name and returns a greeting message // Typescript...
4.2 parsecs

Travel
| |
| | siderite.dev

Javascript has evolved past simple methods returning arrays
20.0 parsecs

Travel
| |
| | sreekar.ch

But first What is functional programming Functional programming is a programming paradigm in which most computation is treated as evaluation of functions. It emphasizes on expression evaluation instead of command execution. Wikipedia When did it all start In the 90s, there was a war between declarative programming and imperative programming. Declarative programming then represented by logic programming languages like Prolog and early functional languages like Erlang. And imperative languages were r...
43.4 parsecs

Travel
|