-28 points

Fuck typescript.

permalink
report
reply
18 points

(30,27): error TS7006: Parameter 'fuck' implicitly has an 'any' type.

permalink
report
parent
reply
4 points
Error: Cannot read properties of undefined (reading 'fuck')
permalink
report
parent
reply
34 points

I dunno, Typescript can be nice at times but it always feels like I’m bolting on something that doesn’t belong on top.

I’ll still use it for now. Not sure JSDoc is as adequate for an enterprise app for me. I know Svelte and stuff do, but I’ll wait and see.

permalink
report
reply
3 points

All the stuff I write is personal tools anyways so I do the same. They’re small anyways.

permalink
report
reply
41 points

Typescript is great for catching long standing bugs in old legacy JS.

permalink
report
reply
12 points

Just use Kotlin to write your JS/TS

permalink
report
reply
11 points

the fuck? TIL

permalink
report
parent
reply
2 points

Best place to learn it?

permalink
report
parent
reply
3 points

Kotlin Koans is a good hands on intro, especially if you’re already familiar with Java.

permalink
report
parent
reply
2 points
4 points

You can also do this with dart. I swear there was another “new” language which could also be compiled to JS as well.

permalink
report
parent
reply
8 points

There are a lot of programming languages that compile down to JavaScript. I used to be big into Dart, but lost interest when they became solely focused on Flutter.

I personally like using Haxe as it compiles to actual readable JavaScript (and, for fun, a bunch of other languages).

permalink
report
parent
reply
2 points
*

Scala can also compile to JS.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 7.2K

    Monthly active users

  • 954

    Posts

  • 36K

    Comments