this post was submitted on 14 Aug 2023
593 points (92.7% liked)

Programmer Humor

31260 readers
754 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 29 points 10 months ago (3 children)
[โ€“] [email protected] 10 points 10 months ago (1 children)
[โ€“] [email protected] 8 points 10 months ago (1 children)
[โ€“] [email protected] 6 points 10 months ago (1 children)
[โ€“] [email protected] 7 points 10 months ago (1 children)

๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘

[โ€“] [email protected] 2 points 10 months ago (1 children)

๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘

[โ€“] [email protected] 0 points 10 months ago

Little diddy bout Jack and Diane

[โ€“] [email protected] 7 points 10 months ago

The real question is since when CSS is good?

[โ€“] [email protected] 0 points 10 months ago (1 children)

ITs NoT StRoNgLy TyPeD aNd Is ThErEfOrE gArBaGe

[โ€“] [email protected] 0 points 10 months ago (2 children)

Give me one advantage of language that isn't strongly typed

[โ€“] [email protected] 2 points 10 months ago* (last edited 10 months ago)

Fluent polymorphism via duck typing. It's useful when you're treating objects as a collection of properties, and therefore it's not their type that matters but which properties they have. Types can still be used to label common collections of properties but it's less painful to talk about objects that are "like an X but with/without certain properties," or where some properties themselves have a different shape, etc. This is applicable to web APIs, not just because of JSON, but because it allows to define both very rigid and very flexible schemas without much overhead or repetition. See the OpenAPI specification.

[โ€“] [email protected] 2 points 10 months ago

It's not a debate I care to have, I just think it's funny that people want to build websites but hate how websites are built.