Comment on: C or C++: Which is the language you prefer?
6 08 Sep 2016 12:58 u/djdevin in v/programmingComment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.
thanks, I call it the "lazy" approach
Comment on: We need more programming challenges. We should start off small: First non-repeating character of a string. Any language you like.
different approach
<?php
print (key(array_filter(array_count_values(str_split(fread(STDIN, 8192))), function($y) {return $y<2;})));
Comment on: What's is the best text editor to use from command line?
some specific tasks like nuking entire lines
ctrl+k
cursing over wrong/forgotten shortcuts
got it
Comment on: What constitutes 'coding'?
Can develop. Source: am confirm
Comment on: Programmer quits work on project after getting triggered by a variable name (The comments, however . . .)
I've seen functions called bagFuck() and sexChange(), that programmer is insensitive to non-English speakers...
"insert" ends up being poorly translated to "fuck" so it makes sense that an ESL programmer could potentially use it, and "bag" is a storage method, bagFuck() = insertIntoBag()
sexChange() = change the value of the "sex" field in the database
if you're worrying about function and variable naming so that it doesn't offend anyone, you are not a programmer.
Edit: and also, here's some of the linked code which seems extremely appropriate for software:
give.head = TRUE, give.length = give.head
Comment on: Programmer quits work on project after getting triggered by a variable name (The comments, however . . .)
I've written getHead a thousand times without even realizing it.
Some of the other code that was linked to;
give.head = TRUE, give.length = give.head,
seems completely appropriate...give is an object, it has a head and a length...
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
I posted it because the author is the same person as OP's link
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
yeah she's not a programmer. she just tries to stifle other programmers by bothering them with non-development issues.
every day, as a true open source contributor, I work with other programmers that I don't even know by real names, only screen names.
I could not care less about what their personal background is as long as they actually contribute to the project.
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
don't forget, she was responsible for starting this shitshow: https://github.com/opal/opal/issues/941
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
4 24 Jan 2016 09:40 u/djdevin in v/programmingComment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
yeah this is usually the case. i have no idea why they call themselves developers
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
why are CoCs always pushed by non-programmers who don't understand the culture?
nobody who writes code prolifically gives a shit
all I care about is the code. you don't even have to be human, as long as the code is objectively good there should be no barrier to contribution
i.e. "show me the code"
Comment on: The Ruby Programming Language community is now under siege by SJW entryists and the trojan horse Code of Conduct
Are we going to go back three thousand years or more, just because someone gets butt-hurt?
yup
Comment on: A Catalog of Programming Languages that Programmers Hate
yeah any modern IDE can reformat in and out of whatever whitespace standards you use
no point in enforcing it
Comment on: The Website Obesity Crisis
this is the only website where ublock blocks 0%
yeah, absolutely not haha