Click here to Skip to main content
15,884,425 members

Welcome to the Lounge

   

For discussing anything related to a software developer's life but is not for programming questions. Got a programming question?

The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.

 
GeneralRe: Unpopular opinions: LINQ Pin
MeziLu9-Feb-21 3:05
MeziLu9-Feb-21 3:05 
GeneralRe: Unpopular opinions: LINQ Pin
MeziLu9-Feb-21 2:52
MeziLu9-Feb-21 2:52 
GeneralRe: Unpopular opinions: LINQ Pin
Member 140926059-Feb-21 2:31
Member 140926059-Feb-21 2:31 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 2:39
mvahoney the codewitch9-Feb-21 2:39 
GeneralRe: Unpopular opinions: LINQ Pin
obermd9-Feb-21 3:08
obermd9-Feb-21 3:08 
GeneralRe: Unpopular opinions: LINQ Pin
MeziLu10-Feb-21 13:55
MeziLu10-Feb-21 13:55 
GeneralRe: Unpopular opinions: LINQ Pin
TnTinMn9-Feb-21 3:43
TnTinMn9-Feb-21 3:43 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch9-Feb-21 3:54
mvahoney the codewitch9-Feb-21 3:54 
I started reading it, and it seems we're on the same page as far as general approach toward optimization.

Optimization starts in the design phase during requirements gathering. Performance is either an explicit or unwritten requirement of any application. No application can take forever to perform. How long is acceptable is a question of design.

Optimization continues through project planning - choosing the platforms and tools, and even right data structures and patterns to accomplish your tasks. You don't garbage collect driver code. You don't use a Dictionary where a LinkedList would be more appropriate. These are design decisions, the first one high level, the second one more specific, but still, design decisions.

Only after that does the phrase "optimization is evil" come into play. Because at this point, if you're optimizing, you're optimizing something you should have optimized during design, or you're trying to bit twiddle to work around something that again, should have been optimized during design.

It's way more efficient to optimize up front during the design and planning phase, rather than after the fact when you are locked in and your options for improving performance are limited to bit twiddling.

Unless you're doing embedded though, counting cycles isn't important. Optimizations should be done on the algorithmic level - look for a Big O figure, not how to shave a cycle here or there.
Real programmers use butterflies

GeneralRe: Unpopular opinions: LINQ Pin
Bruce Greene9-Feb-21 5:54
Bruce Greene9-Feb-21 5:54 
GeneralRe: Unpopular opinions: LINQ Pin
Member 129243129-Feb-21 8:20
Member 129243129-Feb-21 8:20 
GeneralRe: Unpopular opinions: LINQ Pin
Eddy Vluggen9-Feb-21 8:56
professionalEddy Vluggen9-Feb-21 8:56 
GeneralRe: Unpopular opinions: LINQ Pin
Bruce Patin10-Feb-21 4:23
Bruce Patin10-Feb-21 4:23 
GeneralRe: Unpopular opinions: LINQ Pin
honey the codewitch10-Feb-21 4:34
mvahoney the codewitch10-Feb-21 4:34 
Generalcorrection: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
Member 117206818-Feb-21 6:03
Member 117206818-Feb-21 6:03 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
User 149368538-Feb-21 6:27
User 149368538-Feb-21 6:27 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
dandy729-Feb-21 4:00
dandy729-Feb-21 4:00 
GeneralRe: correction: Microsoft isn't a virus. Pin
OriginalGriff8-Feb-21 6:26
mveOriginalGriff8-Feb-21 6:26 
GeneralRe: correction: Microsoft isn't a virus. Pin
honey the codewitch8-Feb-21 6:33
mvahoney the codewitch8-Feb-21 6:33 
GeneralRe: correction: Microsoft isn't a virus. Pin
User 149368538-Feb-21 7:01
User 149368538-Feb-21 7:01 
GeneralRe: correction: Microsoft isn't a virus. Pin
honey the codewitch8-Feb-21 8:09
mvahoney the codewitch8-Feb-21 8:09 
GeneralRe: correction: Microsoft isn't a virus. Pin
User 1493685315-Feb-21 11:51
User 1493685315-Feb-21 11:51 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
W Balboos, GHB8-Feb-21 7:25
W Balboos, GHB8-Feb-21 7:25 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
charlieg8-Feb-21 15:31
charlieg8-Feb-21 15:31 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
Richard MacCutchan8-Feb-21 22:21
mveRichard MacCutchan8-Feb-21 22:21 
GeneralRe: correction: Microsoft is a virus. They wreck every software tool they try to re-brand as a Microsoft product. Pin
Eddy Vluggen9-Feb-21 8:58
professionalEddy Vluggen9-Feb-21 8:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.