5

+++ THEY ARE WRITING TYPE DEFINITIONS +++

THEY ARE UNDOGGING THEMSELVES. THIS IS NOT A DRILL: THEY ARE LEARNING SOME GOOD FUCKING PRACTICES

Comments
  • 5
    Admittedly, this is not the most useful documentation BUT IT IS THERE
  • 9
    Why is everything a string?
    I can see 5 things that could be not strings.
  • 9
    @C0D4 I noticed it as well. If everything is a string, it’s not types. It’s a goddamn dictionary.
  • 4
    man javascript has changed a lot
  • 3
    Someone really likes strings
  • 3
    available: 'yes' | 'no'
    (it could’ve been a union type 😂)
  • 3
    Do they just mumbo jambo case styles for fun?
  • 7
    @C0D4 reminds me of a guy I talked with that stored survey answers in a string in a MySQL column.

    Ex: ‘0_0_1_0’
    For when a single choice question had 4 answers. For multiple choice you could have more 1s of course.
    I have no idea how he queried or got reports out of that.
  • 1
    @supernova777 i know i was being ironic
  • 5
    now imagine a programming language where it's _impossible_ not to write type definitions, and where you can actually rely on them...

    also: seems this is only "stringly typed" and therefore bullshit.
  • 4
    Y'all are too negative, give them time. We are preventing typo, and that's a step forward already.
  • 3
    If everything is a string, nothing is a string.
  • 8
    @tosensei I think it is possible in every language to not write type definitions. You can use the most generic type like any, Object, etc., depending on the language.

    Of course this would be absolutely retarded. As retarded as languages which work that way by default.
  • 1
    @Lensflare in c++ all my members are just byte[4096]. If you can’t fit your data into that, it’s not my fuckin problem.
  • 1
Add Comment