| bio | website | mounthelicon.wordpress.com |
|---|---|---|
| location | Rally grounds | |
| age | 93 | |
| visits | member for | 2 years |
| seen | Jun 15 at 12:06 | |
| stats | profile views | 39 |
Hello world,
My name is not Monster Truck II and I was not born in 1920. But here is something about me that I feel comfortable sharing. I studied physics and computer science at college and enjoy reading (history, politics, and economics) and listening to music.
Here is my bookshelf:
https://www.goodreads.com/review/list/20250758-monster?order=a&shelf=non-fiction&sort=position
|
Jun 15 |
comment |
Warn about 3rd party methods that are forbidden That's exactly what I want. Use that function and the IDE generates a warning. |
|
Jun 15 |
comment |
Warn about 3rd party methods that are forbidden @RossPatterson wrappers are not just a one time capital investment. They can become a maintainanace nightmare in some cases. |
|
Jun 15 |
comment |
Should I add an “Abstract” prefix to my abstract classes? @BryanOakley why not also put public and final as well? A class name would then look like PublicAbstractPersonThatImplementsInterfaceHuman. Hmm, not quite sure that's good. But I agree, there is nothing such as a universal convention -- use whatever increases the team's collective productivity. |
|
Jun 15 |
awarded | Scholar |
|
Jun 15 |
accepted | Warn about 3rd party methods that are forbidden |
|
Jun 14 |
comment |
Is 100% code coverage a pipe dream? +1 for project size. Breaking down into smaller, reusable, and testable components has allowed us to gain ~95% coverage ourselves. 100% coverage is not necessary. Integration testing should cover unit testing gaps. |
|
Jun 14 |
comment |
Warn about 3rd party methods that are forbidden Thanks. I am going to try MattDavey's solution first because it allows me to do static analysis. That said, if all static approaches fail, I will try your solution. |
|
Jun 14 |
comment |
C# foreach improvements? Continued: @DocBrown Besides, and while I do admit performance benefits aren't significant, how often do you find the collection indexed for the for loop to work? |
|
Jun 14 |
comment |
Warn about 3rd party methods that are forbidden @MattDavey That is true. |
|
Jun 14 |
comment |
C# foreach improvements? @DocBrown This is not as simple as premature optimisation. I have myself identified bottlenecks in the past and fixed them using this approach (but I'll admit I was dealing with thousands of objects in the collection). Hope to post a working example soon. Meanwhile, here is Jon Skeet. [He says performance improvement won't be significant but that depends much on the collection and the number of objects]. |
|
Jun 14 |
comment |
Warn about 3rd party methods that are forbidden This sounds promising. I am going to try this tomorrow and let you know. Thanks Matt. |
|
Jun 14 |
awarded | Student |
|
Jun 14 |
comment |
Warn about 3rd party methods that are forbidden @MasonWheeler Sadly, we actually cannot. It is a compiled binary (.dll, .jar) that we use. Plus, there are pitfalls to that approach as we can go off latest, miss out on support (which is very critical to us), etc.. |
|
Jun 14 |
comment |
C# foreach improvements? @Jalayn Please post that as an answer. It is one of the best approaches. |
|
Jun 14 |
comment |
Warn about 3rd party methods that are forbidden Yeah. It is a huge library. But even worse, we have lots of such libraries (across C#, Java projects). I am also thinking of a post compilation ant checks. |
|
Jun 14 |
comment |
C# foreach improvements? -1: Bill Wagner in More Effective C# describes why one should always stick to foreach over for (int i = 0…). He has written a couple of pages but I can summarise in two words --compiler optimisation on iteration. Ok that wasn't two words. |
|
Jun 14 |
asked | Warn about 3rd party methods that are forbidden |
|
Jun 10 |
comment |
Visual Studio 2010 on Macbook Air @Kyle, I believe you will get more responses from the Apple community --apple.stackexchange.com |
|
Jun 10 |
comment |
Sharing object between 2 classes @justin glad I could help. |
|
Jun 10 |
awarded | Yearling |