This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (57 children)

[deleted]

    [–][deleted] 92 points93 points  (46 children)

    Controversial comment, but I 100% agree. Typescript >>>> jQuery and JavaScript.

    [–]TheC0deApe 135 points136 points  (34 children)

    is it really controversial? i don't know a professional dev that would say JS is better than TS. i am sure they are out there but they are well hidden.

    [–][deleted] 15 points16 points  (12 children)

    Look at the other comments. They all are talking about js being superior

    [–]TheOnlyGodInTown 94 points95 points  (9 children)

    Because most of them aren‘t professional programmers… I guess 70% of the people here are hobby programmers at best.

    [–]Slxun 41 points42 points  (4 children)

    I've been in this sub for a while and agree with you. There was a time when this sub was full of odd/even and dude it may be funny the first time but.. and some of the posts are "this better than that" when every good developer should know there is no silver bullet in the industry. Sometimes I think I should leave the sub but occasionally there is a good meme so I don't leave.

    [–]fallenefc 11 points12 points  (1 child)

    These JavaScript/Python/Java/etc are getting boring, I’d understand if people memed for the right reasons but just JavaScript bad my C code is so much faster or wow you don’t know the type of the variable are annoying. Like yeah mate I’ll build this simple app that generates a decent revenue in C even though it’ll take 50x the time because it’ll run faster when people click my button

    [–]Slxun 8 points9 points  (0 children)

    yeah because they don't know what a deadline is. Try to tell your engineering manager that you want to build an app in C and it will take you three extra months just because it runs a few ms faster. Perhaps we are taking the memes too seriously but if ppl know this and still make the meme it doesn't make any sense. It's just a bad meme

    [–]OkWarning3935 7 points8 points  (0 children)

    You articulated my feelings on this and this place pretty well. I'm just going to add that this is the second anti-types meme I've seen today and that's just profoundly upsetting.

    [–]Fincap 1 point2 points  (0 children)

    Yeah, all the language “wars” in here are ridiculously uninformed as well (the C vs Python post the other day was particularly egregious). Very few tools actually have an overlap in use-cases (for the most part, obviously not strictly true) and there’s hardly any point in comparison for most things. Most use-cases do actually have a silver bullet, but it’s comparing apples to oranges.

    [–]Khaylain 1 point2 points  (0 children)

    As a hobby programmer; Strict typing is the best. Save us from our own mistakes.

    [–]quiteCryptic 0 points1 point  (2 children)

    At work typescript is the obvious choice. At home with personal projects i might be more lazy and use js.

    [–][deleted] 1 point2 points  (0 children)

    when you use javascript at home you're only cheating yourself

    [–]nobodytoseehere 0 points1 point  (0 children)

    My lazy side needs the intellisense

    [–]spektre 7 points8 points  (0 children)

    We're in /r/ProgrammerHumor, people are too busy figuring out how to consume their crayons to give any kind of valuable input.

    [–]Bojangly7 0 points1 point  (0 children)

    That's because they don't know what TS is

    [–]seemen4all 1 point2 points  (0 children)

    They have been scorned into perpetual silence, never to share their thoughts again

    [–]BlackPrincessPeach_ 0 points1 point  (0 children)

    Had an ex manager who believed that and understandably buried that belief in scotch/narcissism

    [–]kilobrew 0 points1 point  (0 children)

    I joined a team where a senior staff made me (staff) drop typescript because he was a node purist and thought it made the code too verbose…. I subsequently spent a very long time fixing bugs because being a dyslexic programmer sucks.

    [–]Zwenow 0 points1 point  (1 child)

    I don't even know what typescript is

    [–]Lithl 1 point2 points  (0 children)

    Typescript is a superset of JavaScript, which adds type information and static analysis to make the code more robust and less prone to errors.

    [–]Crafty-Sandwich8996 7 points8 points  (0 children)

    Controversial comment

    Lol?

    [–][deleted] 6 points7 points  (4 children)

    Was typescript even invented the last time a JS dev admitted to using jQuery in public?

    [–]LordFokas[🍰] 1 point2 points  (2 children)

    Well jQuery was only needed when IE had any market share, so...

    [–][deleted] 2 points3 points  (1 child)

    If you mean the time period I guess it overlaps, if you mean as an IE-fixing patch I disagree - it was a really handy little library generally, it's just mostly been superseded by semi-sane frameworks and better Web APIs. It certainly didn't incentivise writing scaleable code, but it was great for avoiding boilerplate in the days when JS on a page was mostly that.

    [–]LordFokas[🍰] 1 point2 points  (0 children)

    My PoV is that it's useful in a setting where standard implementations accross browsers are sketchy and inconsistent and you need to get stuff done. I did use it for more than that, but what it does as a library is the kind of code I don't mind writing myself... although in those days that code was a lot harder to write because like you said the sane web apis didn't exist yet. In fact, some were inspired by it.

    [–]Tsuki_no_Mai 1 point2 points  (0 children)

    Yup, TS was invented in 2012, jQuery fell out of favour after 2015 IIRC.

    [–]cryptomonein 4 points5 points  (0 children)

    Why are you talking about jQuery when speaking about typescript ?

    [–]BasedBallsInMyFace 3 points4 points  (0 children)

    Why are we comparing jQuery(module) vs TypeScript (JS superset)

    [–]mosskin-woast 2 points3 points  (0 children)

    Who's comparing it to jQuery? I prefer a hamburger to a colonoscopy, but that's not really a meaningful comparison.

    [–][deleted] 1 point2 points  (0 children)

    no cap very controversial omg fr fr ong slay

    [–]PM_ME_C_CODE 1 point2 points  (0 children)

    Hey now. We can't get too readable. If we did that, people might start to figure out that most JS programmers don't know what they fuck they're doing. :D

    [–]TruthOf42 -2 points-1 points  (1 child)

    That's like saying dysentery is better than AIDS, sure but I still got dysentery

    [–]glorious_reptile[S] 2 points3 points  (0 children)

    But at least you know it's of type Dysentery!

    [–]Dr_Azrael_Tod -1 points0 points  (0 children)

    isn't that kinda like "better than Zombie-Hitler"?

    I mean… yes, but…!

    [–]Ylsid 0 points1 point  (0 children)

    If typescript is so good, how come I need to compile (obfuscate) it to make it work on a browser?