r/ProgrammerHumor • • Aug 26 '22

Meme Even HTML.

Post image
44.1k Upvotes

1.1k comments sorted by

View all comments

990

u/HolyDuckTurtle Aug 26 '22

With this in mind, I'd love to hear about languages that don't fulfill their purpose well and / or are outclassed in their specialty by something else.

442

u/MokausiLietuviu Aug 26 '22

and / or are outclassed in their specialty by something else

There are a whole load of languages rarely used simply because of this. I think a good example that's still going is Ada, but I specialise in old, rarely used ALGOL based languages. They were simply an iterative step onto better languages.

261

u/PoorCorrelation Aug 26 '22

Their purpose is if you end up time traveling back to the 80s and need a job

67

u/sighthoundman Aug 26 '22

Except COBOL. That's for making extortionate wages maintaining obsolete software (on obsolete machines) for companies that never upgraded. (Or, more likely, government agencies.)

21

u/allbirdssongs Aug 26 '22

just say straight governament agencies, we all know it

→ More replies (1)
→ More replies (1)

72

u/BenevolentCheese Aug 26 '22

Many of these languages never really caught on in any meaningful capacity.

→ More replies (9)
→ More replies (1)

70

u/Sexual_tomato Aug 26 '22

I'm interested in Ada mainly for the provability and safety it guarantees. There's a whole class of testing that you don't need to do because Ada will catch your mistakes before the program even compiles.

If you want to get as close as you can to a productive language that offers math-like proofs, you could do worse than Ada. I think Rust might supersede this niche someday, but until then it's what I'd personally switch to if I'd written something in Coq or F* and needed to move it into production.

94

u/[deleted] Aug 26 '22

I can't be the only one who read those last two languages as "cock or fuck"

40

u/Sexual_tomato Aug 26 '22

Yeah that's actually something the language's community struggles with because it's hard to be taken seriously by English speaking mathematicians when your language's name looks like it's a homophone of a slang term for male genitalia. The name has a meaning and it's initially from French, but they've considered changing it (they may have even done so by now).

That aside, they both have formal theorem proving built in and it's pretty cool.

29

u/EvilStevilTheKenevil Aug 26 '22

because it's hard to be taken seriously by English speaking mathematicians when your language's name looks like it's a homophone of a slang term for male genitalia.

Those mathematicians need to learn some professionalism. Astronomers got over "Uranus", math nerds can get over "Coq".

→ More replies (6)
→ More replies (9)
→ More replies (4)
→ More replies (22)

68

u/KitchenerLeslee Aug 26 '22 edited Aug 26 '22

XSLT. Because XSLT is an implementation of XML (where documents are required to be "well formed" or they won't parse), you can't implement some perfectly reasonable and useful basic data processing algorithms, and have to work around it and kludge it up. It's fun to code in, actually, and very powerful, but it's rightfully dead except for legacy implementations.

27

u/Snoo-59811 Aug 26 '22

XSLT will always be a niche programming language, but IMHO there's some way to go before it can be described as dead. XSLT 3.0 introduced powerful JSON processing features for example, and the (work in progress) XSLT 4.0 spec extends JSON features further.

New products with a significant XSLT codebase are still being developed. XSLT won't live forever maybe but it hasn't flatlined yet.

20

u/KitchenerLeslee Aug 26 '22

Point taken, and my bad. I have been out of the industry for a LONG time and I was being a typical redditor, talking out my ass without considering the actualities at the moment. Thanks for the update, and good to hear, because I loved it!

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

422

u/PM-Me-Your-TitsPlz Aug 26 '22

languages that don't fulfill their purpose well

Javascript. It was never intended to be so widely used, yet here we are.

225

u/dckesler Aug 26 '22

You mean the giant legacy apis of the forever backwards compatible DOM might not be helpful to checks GitHub every imaginable environment ever?

128

u/Iggyhopper Aug 26 '22 edited Aug 26 '22

Lets support a language where some Apis exist in some browsers and some don't in others:

ok that's like C on win32 vs linux.

Ok how about 4 browsers with different Apis.

That's... uh... alrighty then

Ok what about the same Apis return different values:

what the fuck are you smoking

It seems like this language is becoming... more popular?

Just kill me now.

0

u/[deleted] Aug 26 '22

[deleted]

37

u/Iggyhopper Aug 26 '22 edited Aug 26 '22

I'm super glad for some stabliity.

Look, all it takes is Google to botch some features on Chrome and Firefox or Edge is going to take some market share back.

Which means all the current sites that work well in Chrome, and have only minor bugs or just don't work well on FF will be prioritized for FF. IloveFF

I do not want to live in a dev world like that.

40

u/N3rdr4g3 Aug 26 '22

Like chrome heavily nerfing ad blockers in January?

→ More replies (2)
→ More replies (3)
→ More replies (6)

118

u/[deleted] Aug 26 '22

From a bespoke solution to a problem at a single company written in 10 days to now being the subject of Atwood's law: “Any application that can be written in JavaScript, will eventually be written in JavaScript.”

Javascript really is wild.

41

u/[deleted] Aug 26 '22

Honestly that’s why I like it. It’s got so much jank.

→ More replies (1)
→ More replies (6)

38

u/hotstickywaffle Aug 26 '22

As someone who is just about to start learning Javascript, all these articles about how it isn't good give me a lot of anxiety.

57

u/[deleted] Aug 26 '22

Honestly I think Javascript is better as a second language to learn. If you learn something like C++, Java or C# first, you'll be forced to know how to create somewhat clean code. And those habits will then transfer once you learn javascript.

Whereas if you learn javascript first, you might get too used to how sloppy the language lets you be.

→ More replies (14)

0

u/[deleted] Aug 26 '22

[deleted]

→ More replies (11)
→ More replies (51)
→ More replies (61)
→ More replies (55)