TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Typy – type checking library for JavaScript with a 'sweeter' syntax

1 pointsby flexdineshover 7 years ago

1 comment

joncampbelldevover 7 years ago
For the nested object traversal, is there a reason this uses string based paths instead of array based? Dynamic path building via string concatenation feels messy.<p>Seems like there may be a performance hit too with all the string operations inside &#x27;utils&#x2F;getNestedObject&#x27;. Probably not an issue for messing around in small amounts of data, but using this to manipulate a big server response could run into issues.