John Flockton
banner
thegreatercurve.com
John Flockton
@thegreatercurve.com
software engineer @meta. working on mobile tooling. side interest in browsers and JS compilers.
Reading about how different TV channels covered the first moon landing:
July 1, 2025 at 5:21 PM
Brilliant piece of UX from @monzo.com if you open the app whilst on the phone to a potential scammer:
May 31, 2025 at 10:39 AM
Me too Safari codebase, me too:
December 18, 2024 at 11:55 AM
You sort of forget about it as everyone just relies on date utility libraries nowadays.

Only had a brief look into Temporal but the API seems much more intuitive. It's got to be better than this at least:
November 23, 2024 at 4:31 PM
TIL, months are zero-indexed in the JavaScript Date class (but not years or days):

#javascript #typescript
November 23, 2024 at 4:05 PM
Pro-tip: Semicolons are a viable alternative to tabs and spaces in JavaScript.

#javascript
November 17, 2024 at 5:22 PM
Freshly delivered
November 14, 2024 at 9:23 PM
TIL In JavaScript, assignment expressions can be nested in arrays.

#typescript #javascript #frontend #react
November 14, 2024 at 11:36 AM
Fun fact, in JavaScript `enum` has been a keyword since the language was formalized in 1997, even though they have yet to be implemented in the language.

Additionally, if you use it as an identifier, you'll get a reserved word syntax error:

#javascript #webdev
November 8, 2024 at 11:33 PM