What programming language is this?
What programming language is this?
Other urls found in this thread:
youtu.be
myredditvideos.com
twitter.com
it looks like a mixture of python and matlab.
if condition:
return true
>What programming language is this?
C+=
What is this % supposed to do exactly?
that's her own programming language
she made one
her dad was a programmer before you were born she knows this stuff
Get the remainder
>Klossettes
>Cs unnecessarily replaced by k
>German calligraphy
>blonde, white woman
>Kode with Kossy new york Klossettes -- KKK
>in all their media, minorities are underrepresented -- this is NYC, like half the people should be white, not 80+%.
>on website, any display of minority is in context of them seeking approval of their white superior peers
white nationalist organization confirmed.
>no specification of arguments
>returns true if the condition is true
>returns who the fuck knows if it isn't
modulo
Plus "num" isn't even listed as a parameter. How does she continue to be this incompetent?
wtf I love klossy now
post sauce, but actually don't so i can believe you just shooped this and i don't have to lose more faith in humanity
They actually fixed it.
Looks like Pascal / Delphi
git gud scrub
def divisible_by_three(num):
return num % 3 == 0
end
I would like to offer you a job
K#
K++
K
>model
>designed her own language and wrote a compiler for it
Pick one
um actually sweetie, use a real language
template
auto divisible_by_three(T t) -> bool
{
constexpr T three = 3;
constexpr T zero = 0;
return (t % three) == zero;
}
Objective K
is she the new Terry?
Really shitty Ruby.
It feels like a prank gone too far.
The type of "prank" the basic bitches used to do where they select a random nerd, pretend he's relevant and interesting until his confidence is boosted up only to destroy it afterwards.
>Oh wow klossy, you're so skilled at programming
>did you wrote all of that klossy? That's amazing
did she really just use an empty set instead of a 0
It's a percent sign, it means there are too few women in tech.
that's the closest thing to actual code I've ever seen her write
you think she'll ever be a real programmer?
>middle school
>friend has gf
>gf comes up to me between classes and mentions she wants to fugg or whatever
>i tell friend
>he laughs at me
>gf laughs at me
>apparently it was just a prank
>they make fun of me for being a gay loser nerd who fell for their tricks and didn't even want to fuck
I'M STILL ANGRY
She didn't actually write it.
being this much of an anti-chad that you're still friends with these people
holy shit Jow Forums
>agree to fuck her
>get beat up
>don't agree to fuck her
>get called a gay loser nerd
wow, those people are assholes
i'm not, senpai. i am very skeptical about people now.
sensiblechuckle.gif
You did the right thing.
Also, they are not your friends.
Ko
You're still doing it wrong. The real question is, is she hot?
Yes?
>agree to fuck her
>do so
>get beat up
>worthit.jpg
No?
>give her the usual friendzone bullshit
blacked
Those are not people you should call "friends".
I don't thinks you're quite understanded user
who is this cunt anyway
and why does she code?
is she teaching other pretty women how to code?
looking at her program on the white-board and
then looking at something as grand as the Linux kernel source code
makes her program look as insignificant as an atom does
compared to the whole Earth
i'm not impressed.
I think you don't...
You just KNOW
% modulo operator. Returns remainder.
Examples:
4 % 2 = 0
4 % 3 = 1
16 % 9 = 7
It's for modular division.
n mod m = (n/m - floor(n/m) ) * m
(n/m - floor(n/m) ) is to isolate the fractional part/remove the integer
i.e. 5/2 = 2.5, or 2 remainder 1
=> 5 mod 2 = .5 * 2 = 1
That's how it works (I had to google it, they don't explain this in any CS class)
you're awfully triggered for a picture of somebody standing in front of some psudocode
I think this is a subproblem of a larger problem: normies that can't program trying to hide that fact by teaching programming memes and meme languages to other normies in place of real application development. All these bootcamps and hacker tutorial sites and videos make me wanna puke. If any of these fucking people could code they'd do it rather than make a life out of pretending they can. You would make so much more money developing enterprise software than a shitty youtube channel or one in a thousand tutorial sites, but it's just these smug sluts like pic related that think they're not retarded bimbos but are in fact the most retarded of bimbos grind my fucking gears. They're an insult to the industry.
only ok if an alternate branch that requires additional computation is afterwards
The absolute state of Jow Forums
yeah maybe you have to do that on a shitty architecture, but division on x86 puts the remainder into rdx
git gud scrub
def divisible_by_three(num):
return !(num % 3) end
>chocolate
Am I witnessing a murder?
def divisible_by_three(num):
return !not_divisible_by_three(num)
end
end
#TODO: implement not_divisible_by_three
>giving a shit about stuff that doesn't matter
Cat can't have chocolate. Grill can. Then what about catgrill?
don't need the return statement in ruby.
That's not a cat, newfriend
>intro to the internet
so where can we watch this
import 'mod3-js';
>that unnecessary branch complexity
dropped.
Peak new age hipster.
Underated
>@qrazyqudz she needs to join our startup.
every fucking time
Mormon Perl
Literally never returns false.
Or if you want maintainable code
usually I argue for maintainability, but "return EXPR" is absolutely trivial to convert to "if EXPR do shit and return true"
so the only thing writing "return true" accomplishes is making the next person to read the code think the author is a dipshit
she's a major brainlet wtf
In fact, it would return nil, which is the only other falsey value besides false itself
>In fact, it would return nil, which is the only other falsey value besides false itself
O rly? What language is this? How do you know that nil/null/whatever is falsy in this language if the language doesn't fucking exist.
return !(num%3)
It's fucking Ruby you little cum-spraying edgelord
because ruby is highly optimized for genius use only
yikes
>dozens of posts before someone says Ruby
Truly Jow Forums is pleb tier now.
Kloss is running a scam, programming is just a front for something else. Look how all the women are dressed.
Programming talk starts at 3m
Please leave.
return x * 0xAAAAAAAB
>Programmers who've just discovered modulo basic bitch starter pack
the difference between undergrad computer """science""" shit and an actual good program lies entirely in organization, user
The percentage sign is to masculine. We need to replace it with something that looks less like a cock and balls. I feel raped every time I see it on my keyboard.
def this_post
true
end
>implying these aren't minor details in what is supposed to be an introductory programming primer for people who don't know what programming is
furthermore
>implying any of these proposed 'better' solutions in this thread would make any sense to someone who doesn't know what an expression or control flow is
y'all are anally missing the point
Why fuck up introductory details with terrible organization? It takes one sentence to explain what '%' does
She should join our startup.
Objective Kloss.
all these bites
ooh molly
youre a fucking retard
fag
I mean yeah, but also
>It takes one sentence to explain what '%' does
It SHOULD, and yet...
lol so nerdy you go girl XD
looks like pseudo-code to me. Which is perfectly fine when written to a whiteboard. You want to explain what happens in an algorithm conceptually, without getting bogged down by the details or peculiarities of specific programming languages.
Literally nothing wrong with trying to get girls into programming. You only have a problem with this if you're a neckbeard or scared you're going to lose your codemonkey job to a teenybopper.
This is like the third time someone asks this, this week. Is it std bait?