Stories recently tagged with 'CodeBetter'

AddItem Extension Method for CheckBoxList, DropDownList, ListBox(codeforeternity.com)

submitted by xtremebizxtremebiz(575) 3 years, 9 months ago

Just 1 AddItem extension method which works for 5 controls to make the code a lot simpler and cleaner :-) Cheers to object inheritance and cheers to Extension Methods ;-) read more...

1 comment |category: |Views: 95

tags: another

Setting StringBuilder's Initial Capacity for Extreme Performance(codeforeternity.com)

submitted by xtremebizxtremebiz(575) 3 years, 9 months ago

You must have come across plenty of articles on the internet which talk about using the StringBuilder class when computing large strings for performance gains. Nothing wrong with that. However I have not seen many coders using the Initial Capacity constructor of the StringBuilder class which can further result in EXTREME PERFORMANCE. read more...

add a comment |category: |Views: 20

tags: another

Cool Extension Methods for IDataReader Interface(codeforeternity.com)

submitted by xtremebizxtremebiz(575) 3 years, 9 months ago

18 cool Extension Methods to for cleaner data access using the DataReader class. Cut down your data access code by using these 18 Extension Methods. Full source code available for download :-) read more...

add a comment |category: |Views: 45

tags: another

Trick: Making Non Themeable Properties of ASP.NET Controls Themeable(codeforeternity.com)

submitted by xtremebizxtremebiz(575) 3 years, 10 months ago

Excellent hack to make Non Themeable properties of ASP.NET controls Themeable. After learning this hack, you would be able to set the Display and the ValidationExpression properties of the RegularExpressionValidator control directly from a Skin file !!! Even the MaxLength property of a TextBox. Would it not be cool to validate all email addresses across your website through a single Skin file ??? read more...

add a comment |category: |Views: 9

tags: another

Handling ASP.NET Session Variables Efficiently(codeforeternity.com)

submitted by xtremebizxtremebiz(575) 3 years, 11 months ago

Excellent post which explains how to write bug free and clean code to handle ASP.NET sessions variables efficiently read more...

add a comment |category: |Views: 77

tags: another

Foundations of Programming - Part 1 - Introduction(codebetter.com)

submitted by JanVanRyswyckJanVanRyswyck(2724) 4 years, 2 months ago

The first in a serie of must-read articles. read more...

add a comment |category: |Views: 1

tags: another

Best of the Shade Tree Developer (Jeremy Miller)(codebetter.com)

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

Compendium of the best posts from Jeremy Miller about many topics, from Testing through IoC to Agile. read more...

add a comment |category: |Views: 7

tags: another

The productive developer(codebetter.com)

submitted by eyad.salamineyad.salamin(15) 4 years, 3 months ago

Productivity is the magic word after which all tools, practices and patterns are heading. This article gives hints on how to enhance the productivity of a developer. Recommended for every IT Manager read more...

add a comment |category: |Views: 5

tags: another

Directory Structure for Projects from the Master(codebetter.com)

submitted by btompkinsbtompkins(445) 4 years, 4 months ago

JP @ CodeBetter shows us how... read more...

add a comment |category: |Views: 14

tags: another

Monorail Vs Rails Isn't a Meaningful Question(codebetter.com)

submitted by buildmasterbuildmaster(225) 4 years, 6 months ago

There are reasons for either of the three choices, but we technologists often fail to actually make a choice as much as we choose not to choose for not being even aware of our choices. How do you know that you're using the best, most productive tools? read more...

add a comment |category: |Views: 6

tags: another

More testing code than production code is typical, but fine(codebetter.com)

submitted by HaackedHaacked(5105) 4 years, 10 months ago

Jeremy Miller of CodeBetter blogs writes that you may end up with more unit test code than production code, but that's fine. Remember, production code is way harder to write than test code. Test methods are each isolated units that don't have dependencies on each other, like production methods do. read more...

add a comment |category: |Views: 3

tags: another

Windows Workflow 101 or 2 Months with WF(codebetter.com)

submitted by SamGentileSamGentile(225) 4 years, 11 months ago

This article presents both an introduction to WF as well as in-depth discussion of the issues I faced in trying to apply it's model to a real-world application read more...

add a comment |category: |Views: 19

tags: another

Composite keys are evil(codebetter.com)

submitted by dalzieldalziel(6230) 5 years ago

Composite keys (multi column primary keys) make any kind of Object/Relational mapping and persistence in general harder. Life is so much easier with surrogate keys. You can always make unique constraints where it's necessary. read more...

1 comment |category: |Views: 13

tags: another

Evaluating a major/minor release (developer metrics)(codebetter.com)

submitted by gavinjoycegavinjoyce(25.7k) 5 years, 2 months ago

"Developer metrics are hard. We all know this. Development is part science, part logic, and part creativity. As such, it is difficult to measure how well your developers are doing their jobs. Personally, on my teams I tend to manage by results. If the releases are on time and of sufficient quality, I'm a pretty happy guy. How do I measure quality, you ask? Well I'm about to show you how I've done it on teams I'm leading." read more...

add a comment |category: |Views: 7

tags: another

Code Better - Use String.Format(codebetter.com)

submitted by gavinjoycegavinjoyce(25.7k) 5 years, 4 months ago

Poorly handled exceptions might speak volumes about someone's coding abilities, but it's string concatenation that's a sure bet to kill a programs readability (thus maintainability). Everyone knows that they should use StringBuilder's for better performance when concatenating a lot, but to improve maintainability, string.format is king! read more...

add a comment |category: |Views: 108

tags: another