|
Some developers have Weird 'ocd' habits
I also don't want the code base to be outdated, although this change doesn't really change anything.
|
|
|
|
|
Yep, some really have
I have seen it too often that cosmetic changes/refactorings have brought errors into the software. Ok, you can argue now that our tests were bad.
It does not solve my Problem, but it answers my question
Chemists have exactly one rule: there are only exceptions
modified 19-Jan-21 21:04pm.
|
|
|
|
|
0x01AA wrote: I have seen it too often that cosmetic changes/refactorings have brought errors into the software. Ok, you can argue now that our tests were bad.
I'd argue the tests were valid and the refactoring caused the problems. The new code failed regression testing.
|
|
|
|
|
I'm blaming Resharper for that. It knows about the latest and greatest syntax "improvements" (ahem), and won't shut up until you make it happy.
While it's a useful tool, I've always found it to be a memory hog, and VS is always doing more than its fair share of that. So I don't use it. But one of my coworkers keeps it up to date, and is a big believer in compiling clean (0 error, 0 warning).
But I definitely remember one instance where Resharper made a suggestion that had implications that broke code elsewhere. I know I'm too busy to make changes for the sake of making changes.
|
|
|
|
|
I use the newest language constructs wherever I can.
Mostly because Visual Studio draws a small squiggly line and advises me to change it to the latest standards (and even does it for me).
I do like them though, less nesting, less variables (like with the inline out parameters), etc.
I'm not going to revisit old code unless I have to though.
Don't fix what isn't broken and all that.
|
|
|
|
|
Jacquers wrote: Also, should I pay back the company for the lines of deleted code? :P Since productivity is measuered in LOC/day, your productivity is currently negative.
..but I agree with the others - don't "fix" it; every edit might introduce a new bug and the changes are NOT an improvement that yields enough result to justify spending the time on it. Economically, it always costs more than it yields.
I'd argue that you'd be better of playing a game.
Bastard Programmer from Hell
If you can't read my code, try converting it here[^]
"If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.
|
|
|
|
|
Just remember that usings are disposed in the reverse order of their declaration. If you have function scoped disposable variables then this new syntax is really nice as it avoids unnecessary code block nesting. If, however, you need to dispose the object as soon as it's released, then use the traditional syntax.
|
|
|
|
|
Confused non-social abutting chief information officer assigned to compose provisional circumlocutions comprising one of the longest words in the English language. ((0b11 << 0b100) - 0b11)
This should be very easy. Don't cheat, the word length is encoded because there is a very small pool of words with that letter length. Someone is bound to google it and find it immediately. Because the puzzle is so easy... I am only accepting a complete answer including all operators/indicators.
There is a secondary bonus puzzle embedded inside the overall primary puzzle with a hint of tū-te-ngaehe but I highly doubt anyone will solve the complex second layer. The secondary puzzle is not necessary.
P.S.
I checked the dictionary of @Richard-MacCutchan through the kitchen window to make sure it was listed there.
modified 31-Jul-20 8:37am.
|
|
|
|
|
Randor wrote: Someone is bound to google it and find it immediately. Yep, that was me. Let's hope your spelling is the correct one.
|
|
|
|
|
Richard MacCutchan wrote: Let's hope your spelling is the correct one. Yes, I used the British spelling just for you Richard. The American spelling swaps the hard C with the letter K[^] on the root word.
|
|
|
|
|
|
Are you referring to someone who knows the cost of anything and the worth of nothing?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Randor wrote: I checked the dictionary of @Richard-MacCutchan through the kitchen window to make sure it was listed there.
So, Richard, you now know who it was who left their footprints on the rose bushes.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
I don't think you want to be asked to set another one.
|
|
|
|
|
confused (anagram indicator)
non-social (first letter set: nonsocial)
abutting (merge indicator)
chief information officer (second letter set: cio)
assigned to (insertion indicator)
compose provisional circumlocutions (third letter set: composeprovisionalcircumlocutions)
comprising one of the longest words in the English language (definition)
pneumonoultramicroscopicsilicovolcanoconiosis
The letters in bold stay together when anagrammed.
|
|
|
|
|
Cryptic Crossword Winner!
Pneumonoultramicroscopicsilicovolcanoconiosis [^] was invented on February 23, 1935 by Everett M. Smith and added to the English dictionary a few years later.
I guess you are up Monday. Make sure that you use one of the words from Richard MacCutchan's dictionary
|
|
|
|
|
What's the story with Tūtengaehe? I thought maybe you were looking for one of his many other names. But there are too many non-Maori letters, so it must be something else.
|
|
|
|
|
Well,
The pinnacle of puzzle setting is to embed double puzzles into a single set. It's not always easy and takes quite a bit of thought. I've seen @Tim-Deveaux do it a few times... although I think it may be unintentional and caused by his short clues.
|
|
|
|
|
@Randor
Where's the CCC?
(Posted early, I've got to go out)
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
I bet you regret prodding him now ?
"We can't stop here - this is bat country" - Hunter S Thompson - RIP
|
|
|
|
|
Kenny Loggins - Danger Zone[^]
Cheap Trick - Mighty Wings[^]
Some people know enough by seeing just those titles.
For those who don't, I've watched Top Gun last week, the movie that rocketed Tom Cruise's career.
The movie is alright, but the soundtrack is some of the best that 80's pop culture has to offer (which isn't a lot, IMHO ).
Especially Danger Zone and Mighty Wings (although the Top Gun Anthem is pretty epic too).
I picked both for this week's SOTW because I really couldn't pick the better one!
Besides, when I play one on YouTube the other is sure to follow so I've listened to them about equally often
Fun fact, I actually know Danger Zone from the Netflix series Archer[^], who regularly says "Danger Zone" and one of the jokes in a later season is that Lana thought Archer had just made it up himself (in an episode where Kenny Loggins plays a guest role as himself)
Also, I get a lot of Eye of the Tiger on YouTube now, often after Mighty Wings.
Someone posted about the YouTube algorithm yesterday, but wouldn't it make more sense to give me more Top Gun songs instead of a Rocky song, or is there some connection between Cheap Trick and Survivor (or those songs) that I'm unaware of?
|
|
|
|
|
|
David O'Neil wrote: Pop? Not! Best? Yes! Still haven't seen that one!
David O'Neil wrote: Or another 80's classic! Watched that one on Netflix earlier this year and even though the movie is mediocre at best (cool retro graphics though), the soundtrack is pretty awesome!
|
|
|
|
|
|
I generally don't like LOG all that much, but this sounds pretty heavy
Maybe I should check out their newest album...
|
|
|
|