Comment on: Plain JavaScript - The Vanilla JavaScript Repository
This is useful for when I'm forced to use shitty JS at work.
Comment on: Here are the top 10 programming languages used on GitHub
These graphs are always just fucking shitty. HTML and CSS is programming now?
Comment on: In light of GitHub's recently-announced anti-straight-white-male Code of Conduct, I'd like to reiterate some alternatives to them.
I wish people would start running their own git repos on their own systems and hardware.
Comment on: I found a magic number in Voat's source code
They work 100% the same way in C# don't worry. Except C# removes some of the sometimes archaic and redundant syntax that C and C++ has. Don't get me wrong, I like C and use it a lot but honestly some of the syntax is frustrating sometimes. Anyway, this is an enum in C# (as a side note, C# encourages more friendly naming conventions for fields, variables, properties, methods, classes, constansts etc etc, constants in C# are named different to the ALL CAPS style of C/C++):
enum Importance
{
None,
Trivial,
Regular,
Important,
Critical = 9001
};
Also how do you do indentation of code on Vote? Can't format it properly.
Comment on: What a C programmer should know about memory
Lol what? Have you actually used any modern languages since 1997? And no not shitty Java, that's slow for everything.
Because everything about JS is a pile of shit and fragile, why rely on it's own inbuilt stuff that likely doesn't work or won't work under some particular edge case when jQuery has already taken all of that into consideration?