r/ProgrammerHumor • • Apr 08 '22

First time posting here wow

Post image
55.1k Upvotes

2.8k comments sorted by

View all comments

Show parent comments

179

u/gizamo Apr 08 '22 edited Feb 25 '24

foolish scarce dam resolute instinctive overconfident fretful plucky snow frightening

This post was mass deleted and anonymized with Redact

63

u/[deleted] Apr 08 '22

I hate TS and C++

Together we're unstoppable

0

u/[deleted] Apr 08 '22

[deleted]

15

u/[deleted] Apr 08 '22

This might sound odd, but for me it doesn't feel like a real language but more of a hack. I mean from how you compile and micromanage it, maintain and install type support for packages and libraries you use, modify and support how it runs in test suites and ci pipelines, plus the fact that it's type checking doesn't go far and you can still have your application end up in weird states because it complies back to JavaScript as the first step

7

u/MoffKalast Apr 08 '22

Well yeah it's a fancy equivalent of writing a //this is a <insert type here> beside every variable.

→ More replies (2)

88

u/aookami Apr 08 '22

fucking TS giving me trust issues

0

u/[deleted] Apr 08 '22

[deleted]

43

u/TheGreatGameDini Apr 08 '22

But they have, with TS, which is JS but with extra steps..

40

u/QCKS1 Apr 08 '22

The extra steps are the good part tho

2

u/CardboardJ Apr 08 '22

Like someone throwing trash in a cesspool of shit so you don't get poo on your shoes while walking across.

→ More replies (17)

8

u/Kuroseroo Apr 08 '22

TS is JS, but JS isnt TS

→ More replies (12)
→ More replies (3)
→ More replies (2)

0

u/[deleted] Apr 08 '22

[deleted]

2

u/gizamo Apr 08 '22

I added the 2nd sentence for that caveat.

I love it like I loved my dad. My dad beat me a lot.

13

u/marcosdumay Apr 08 '22

I don't hate the languages that I refuse to use. I just snob them.

I only hate the languages that I like.

7

u/theLanguageSprite Apr 08 '22

The rule is you either hate yourself or you hate the language. If you code in python you hate the language because it’s slow, but if you code in c++ you hate yourself for spending five hours looking for the segfault or memory leak

1

u/Qildain Apr 08 '22

Wait... I thought Python (by virtue of its libraries) was fast. Now I'm confused.

Also... don't compile with gcc on the commandline and you'll have a lot less issues with seg faults.

Also, memory management sounds more like C than C++. That's not to say C++won't let you shoot yourself in the foot.

4

u/Jiklim Apr 08 '22

As someone who’s only experience with C++ was a comp sci class, I only know how to compile with gcc on the command line, it’s what we were taught lol. What’s the problem/alternative?

2

u/Qildain Apr 08 '22

Most IDEs will show compile time errors with some contextual info on how to fix them.

2

u/Jiklim Apr 09 '22

yeah lol we used Vim and didn’t even have syntax highlighting

2

u/Qildain Apr 09 '22

Been there, done that, but it always seemed like intentional abuse by the TAs

→ More replies (1)

6

u/LavenderDay3544 Apr 08 '22 edited Apr 08 '22

I hate C++ but I hate Python and Java way more.

2

u/TheBigerGamer Apr 08 '22

I do hate TS in some ways. Specially when composite types. TS refuses to do type checking and every check I used was of no avail.

Also it requires a lot of useless steps in order to make code work.

→ More replies (1)

2

u/SmurphsLaw Apr 08 '22

Typescript annoys me. The types are just a “suggestion”. I always get tripped up by two numbers that are 1s not being equal because one is somehow a string.

→ More replies (3)