Live data from Hacker News

Viewing profile — saguiar

saguiar

HN member
Joined
Mon, Sep 05, 2016, 7:48 PM UTC
HN karma
4
Public activity
5 items

About saguiar

No profile information was provided.

Recent public activity

  1. comment
    Comment #14035081

    Agreed it has been abused. On the other hand, if you adhere to a computational theory of mind and see the mind as computation over a formal system, then it is saying something abou…

  2. comment
    Comment #12541876

    > What I really miss is the ability to say that what is the return type of the method Agreed! There's an open issue that addresses that scenario (and a ton of others): https://gith…

  3. comment
    Comment #12541231

    I've been using discriminated unions on TS 2 to do this, and works quite well. Example: const INCREMENT: "increment" = "increment"; const DECREMENT: "decrement" = "decrement"; inte…

  4. comment
    Comment #12432101

    Thanks, it does make more sense now.

  5. comment
    Comment #12431932

    The odd thing is that they are not using three: public connectorsEnabled(enabled: boolean): this; public connectorsEnabled(): boolean; public connectorsEnabled(enabled?: boolean): …