[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


Janitor applications are now being accepted. Click here to apply.


[Advertise on 4chan]


File: IMG_5577.jpg (79 KB, 768x741)
79 KB
79 KB JPG
About to try TypeScript, what am I in for?
>>
>>106556288
JavaScript but worse
>>
>>106556288
JavaScript but better
>>
>>106556288
Javascript but the same
>>
>>106556288
JavaScript but python
>>
>>106556288
JavaScript but Types
>>
>>106556288
Javascript but compilation errors from Hell
>>
>>106557923
Better than [object undefined]
>>
>>106556288
You're about to experience a type system more powerful, expressive, encompassing and correct, than available in practically every truly statically typed language. The fact that it sits on top of JavaScript is nothing short of a cosmic joke. The forces-that-be of the universe having a profound sense of irony.

...
That and you're going to be spending a lot of time cursing about it, because some things in how it works are incredibly obnoxious to grasp properly.
>>
File: 1751467345773126.png (44 KB, 1052x1052)
44 KB
44 KB PNG
fuck typescript
>>
>>106556288
JavaScript but more typing
>>
>>106556288
It's good, fixes most of the major issues with Javascript
>>
>>106556288
Something fkn useless that lets you write perfectly working code that won't let you "compile" it to an optimized version unless you jump through it's stupid hoops.
>>
>>106556288
>what am I in for?
Argument of type 'Function' is not assignable to parameter of type '(value: any, index: number, array: any[]) => unknown'.

and other such nonsense
>>
>>106556288
If it's not something running in the browser use tsx or else you'll cry when trying to run your typescript code or just use bun or deno instead of node
>>
JavaScript but reinvented by saars
>>
>>106558059
>You're about to experience a type system more powerful, expressive, encompassing and correct, than available in practically every truly statically typed language
Not true for Haskell or even Rust.
>>
>>106559376
>JavaScript but reinvented by saars
Anders is a Nord, afaik.
>>
>>106559689
I don't care, its a Microsoft product



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.