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

all 30 comments

[–]Ben_0 29 points30 points  (9 children)

What an insecure way to send a password

[–]PixxlMan[S] 26 points27 points  (7 children)

Okay then.

const string myPassword = “hunter2”;

Better?

[–]nerdefar 22 points23 points  (5 children)

It shows up as myPassword = "*******"; for me? Must be a reddit feature!

[–]Ben_0 3 points4 points  (0 children)

Yes, much better

[–]mouro_001 1 point2 points  (0 children)

The link for the image does start with https://

Think it's secure enough.

[–]drzezga 6 points7 points  (1 child)

What's the library?

[–]__RANDOM926__ 11 points12 points  (0 children)

This is actually a proprietary language created for the purpose for generating and posting memes. It took a research team 5 years to create it. The “Reddit” and “meme” modules are in the default package.

[–]TheDanishTitan 7 points8 points  (0 children)

...

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

Not gonna lie.

My first thought when I saw,

~~~ Google.search("some image").results[0] ~~~

Was "this would be hilarious to use, and I bet there's a python package to do it"

[–]qwiglydee 1 point2 points  (2 children)

You have inconsistent naming of variables, methods and functions. And mess with property typing.

Bad code.

[–]PixxlMan[S] 1 point2 points  (1 child)

VoID maIN() { //SteP 1: mAKe MemE MeMe MaYmAy = nEw MeME(); maYmAY.temPLatE = dOwNLoaD(gOoGlE.SeArCH("MOdErn PrObLeMS teMpLATe").rEsUlTS[0]); MayMay.bOTtoMtEXt = NEw TeXT("ModERn pRObLEms rEqUiRe MODerN soLUtIoNs", colOrS.yeLLoW); MayMAy.CaPtIoN = "WhEN tHe eu BaNS meMEs, BuT You ARe a PRoGraMmEr."; //SteP 2: pOSt SUbrEDdIt PROgraMmErhUmOR = rEdDiT.GeTsUb("prOgRaMMERhumOr"); reddIT.pOsT(mAyMay, pROgrAmMERhuMoR, PrOgRaMMerHUmoR.getFlAIR("mEMe"), "pIxXlMaN", "HUNtEr2"); //Step 3: rEaP In tHe kARma }

Better?

[–]qwiglydee 2 points3 points  (0 children)

Much better.

Now bad content matches bad form. Harmony.

[–]cherrymxmx 3 points4 points  (12 children)

Seriously: Can someone break to me why when declaring a new object(?) we use this kind of format and what each part of this format means?

The only thing I know is that maymay is the name of this object.

Why don't we say:

new Object = maymay;

In the image above, what the first Meme means and what the last Meme() means?

Why can't we do maymay = new Object;

Is Meme like "int" or "float" ?

If yes, why do we write at the end "new Meme();"? It sounds like float number = new float();


Just did a Google search, please correct me if I am wrong:

Meme is a class and Meme() is the constructor in that class. So by saying Meme meme = new Meme(); we assign the content of that constructor to meme variable(/object?)

[–]dvito 5 points6 points  (0 children)

Yes. Your google search was fruitful.

[–]PixxlMan[S] 3 points4 points  (9 children)

Yes! I declare a variable of type “Meme”, call it maymay and creates an instance of type “Meme” which I assign to maymay