|
octopodes
|
# ? Jul 1, 2014 17:18 |
|
|
# ? May 10, 2024 01:02 |
|
eithedog posted:
While working on a CSS implementation, I once presided over a pitched battle about use of "colour" and "color" in variable and field names. I normally rock the "u" myself, but honestly that's not a battle that's winnable at a US software company, the spec uses "color" everywhere, and consistency trumps basically everything. good jovi posted:octopodes Acceptable, but not mandatory.
|
# ? Jul 1, 2014 17:26 |
|
aag nooo https://github.com/search?q=hieght+&type=Code&ref=searchresults
|
# ? Jul 1, 2014 17:52 |
|
good jovi posted:octopodes baluchitheria gently caress if I know what that is
|
# ? Jul 1, 2014 17:54 |
|
https://github.com/search?q=teh&type=Code&ref=searchresults
|
# ? Jul 1, 2014 20:57 |
|
Edison was a dick posted:The correct plural is Winklesvoss. Winkelvosen People who use boxen as the plural for box should be beaten with a rubber hose
|
# ? Jul 1, 2014 21:35 |
|
1337JiveTurkey posted:baluchitheria You win. Also https://github.com/search?q=%24password+%3D&type=Code&ref=searchresults
|
# ? Jul 1, 2014 21:39 |
|
1337JiveTurkey posted:There's one particular place in our codebase that drives me up the wall. It's someone being pretentious and deciding to pluralize status as statii. If you're going to be clever with pluralizations, first the sense that the word's being used in is fourth declension, not second declension. Second, even if it were second declension, statius isn't a word. Third, the plural of status is status, just the emphasis is on the second syllable when you pronounce it. Fourth, I took four loving years of Latin and even then I don't waste peoples' time with that bullshit. Nobody who does the latin pluralization actually knows latin. I hope this helps you in some way.
|
# ? Jul 2, 2014 00:53 |
|
I work on a codebase in which "experiments" feature heavily. At least once a day I mistype it as "expermients". I've managed to avoid actually committing that, though. The hell is an aling?
|
# ? Jul 2, 2014 04:25 |
|
ToxicFrog posted:I work on a codebase in which "experiments" feature heavily. At least once a day I mistype it as "expermients". Align
|
# ? Jul 2, 2014 04:30 |
|
I've seen "expection" used in place of "exception." I kinda like it, though... it's an expected exception!
|
# ? Jul 2, 2014 05:54 |
|
ESL here, and I hate the word length exactly because I always misspell it, and then I will spend a lot of time wondering why the gently caress "lenght" is undefined. Case in point, I misspelled it in the first instance of it in this post, when I wanted to spell it properly and spelled it right when I wanted to misspell it. Also, I had to work on a system to handle "pedidos" (translates to "order", "request", etc. in Portuguese). If you lose a certain "d", the word would read as "peidos", meaning "farts". Guess what was my most common typo for the month. Also, a colleague of mine once committed a page full of "dic"s.
|
# ? Jul 2, 2014 20:49 |
HardDisk posted:ESL here, and I hate the word length exactly because I always misspell it, and then I will spend a lot of time wondering why the gently caress "lenght" is undefined. Which is likely a problem for anyone with a first language that doesn't feature the θ and ð "th" sounds. If you pronounce it like "lengt" it's not strange to misspell it, however if you learn to pronounce "lengθ" then the misspelling should go away.
|
|
# ? Jul 2, 2014 21:48 |
|
Ithaqua posted:I've seen "expection" used in place of "exception." I kinda like it, though... it's an expected exception! From now on, when I write a unit test that verifies an exception is thrown under a particular condition, I'm calling it an expection.
|
# ? Jul 3, 2014 07:23 |
|
Mikey-San posted:From now on, when I write a unit test that verifies an exception is thrown under a particular condition, I'm calling it an expection. I like this.
|
# ? Jul 3, 2014 07:31 |
|
We have an xml product that contains records of votes on certain pieces of legislation, breaking the totals out into Democrats/Republicans/etc. But Republicans was spelled "republicians", and we can't fix it now because it would break innumerable downstream workflows.
|
# ? Jul 3, 2014 08:54 |
|
Extortionist posted:We have an xml product that contains records of votes on certain pieces of legislation, breaking the totals out into Democrats/Republicans/etc. But Republicans was spelled "republicians", and we can't fix it now because it would break innumerable downstream workflows. Offer an alternative "version 2" feed that has the typo fixed and threaten to deprecate the old one.
|
# ? Jul 3, 2014 09:07 |
|
Edison was a dick posted:Offer an alternative "version 2" feed that has the typo fixed and threaten to deprecate the old one. If I worked in a place with anything approaching sensible practices I might consider it. This is actually a project our group had to rewrite from scratch to replace another group's product--the typo was theirs and we had to replicate it, the downstream teams wouldn't give a minute's effort to fixing anything. But even if I did that a) no one would pay attention, the old one would be deprecated and the new one would still break everything, and b) no one would notice anything was broken until some day I'd just end up with a many-times-forwarded e-mail originating from an loc.gov address in my inbox asking why in the world this feature was broken and I'd have to go and change it back anyway.
|
# ? Jul 3, 2014 10:24 |
|
Extortionist posted:If I worked in a place with anything approaching sensible practices I might consider it. This is actually a project our group had to rewrite from scratch to replace another group's product--the typo was theirs and we had to replicate it, the downstream teams wouldn't give a minute's effort to fixing anything. I suggest starting a competing political party called the Republicians, with better policies.
|
# ? Jul 3, 2014 10:58 |
|
qntm posted:I suggest starting a competing political party called the Republicians, with better policies. The only way this ends is with Tastycrats and Fingerlicans
|
# ? Jul 3, 2014 13:52 |
|
qntm posted:I suggest starting a competing political party called the Republicians, with better policies. The best of both worlds: The Republican Patrician.
|
# ? Jul 3, 2014 18:35 |
|
Extortionist posted:We have an xml product that contains records of votes on certain pieces of legislation, breaking the totals out into Democrats/Republicans/etc. But Republicans was spelled "republicians", and we can't fix it now because it would break innumerable downstream workflows. referer
|
# ? Jul 3, 2014 19:16 |
|
Mikey-San posted:From now on, when I write a unit test that verifies an exception is thrown under a particular condition, I'm calling it an expection. Similarly, if it's not a variable, it's a constable.
|
# ? Jul 3, 2014 22:04 |
|
ToxicFrog posted:I work on a codebase in which "experiments" feature heavily. At least once a day I mistype it as "expermients". I almost checked in a comment about the "clit tool" the other day.
|
# ? Jul 3, 2014 23:30 |
|
http://www.php.net/manual/en/datetimeimmutable.modify.phppre:public DateTimeImmutable DateTimeImmutable::modify ( string $modify )
|
# ? Jul 4, 2014 01:13 |
|
quote:It's called modify() for compatibility with the DateTime interface. The whole point of the class is that it's a drop-in replacement for DateTime, and giving the method a different name would defeat that purpose.
|
# ? Jul 4, 2014 01:45 |
|
I would buy that if calling the method just raised an immediate exception or something, but I'm guessing that's not what happens.
|
# ? Jul 4, 2014 02:02 |
|
GrumpyDoctor posted:I would buy that if calling the method just raised an immediate exception or something, but I'm guessing that's not what happens. It apparently returns a new DateTimeImmutable with the desired modifications applied to a copy of the receiver, which is reasonable except for the hilariously misleading name.
|
# ? Jul 4, 2014 02:11 |
|
GrumpyDoctor posted:I would buy that if calling the method just raised an immediate exception or something, but I'm guessing that's not what happens. The docs make it seem like it returns a new DateTimeImmutable... Maybe they want people to do something like: code:
Using "clone" seems way more straight forward though. E: fudge.
|
# ? Jul 4, 2014 02:20 |
|
Deus Rex posted:It apparently returns a new DateTimeImmutable with the desired modifications applied to a copy of the receiver, which is reasonable except for the hilariously misleading name.
|
# ? Jul 4, 2014 02:51 |
|
Sedro posted:Except sometimes it returns false hahahaha why
|
# ? Jul 4, 2014 03:05 |
|
What date does it coerce false to for comparisons?
|
# ? Jul 4, 2014 03:08 |
|
I love PHP because you can never tell what the gently caress it's going to do. Warnings, notices, exceptions, fatal errors, or just return false. Edit: I forgot about catchable fatal errors... Mogomra fucked around with this message at 03:30 on Jul 4, 2014 |
# ? Jul 4, 2014 03:13 |
|
God, you guys. It's obviously just some legacy garbage from some ancient version of PH-quote:(PHP 5 >= 5.5.0) Oh.
|
# ? Jul 4, 2014 06:00 |
|
"Modify" for an operation that actually returns a modified copy instead of mutating the original object is slightly weird, but is somewhat reasonable when it's used in the context of a guaranteed immutable object. Mutation and modification are not the same thing. I'm also inclined to buy the explanation about compatibility with the old API. With all this in mind, I'm going to give PHP as pass on thiSedro posted:Except sometimes it returns false
|
# ? Jul 4, 2014 09:02 |
|
Looks like Go is now the next language for the Rails/NodeJS hipsters to flock to. I wonder when they'll arrive at a language that has a strong type system.
|
# ? Jul 4, 2014 12:22 |
|
Sagacity posted:Looks like Go is now the next language for the Rails/NodeJS hipsters to flock to. I wonder when they'll arrive at a language that has a strong type system. quote:the more I’m frustrated by Node’s direction, which favors performance
|
# ? Jul 4, 2014 12:34 |
|
That quote isn't so unreasonable, isn't one of the major problems with Node that it's easy to write fast but hard to maintain code?
|
# ? Jul 4, 2014 16:21 |
|
|
# ? May 10, 2024 01:02 |
|
fidel sarcastro posted:That quote isn't so unreasonable, isn't one of the major problems with Node that it's easy to write fast but hard to maintain code? Um... This is the result - seeing that most people do any JS dev without any sort of OO in mind. (Apologies if your objects / libs are nicely structured instead of being a bunch of closures within closures within closures )
|
# ? Jul 4, 2014 17:56 |