Theory.js

Languages and libraries

javascript library

SHOW HN2013

28points
25comments
#817of 1,739 in 2013
Top 47%of 2013 by points

How HN took it

DebatedReal support and real criticism

5 positive, 3 neutral or asking, 0 mixed, 5 critical, out of 13 comments about the project. Thread score -0.13.

Design: 3 for, 4 againstIdea: 1 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Type-checking and readable 'is' API ideas

    From 2 comments
    • I would buy is(myVariable).text within a second. Why calling two functions?
      noiv on HN
    • Great, that's very readable. Now someone needs to allow .text? to indicate the predicate without 'invalid token ?' :)
      noiv on HN

Objections

  • Non-standard choices like 1-indexed arrays break JS conventions

    From 2 comments
    • You realize, I assume, that you're making a lot of quixotic choices in this library, many of which appear to be different for personal (and, in some cases, I would say dubious)…
      curveship on HN
    • I was enthusiastic until I got to the part about 1-indexed arrays.
      crsmithdev on HN
  • Maker's own NIH-style reasoning for not using existing libraries

    From 1 comment
    • That sounds a lot like the definition of NIH attitude. You might like lodash.js if cross-browser consistency is your true goal.
      curveship on HN
  • Cross-browser normalization goal seen as overly ambitious

    From 1 comment
    • ``` "a reliable yet tiny library (at 7KB gzipped) that would normalize everything so any code written would literally work everywhere" ``` I felt the same way about needing to…
      solox3 on HN

Requests

  • Suggested a more readable type-check API like is(x).text()

    From 2 comments
    • I realize this is a nitpick, but the use of "is" after the various types is very counter intuitive. Suppose I'm thinking, "hmm, is this text?" or "is this a number?" To do this…
      superqd on HN
    • I would buy is(myVariable).text within a second. Why calling two functions?
      noiv on HN
  • Clarify the destination of the project

    From 1 comment

Questions

  • Does it support do-while loops?

    From 1 comment
  • Is the tactile-spatial language meant literally?

    From 1 comment
    • >I eventually hope to create a tactile-spatial programming language with it. Do you mean that figuratively or literally? I can't tell if you're working towards some super OOP…
      kipple on HN

Alternatives named

  • underscore.js

    From 1 comment
    • You realize, I assume, that you're making a lot of quixotic choices in this library, many of which appear to be different for personal (and, in some cases, I would say dubious)…
      curveship on HN
  • lodash.js

    From 1 comment
    • That sounds a lot like the definition of NIH attitude. You might like lodash.js if cross-browser consistency is your true goal.
      curveship on HN
  • jQuery

    From 1 comment
    • Yes, it is the base for a lot more. Unfortunately I have tried and used countless other libraries for the last 3 years, and they always wind up breaking - in fact even underscore…
      marknadal on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/6251108)