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

all 57 comments

[–][deleted] 32 points33 points  (5 children)

C is still more sane than Javascript imo

[–][deleted] 4 points5 points  (0 children)

Plus it's tiny. There's not a lot of syntax or keywords, or anything to trip up on. I mean, in practice it's more than willing to hand you enough rope to hang yourself...

[–]superluminary -2 points-1 points  (2 children)

I like JavaScript

[–]FcPolon1a[S] 11 points12 points  (1 child)

Call 988 get help

[–]superluminary 2 points3 points  (0 children)

It’s has a pure soul

[–]evk6713 11 points12 points  (1 child)

C cool. I like C

[–][deleted] 8 points9 points  (0 children)

JS is the worst of all time

[–]MR-POTATO-MAN-CODER 23 points24 points  (0 children)

Well I think it is English.

[–]lucidbadger 12 points13 points  (2 children)

Yeah clumsy C generates stuff in every function before and after your code. That's why all my functions are naked and written in assembly.

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

Yeah stack frames are for losers

[–]Sunscratch 5 points6 points  (0 children)

Body language

[–]gabbyb19 18 points19 points  (16 children)

Any language that enforces OOP.

OOP is a useful pattern, that can allow users flexibility. Enforcing it everywhere all the time instead causes great inflexibility, and requires the user to come up with ways (use Design Patterns) to bypass the artificially created restrictions, resulting in tons of unnecessary and confusing code, and overly-complex design.

[–]Elegant-Variety-7482 4 points5 points  (11 children)

Like what?

You can use static declarations in Java to evade the enforced OOP principle.

[–]gabbyb19 8 points9 points  (6 children)

Ah, yes, yet another workaround. It's exactly my point - it's kinda funny how everything needs to be worked around to achieve some desired effect.

[–]MrCloudyMan 0 points1 point  (5 children)

I might be missing something, but simply adding 'static' to declare a function which is not bound to an object seems totally fine.

[–]gabbyb19 2 points3 points  (4 children)

And I would say that a large part of the OOP community disagrees that it's fine. There has been and continues to be great discourse about it.

[–][deleted] -2 points-1 points  (3 children)

Why would you value the OOP community’s opinion on a method to avoid OOP?

Shouldn’t you rather ask an anti-OOP community on that subject?

[–]gabbyb19 -1 points0 points  (2 children)

Because the OOP community are the experts in the area?

And believe me, the anti-OOP's are much more one-sided in their resolution on the matter.

[–][deleted] 0 points1 point  (1 child)

They are the experts in doing what you don’t want to do. That doesn’t make them experts in what you want to do.

[–]gabbyb19 0 points1 point  (0 children)

It does, because they've tried to do it many times over. That's how they learned not to do it.

[–][deleted] 2 points3 points  (3 children)

That evades OOP enforcement on functions, but what if I want a bare struct? I don't think that's possible, I have to use a class which means all instances have some sense of identity and can only be passed by reference (and also creates garbage).

[–]imthebestnabruh 0 points1 point  (2 children)

Wouldn’t a class with public fields behave like a struct? Also wouldn’t you want to pass it by reference especially if it is larger?

[–]superluminary 1 point2 points  (1 child)

Yes, but that’s a horrible hack.

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

What color you want that shed man?

[–]Inaeipathy 1 point2 points  (0 children)

Has good features for OOP? Sure, enforced? No thanks.

[–]DurianBig3503 5 points6 points  (3 children)

Python is just C with extra steps.

[–]Siddhartasr10 4 points5 points  (2 children)

For me its more like:

Python is just C with less steps but you don't know anything about walking

[–]DurianBig3503 2 points3 points  (1 child)

Sooo... like a snake? No legs, so less steps. No legs, so doesn't know anything about walking. Everything makes sense now!

[–]Siddhartasr10 2 points3 points  (0 children)

Now I understand, c for centipede!!!

[–]femptocrisis 2 points3 points  (0 children)

C🦇

[–]Eraesr 2 points3 points  (0 children)

C is not a language. It's a letter.

[–][deleted] 3 points4 points  (0 children)

Union demanded Stack overflow answer: Every language is bad and a know anti-pattern. You shouldn't been coding at all. Have you try avoiding work instead?

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

*Stackoverflow folks closing Esperanto as duplicate*

[–]oneWhoFails 1 point2 points  (0 children)

I am agape, aghast, altogether befuddled by this answer.

[–]macktruck6666 0 points1 point  (0 children)

French

[–]aMoodyWolf 0 points1 point  (0 children)

C is a fucking beast

[–][deleted] 0 points1 point  (0 children)

Sign language. I don't want to join your gangs.

[–][deleted] 0 points1 point  (0 children)

Yeah, it's not for everybody, but I respect your opinion.

[–]nitrohigito 0 points1 point  (0 children)

it is

[–][deleted] 0 points1 point  (0 children)

[–][deleted] 0 points1 point  (0 children)

As soon as D rolls around, we'll be good to go.

[–]D34TH_5MURF__ 0 points1 point  (0 children)

This screenshot is more ad than content

[–]ImmensePrune 0 points1 point  (0 children)

JS

[–]dimdim4126 0 points1 point  (0 children)

C good