Click here to Skip to main content
14,925,975 members

Articles by Matt T Heffron (Articles: 3, Tip/Tricks: 6)

Articles: 3, Tip/Tricks: 6

RSS Feed

Average article rating: 4.88

Programming Languages
C#
Posted: 2 Jun 2014   Updated: 2 Jun 2014   Views: 24,415   Rating: 4.98/5    Votes: 35   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 36   Downloaded: 172
Please Sign up or sign in to vote.
Unless you're careful, LINQ extension methods on IEnumerable can lead to inefficient implementations
C# 3.5
Posted: 6 Jun 2012   Updated: 7 Jun 2012   Views: 24,060   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 723
Please Sign up or sign in to vote.
This is an alternative for "Word wrap without cutting words"
Visual Basic
Posted: 13 Sep 2012   Updated: 13 Sep 2012   Views: 23,161   Rating: 4.67/5    Votes: 3   Popularity: 2.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 115
Please Sign up or sign in to vote.
This is an alternative for "Finding prime numbers"

Average blogs rating:

No blogs have been submitted.

Average tips rating: 4.80

General Programming
Regular Expressions
Posted: 30 Jan 2012   Updated: 30 Jan 2012   Views: 12,530   Rating: 4.67/5    Votes: 3   Popularity: 2.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
For .NET and Perl Regex: Instead of changing the Regex pattern, use the RegexOptions.Singleline (.NET) or "s" modifier (Perl). This enables "." to match newline.
String
Posted: 6 Jul 2012   Updated: 9 Jul 2012   Views: 10,492   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Custom String FormatWith using Reflection"
Programming Languages
C#
Posted: 24 Apr 2012   Updated: 24 Apr 2012   Views: 12,820   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 80
Please Sign up or sign in to vote.
This is an alternative for "Legendre Symbol (C# code)"
Posted: 17 Apr 2014   Updated: 17 Apr 2014   Views: 8,310   Rating: 0.00/5    Votes: 0   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
Please Sign up or sign in to vote.
This is an alternative for "Subset - Sum Problem with Integer Arrays "
Posted: 27 Jul 2012   Updated: 27 Jul 2012   Views: 11,740   Rating: 4.33/5    Votes: 2   Popularity: 1.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 34
Please Sign up or sign in to vote.
This is an alternative for "Cumulating values with LINQ"
Posted: 26 Oct 2010   Updated: 26 Oct 2010   Views: 6,430   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Please Sign up or sign in to vote.
Since SortedSet has a constructor that takes an IEnumerable parameter, the ToSortedSet extension method can be greatly simplified:public static SortedSet ToSortedSet(this IEnumerable t){ return new SortedSet(t);}

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

Matt T Heffron
Software Developer (Senior) Sciex
United States United States
I started programming in Basic on a DECSystem-10 as a Freshman at Caltech in 1974. I quickly transitioned to assembly language, Fortran, and Pascal. As a summer job at JPL, I did analysis of fuel consumption for the Viking Mars Orbiter attitude control system. I also spent a summer doing O/S maintenance at Digital Equipment Corporation.
After graduation, I started developing microprocessor development tools (e.g., cross-compiler, debugger) for Beckman Instruments, a scientific instrument company.
I've worked on custom file-systems, a real-time O/S for Z8000, Expert Systems (SpinPro & PepPro), and internal and external networking support (I was their first webmaster).
I've worked on the DNA analysis system.
I was the console/UI software architect for Ultracentrifuges and protein Capillary Electrophoresis systems.
After 35 years, Danaher having acquired Beckman (now Beckman Coulter), transferred the CE group to become part of Sciex (2014).