Attached: 1535447254508.png (590x731, 228K)
Syntactically correct
Evan Hughes
Other urls found in this thread:
jsbin.com
dwitter.net
twitter.com
Mason Brooks
akarin
Jordan Scott
>strict comparison operator
better than I expected but still
>if (condition == true)
Levi Cruz
but it's not if (condition == true)
it's if (condition == "string")
lol
Easton Foster
Based blonde.
James Brown
>implying PM is a bool
huh...so this is the power of an American """education"""
Easton Anderson
>if (condition == true)
if (condition)
Julian Peterson
let PM = "signed";
let CODING = PM ? "4 All" : null;
Andrew Sanders
>points out it's string comparison
>condition = true
the state of average Jow Forumsentoolman
John Morris
it should be though. its either signed or not
Jose Morales
Unfortunately CODING remains unused.
Jayden Anderson
PM isn't a bool
Zachary Bell
Can they really not just ask someone who knows a little programming to do these things?
Juan Reyes
do you know that? is there a comment explicitly stating that?
Caleb White
>can't access CODING outside of the if() block
Julian Thomas
based retard
Luis Nelson
got to wait for 2020
Jeremiah Green
STOP BULLYING ME
Chase Clark
PM is a string
James Butler
wtf I love trump now
Anthony Peterson
What's with normies trying to get into "coding" lately? Bloody hell they're insufferable.
Connor Price
its okay they won't make it past templates
Robert Clark
Right wing girls as Ivanka
are based and redpilled
aifu material
unlike the disgusting SJWs
Aiden Gray
The provided example is in Javascript and the language evaluates a non-empty string to true, try it yourself jsbin.com
Josiah Lewis
Right wing girls as Ivanka
are based and redpilled
*waifu material
unlike the disgusting SJWs
Jason Powell
They're checking that it equals "signed" not just that it is non-empty.
Kevin Evans
Oh I feel sort of silly now, but you guys have to excuse me it is 4:12.
Xavier Morales
>strict comparison
based and whitepilled
Jacob Long
>you guys have to excuse
never, you faggot. live the rest of your miserable life knowing I will never forgive you for what you've done here today.
Owen Jones
Why did you delete this
Josiah Jackson
Cringe
Joseph King
Did she just try to inject code into Twitter?
Jacob Ward
omg ivanka is a russian hacker
David Evans
cd ..
Chase Foster
Will CNN blame Russian Hackers this time too? :D
Andrew Jones
This only works if you change
PM = Justin
let TRUDEAU'd = SOON
Parker Davis
legit better than kode
Lucas Collins
Why the fuck is she trying to check if PM is "signed", that's what I assume she's doing by tripe =. She already declared it to be, and nothing has changed since that line.
Isaiah Campbell
somewhat impressed that ivana trump uses strict equality checking, but she could've used ternary operators
Tyler Price
Another thread could've changed it.
Anthony Robinson
This program does nothing
Jonathan Sanchez
>25 september 2017
Spot out all the trump chumps in the thread under 5 seconds, get free (You)s.
Joseph Wright
There's no multithread with javascript
Kayden Cox
for you
Liam Perez
This is bait.
Jack Evans
When you realize your computer can run more than 1 JS app at the same time
Jose Watson
which is why you fork node.js processes and use web workers
git gud fag
Wyatt Hill
good goyim
Sebastian Kelly
So if you declare with a let inside an if block it won't be accessible outside the block.
Dylan Miller
I guess it's at least more syntactically accurate than pic related
Aaron Cruz
>JS app
>app
Jacob Myers
Trying to make code monkey labour cheaper.
Jason Long
this
Robert Lopez
technically speaking it's syntactically correct assuming Tweeter and Tweet were declared previously and Gamergater and Negative were declared numeric variables and also she wrote a using namespace std; directive along with #including
Gabriel Smith
ugly indentation
Parker Scott
stop nuking syria
Kevin Turner
She uses the assignment operator instead of the comparison operator. It would not work.
Hudson Long
They're parasites and have already exhausted non-autistic shit. 10 years from now, they will have done to programming what they have done to video games today.
It's pretty easy to copy-paste in interpretive languages though.
Kayden Bell
but still compilable
Nicholas Lewis
what a retarded slavshit bitch
Blake Watson
It would result in her blocking everyone thou-
Oh.
Henry Gomez
I love how CODING goes out of scope without actually doing something
Hudson Price
Came here to post this
Levi Brooks
>not just doing if(true)
David King
Then implement it
Dominic Morris
Daddy Israel is gonna be so pissed though...
Wyatt James
At what point was coding not "4 all"? Has anyone ever refused to sell a book on C to a nigger or fag?
Brody Smith
import god
define WOMAN == KITCHEN
if WOMAN != KITCHEN
echo CoC
fi
Jace Bell
Kek
Thomas Young
Uhh sweatie, racist white/asian incels in tech are scaring away everyone else.
Jack Rodriguez
>I'm afraid of whites and asians
>therefore whites and asians are racist
Jaxon Hall
The weak should fear the strong
Jordan Baker
I'm glad I wasn't the only one that saw this. javascript let statements are block scoped
Nolan Davis
I bet some nerd got paid 500 bucks to write that.
Adam Williams
We need coding to be hard so I can maintain be excessively high salary. If everyone can code I might as well return to being a male prostitute.
Alexander Lopez
let PM = "Trudeau";
if (PM === "Trudeau") {
let HAPPY = PMDICK in MYPUSSY
} else {
let HAPPY = False
}
Gavin Williams
programming is by and large a white boys' club. would you feel comfortable discussing 50 shades of grey with a bunch of middle aged lonely womens' reading club?
Jace Long
hmmm
Owen Hernandez
kek
Ethan Wood
LA GOBLINA HIJA DEL PRESIDENTE
Eli Peterson
HAPPY goes out of scope immediately.
Joshua Bailey
He has to stay PM to keep that pussy wet.
Brayden Clark
only if GamerGater or Negative evaluates to true
Alexander Rivera
on one hand
>gurl kodan
on the other hand
>direct blood descendant of based trump
I wonder how nu-chan deals with this tweet from last year
Joseph Richardson
Is that you Randy?
Lucas Jones
Syntactically correct.
But the assignment to CODING in that scope is completely pointless and also its name violates conventions.
Real developers can make interesting effects in twitter's 140 character limit: dwitter.net
Kayden Walker
dumb blonde.
Jordan Perry
>ywn play vidya with Her
Why even live?
Jonathan Morales
Dumb jew whore
Jackson Young
Hunter Hughes
black girls code
Christopher Davis
t-girl code
Ryder Wright
int main(int argc, char *argv[])
{
int trap = 1;
int gay = 1;
if (trap == gay)
printf("Trap is gay!\n");
else
printf("Trap is not gay!\n");
return 0;
}
Eli Watson
Derek Banas, is that you?
Jaxson Collins
The code is doing nothing either way, you could just erase the whole script.
Gavin Lee
nice advocation mr devil
Jaxson Scott
>let AND strict comparison
Holy shit, I love her now, better than those tranny tweets that have syntax all over the place
Adam Morris
No license banner declaring this free software? Hard coded in English? And only binary options for a question? And returning non-zero for so called "invalid" opinions!? I hope you are merely joking for I am offended by this insensitivity.
Oliver Diaz
#include
#include
int main(){
char c;
printf("What\'s your opinion on traps Senpai?\n");
printf("Are traps gay? y/n \n\n");
scanf("%c",&c);
switch (c) {
case 'y':
case 'Y':
printf("UwU. That\'s debatable Senpai.\n");
break;
case 'n':
case 'N':
printf("OwO. Are my programming socks Kawaii Senpai?\n");
break;
default:
printf("UwU. Invalid answer Senpai\n");
exit(1);
}
return 0;
}
Ryder Richardson
>Ivanka Trump
I'll let it pass, I guess.