Rate her programming style.
It's shit desu.
>>58446827
Too much abstraction
>>58446827
>self
>self
>self
>self
>self
I love Python but come on.
>>58446827
>OOP
I can't understand this shit
So her programming skills are too shit to become the new queen of /g/?
>her
>>58446827
God Damn Python is some ugly shit.
kawaii as fuck desu imho tbqh senpai
>cd
>cd
>cd code
>cd
>>58446827
>self self self self
This is even worse than the "end" bullshit in ruby.
This episode was pretty good too. Probably my favorite show of this season.
>>58446827
>vars=local()
Not sure if it's because it's a short method or she's a bad programmer.
>>58448433
>implicit member access
What kind of uncivilized language or coding style do you follow that doesn't use self or this for member access?
>>58446827
>completely accurate and reasonable code in a show
This studio deserves more mone-
>KyoAni
Fuck
>>58448618
>implying based kyoani doesnt deserve more cash for delivering masterpieces like this
>>58447603
>>58448433
>Implicitly accessing members
You guys are the shit programmers.
>>58449132
> kyoani
> masterpieces
Never made anything good since Nichijou. K-ON Movie was their peak.
>>58449636
>Never made anything good since Nichijou
>since Nichijou
Nichijou was fucking garbage though.
>>58447819
lain is and will always be the one and only queen of /g/
>>58449636
>>58449656
>Being this wrong
>Having taste this shit
>>58449676
This is not /a/, so I'm not going to get into why Nichijou is fucking shit.
>>58446827
I rate your image compression as kys
>>58446827
>>58451011
>delete this.ree
was intended to be a joke or you actually need to do that? if so your language sucks
>>58451033
It's a fairly obvious joke, you mong.
>>58449160
I'm new to programming. By "Implicitly accessing members" do you mean using "this->" in e.g C++? If so, why is it bad to use? Performance or something else?
>>58446827
>her
>>58451154
>By "Implicitly accessing members" do you mean using "this->"
No, that's explicitly. Implicitly means that you don't have to use this-> (c++) or this. (java). Of course you have to be careful when having same named parameters as attributes. parameters have a higher priority than attributes.
>>58446827
How does this string interpolation work here?
Why isn't it a parametrized query?
Is it a Ruby thing that does something smart with it afterwards?
>>58446827
0/10 its not PEP8 approved.
>>58447549
underrated post
>>58451620
>>58447549fag(self):
pass
>>58447598
Interaction "engineer"
Looks like sql injection waiting to happen
>>58447819
The Kobayashi-san anime is out? How is it?
>>58446827
>retarded autist is taking pictures of his monitor
>self self self
>unwrap().unwrap().unwrap().unwrap()
This shit needs to go.
You know it doesn't have to be self. I think you can put anything there
>>58447819
isis agora lovecruft >
>>58452393
if it's in a class it has to be self, but these aren't in a class it looks like.
>>58452464
it really doesn't have to be 'self'. This is perfectly valid:class A:
def method(s, param):
s.someOtherMethod(param)
Which is exactly why the "this" object is explicitly specified as the method's first parameter.
>>58451572
It is a parametrized query, can't you see the vars parameter?
>>58451154class Vector {
int x;
int y;
void method() {
// explicit
this.x = 42;
//implicit
x = 42;
}
}
Literally only >>58451896 notes the SQLi attack
You should ALL be thoroughly ashamed of yourselves
>>58456210
You are the retard one. The code isn't vulnerable to injections, it uses a prepared statement of sorts, as shown by the where clause syntax and the vars argument.
>>58449160
>poorprammer that can't afford IDE
>>58456440
youre missing the point.
It has where="session_ID=$key".
I'm not that familiar with whatever the fuck they're using, but if its anything like a normal item, then the possibility of $key="\"guid here\" OR 1=1;--", removing all sessions potentially.
Granted, without knowing their stack it's not 100% plausible to say, but its very possible to say "looks like it could happen bruh".
Since we can't see this vars shit, we can't 100% call it. We can just speculate.
>>58457019
It could happen, but I'm 99% sure it isn't just a normal replacement. First, it's a specialized function, not just a "query" function. Second, and the most important, Python doesn't use the $variable syntax anywhere, so "session_ID=$key" won't put the contents of key in the where clause.
what anime is that from?
>>58451033
JavaScript is dynamically typed, so you have to delete local variables to prevent memory leaks.
>>58456705
>retards can't compile fizzbuzz apps without having to install 25GB of proprietary botnets
>>58458080
Darude - Sandstorm
>>58458080
Read thru the thread, multiple people have already said it.
>>58452217
Not bad, not bad. It feels like a Doga Kobo comedy sol instead of a kyoani show though.
>>58452235
>retarded autist can't distinguish a chinese cartoon from real life