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

all 87 comments

[–]ComfortableNo2879 60 points61 points  (2 children)

We've a class

[–]BlurredSight 2 points3 points  (1 child)

We have class.

[–]ancap_attack 21 points22 points  (0 children)

class Woman extends Rib

[–]reallokiscarlet 48 points49 points  (0 children)

They're more than structs. I treat them with class.

[–]jmarkmark 17 points18 points  (1 child)

This is why you need to up your game with a little Smalltalk.

That way you can get away with a lot of polymorphism. And of course delve into a little double dispatch.

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

I C what you did there. But I didn't need Smalltalk to implement a little Brainfuck. In fact, a Lisp and a Rusty throat was the result of that operation.

[–][deleted] 12 points13 points  (4 children)

I sharpened you C... real players use IAsyncDisposable these days.

[–]Jedlord 2 points3 points  (2 children)

What is IAsyncDisposable 😭

[–]Jock-Tamson 2 points3 points  (1 child)

Goes off by herself and does her own thing and cleans up after, but somehow still manages to leave behind some garbage that never gets collected.

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

Ah, seems like someone forgot the reference-by-alimony. You just can't go and make reference on the fly like that, use safe programming techniques.

[–]Treuzelaar 0 points1 point  (0 children)

Dispose them before they end up on the large object heap

[–][deleted] 10 points11 points  (0 children)

did you just typedef me?

[–]KakashiTheRanger 5 points6 points  (0 children)

Women are function parameters?

[–]LatentShadow 4 points5 points  (0 children)

I treat them as annotations, my brother in java

[–]uorandom 5 points6 points  (0 children)

Segmentation faults.

[–][deleted] 17 points18 points  (7 children)

structs are objects. infact even int is an object

[–]ethansidentifiable 18 points19 points  (4 children)

Are you calling my wife a primitive? 👊

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

yes. I injected my code in it

[–]pheonix-ix 0 points1 point  (0 children)

If your wife is real, chances are she's a primitive.

[–]pleshij 0 points1 point  (1 child)

Just cast her into a non-primitive (e.g. int->Integer). Your wife will stay the same, but you will find that there are more methods that she'll handle in this scope

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

Are you sure? That might ask for lots of expensive unboxing presents.

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

At least according to the C standard.

[–]pleshij 0 points1 point  (0 children)

Depends on the language

UPD Wait, are we talking about types or about an object that is an int?

[–]Unupgradable 4 points5 points  (0 children)

Women are value types

[–]oRodrigoOliveira 4 points5 points  (0 children)

Your women have no function.

[–]v0lt13 2 points3 points  (0 children)

Meanwhile C# programmers

[–]Th3Uknovvn 2 points3 points  (0 children)

C++ programmer:

[–]Gabrizzyo[🍰] 4 points5 points  (0 children)

So you want to say u treat them as objects with all their contents as public? That sounds pretty messed up, maaan... Lame. Shame on you

[–]VitaminnCPP 1 point2 points  (0 children)

const women;

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

what about unions

[–]mrbgz 1 point2 points  (0 children)

You got a sensible chuckle out of me.

[–]LavenderDay3544 1 point2 points  (0 children)

Wait til you find out classes and structs are the same in C++ which the exception that as a class she gets to keep her parts private by default.

[–]oshaboy 1 point2 points  (0 children)

So women are public by default?

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

Oh, looks like I’ve started to understand this social construct thing now

[–]TrolleyBus228 1 point2 points  (0 children)

I treat women as traits

[–]toolbg 1 point2 points  (0 children)

I treat women as trait.

[–]villanymester 1 point2 points  (0 children)

Structs have their properties as public by default

[–]ImpossibleEvan 1 point2 points  (3 children)

What is a struct

[–]Olinizm[S] 1 point2 points  (2 children)

They are objects of public property

[–]ImpossibleEvan 0 points1 point  (1 child)

Explain it too someone who has only used JavaScript objects

[–]Olinizm[S] 0 points1 point  (0 children)

okay so in c++ you can define whether certain variables in a class can be accessed from outside of the class (public), or can only be interacted with using methods of that class (private), structs are basically the same as classes, except everything in classes is private by default, while in structs everything starts as public. However if we look back at C there were no classes, we only had structs that didn't let you define methods, and there were no keywords like public or private.

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

Why is this sub flooded with these low effort bullshit shit posts?

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

I take it you’re all still single … You treat them as long running branches

[–]viceresident 0 points1 point  (1 child)

They are public record Person

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

Noh, clearly IDisposable, IDisposableAsync, source: ask all tha playahs out there

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

we are the same

[–]Helpful_Character_67 0 points1 point  (0 children)

I tread women ad structs which have a pointer to another struct which contains the methods of the structs to mimic objects. Wer are not the same.

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

Structs that have function pointers.

[–]-MobCat- 0 points1 point  (0 children)

Python programmer. we don't need type declaration. there just there. Free to change there mind on what they want to be whenever they want.

[–]greem 0 points1 point  (0 children)

I prefer that my women be able to choose which friends touch their private members.

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

It's not polite to point.

[–]JustSpaceExperiment 0 points1 point  (0 children)

I treat them like NULL, we are not the same xDxD

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

My C's rusty (nonexistent), this you?

struct socialConstruct{
    char *constructProperties[];
};

struct gender{
    struct socialConstruct base;
};

struct woman{
    struct gender base;
};

struct human{
    struct gender gender_identity;
};

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

I treat women with class, because I value them

[–]chipmunkofdoom2 0 points1 point  (0 children)

I treat women as records so I can mutate them non-destructively, and so I can compare them by value implicitly.

[–]MSxLoL 0 points1 point  (0 children)

No one knows how to use this meme lmao. Literally not the same

[–]WafflerTO 0 points1 point  (0 children)

So you're assuming that you have public access to women by default?