vtortola

Stories kicked by vtortola

Single-Entry, Single-Exit, Should It Still Be Applicable In OO?(msmvps.com)

submitted by PeterRitchiePeterRitchie(1505) 4 years, 2 months ago

Does the "Single Point of Exit From a Function" Principle still applicable in Object-oriented programming? read more...

1 comment |category: |Views: 9

tags: another

Implementing Interfaces: ICloneable and IComparable(blog.reamped.net)

submitted by kayoskayos(890) 4 years, 2 months ago

A friend of mine was showing me about some common interfaces and some good use cases for them the other day. A discussion arose of how to accurately create a deep copy of an object and the best way to go about it. Shortly after that discussion we got into the Sort() method and how to dictate how that method will sort your objects. This is when he spilled into telling me all about these common interfaces. read more...

1 comment |category: |Views: 63

tags: another

How Super Mario Bros Made Me a Better Software Engineer(blog.lavablast.com)

submitted by EtienneTremblayEtienneTremblay(5008) 4 years, 2 months ago

Playing NES video games does have some advantages! read more...

6 comments |category: |Views: 8

tags: another

Howto savely move a file using C# (saftsack.fs.uni-bayreuth.de)

submitted by agnes_agnes_(290) 4 years, 2 months ago

If possible this version uses the special File.Replace on NTFS and gracially falls back on Delete+Move on any other filesystem. Nothing else to comment about here. I am just amazed that this kind of save moving is not supported by the framework itself. Instead the framework's move routine throws an exception if there is an file existing at the target location. Weird. ;) read more...

1 comment |category: |Views: 87

tags: another

Seeing the Future in ParallelFX(codethinked.com)

submitted by justin_etheredgejustin_etheredge(8539) 4 years, 2 months ago

Showing off Futures in ParallelFX and how they can be used for running and synchronizing many tasks that have results. read more...

add a comment |category: |Views: 10

tags: another

.NET 3.5 Brings Major (Undocumented) Changes to ThreadPool(michaelckennedy.net)

submitted by simonebsimoneb(5450) 4 years, 3 months ago

Interesting information about the new behavior of the thread pool in .NET 3.5. read more...

2 comments |category: |Views: 23

tags: another

Try/Catch Blocks Can Hurt Performance Significantly(chinhdo.com)

submitted by chinhdochinhdo(395) 4 years, 3 months ago

Over at Programmers Heaven.com, there’s an interesting article on the potential performance impact of try/catch blocks. The article concluded that the average cost of a try/catch block is essentially nothing (sorry there’s no author information on the post), and that .NET/C# programmers should not think twice about using try/catch blocks. The author is right that a try/catch block has essentially zero cost. However, like most coding performance issues, exceptions and try/catch blocks do not have performance implications until they occur in some type of loop. read more...

9 comments |category: |Views: 54

tags: another

When TDD goes bad(gojko.net)

submitted by gojkogojko(1115) 4 years, 3 months ago

Last week, at the London .NET User Group meeting, Ian Cooper talked about Test-driven development, focusing on both good and bad practices. I’m a big fan of learning from anti-patterns and mistakes of other people, so the second part of his session was very interesting to me. Here is a short list of things that Ian identified as symptoms that TDD has gone bad in a project, along with my comments... read more...

add a comment |category: |Views: 45

tags: another

C# .NET Gmail Tools(code.msdn.microsoft.com)

submitted by JozefSevcikJozefSevcik(1880) 4 years, 3 months ago

Gmail class library for getting gmail atom feeds and for sending emails through gmail. read more...

add a comment |category: |Views: 215

tags: another

File System search via LINQ to Objects(weblogs.asp.net)

submitted by wisemxwisemx(8074) 4 years, 3 months ago

LINQ provides a standard way for developers to query data in diverse locations, ranging from in memory objects, XML data, or relational data living in an Oracle Database.Lets take a look at a scenario where we use Linq to objects to query a directory on the local drive for files that match a given extension, and show the results in a Datagrid control. read more...

add a comment |category: |Views: 57

tags: another

Do You Really Need A Distributed Architecture?(blogs.msdn.com)

submitted by j.montyj.monty(1868) 4 years, 3 months ago

Does the question sound rhetoric to you? Do you think the answer is “Yes” by default these days? Think twice. Ask yourself the questions below. You may change your mind at the end. read more...

add a comment |category: |Views: 10

tags: another

Vista SP1: Terminal Services /console switch no longer working(west-wind.com)

submitted by PeterRitchiePeterRitchie(1505) 4 years, 3 months ago

One caveat of installing Vista SP1 if you use Terminal Services. read more...

add a comment |category: |Views: 15

tags: another

Custom Controls Design Time Support Part 15: Debugging Design Time(amrelsehemy.net)

submitted by AmrElsehemyAmrElsehemy(2585) 4 years, 3 months ago

The final part in the series describing how to debug design time support. read more...

add a comment |category: |Views: 81

tags: another

20 Famous Software Disasters(devtopics.com)

submitted by DevTopicsDevTopics(1050) 4 years, 3 months ago

"To err is human, but to really foul things up you need a computer." –Paul Ehrlich read more...

add a comment |category: |Views: 189

tags: another