Click here to Skip to main content
15,895,740 members
Home / Discussions / C#
   

C#

 
GeneralRe: call C++ dll from C# without name mangling Pin
Richard MacCutchan28-Nov-11 22:58
mveRichard MacCutchan28-Nov-11 22:58 
QuestionRegEx.Split Pin
devvvy28-Nov-11 17:01
devvvy28-Nov-11 17:01 
AnswerRe: RegEx.Split Pin
Peter_in_278028-Nov-11 17:18
professionalPeter_in_278028-Nov-11 17:18 
AnswerRe: RegEx.Split Pin
devvvy28-Nov-11 17:29
devvvy28-Nov-11 17:29 
AnswerRe: RegEx.Split Pin
PIEBALDconsult28-Nov-11 17:48
mvePIEBALDconsult28-Nov-11 17:48 
AnswerRe: RegEx.Split Pin
BillWoodruff29-Nov-11 14:22
professionalBillWoodruff29-Nov-11 14:22 
GeneralRe: RegEx.Split Pin
devvvy29-Nov-11 22:56
devvvy29-Nov-11 22:56 
GeneralRe: RegEx.Split Pin
BillWoodruff30-Nov-11 7:44
professionalBillWoodruff30-Nov-11 7:44 
devvvy wrote:
you can't really expose this via UI to end user
Hi,

I just want to make sure you understand that what I am asking in my response to you refers to other developers as being "end-users." And I am speaking to the issue of code maintenance in the context of projects involving complexity and teamwork (not speaking about virtuoso code written by geniuses who will support it to their graves, and perhaps beyond).

I have personally seen cases where complex RegEx's were not fully documented, and then the person who wrote them moved on, or was a temporary consultant, or whatever, and, later, bugs developed requiring modification of the RegEx, and the effort it took on the part of the then available developers to grok the original, and make effective change was a true waste of time.

Perhaps in the ideal world, to get a beginning degree in CS, you'd have to pass a core competency test in RegEx ? I think not. And new tools, like Linq, offer alternatives that are much easier to document, and, imho, maintain. And the times now with amazing desktop CPU horsepower, and relatively vast amounts of memory, allow, I think, for a choice, at times, of high-clarity, highly maintainable, over possibly obscure, but higher-performant, code.

Which is not to say that someone could not document a complex RegEx so well that it would be easy to maintain: I've just, personally, never seen that in the "real-world."

Now if my hypothesis ... that RegEx skills are diminishing among programmers in general over the last ten, twenty, years ... is off-base: well, then 'fugedda about it' Smile | :)

But, I have no bias against RegEx per se, and admire its almost cryptic syntax which is so powerful, just as I once admired certain LISP small functions that, via multiple recursion, did amazing things (the problem being that in order to understand how they did what they did required you to have mental abilities equal to their, often brilliant, creators).

best, Bill
"Anyone who shows me my 'blind spots' gives me the gift of sight." ... a thought from the shallows of the deeply shallow mind of ... Bill

QuestionDatagridview autogenerate columns false dont work Pin
ChauhanAjay28-Nov-11 16:36
ChauhanAjay28-Nov-11 16:36 
QuestionAutomatic deployment Pin
Super Lloyd28-Nov-11 14:52
Super Lloyd28-Nov-11 14:52 
AnswerRe: Automatic deployment Pin
Dave Kreskowiak28-Nov-11 15:45
mveDave Kreskowiak28-Nov-11 15:45 
GeneralRe: Automatic deployment Pin
Super Lloyd28-Nov-11 16:07
Super Lloyd28-Nov-11 16:07 
Questioncompare two datatables Pin
jojoba201128-Nov-11 4:35
jojoba201128-Nov-11 4:35 
AnswerRe: compare two datatables Pin
Rob Philpott28-Nov-11 5:37
Rob Philpott28-Nov-11 5:37 
AnswerRe: compare two datatables Pin
SilimSayo28-Nov-11 5:45
SilimSayo28-Nov-11 5:45 
AnswerRe: compare two datatables Pin
PIEBALDconsult28-Nov-11 10:05
mvePIEBALDconsult28-Nov-11 10:05 
GeneralRe: compare two datatables Pin
jojoba201129-Nov-11 20:39
jojoba201129-Nov-11 20:39 
GeneralRe: compare two datatables Pin
PIEBALDconsult30-Nov-11 1:50
mvePIEBALDconsult30-Nov-11 1:50 
QuestionWindows Media Encoder problem with Desktop Experience in windows server 2008 Pin
chandrasenareddybhumireddy28-Nov-11 1:31
chandrasenareddybhumireddy28-Nov-11 1:31 
QuestionMultiple Graphics.DrawString calls Pin
Danzy8328-Nov-11 0:24
Danzy8328-Nov-11 0:24 
AnswerRe: Multiple Graphics.DrawString calls Pin
Luc Pattyn28-Nov-11 0:50
sitebuilderLuc Pattyn28-Nov-11 0:50 
GeneralRe: Multiple Graphics.DrawString calls Pin
Danzy8328-Nov-11 1:03
Danzy8328-Nov-11 1:03 
AnswerRe: Multiple Graphics.DrawString calls Pin
Wayne Gaylard28-Nov-11 0:55
professionalWayne Gaylard28-Nov-11 0:55 
GeneralRe: Multiple Graphics.DrawString calls Pin
Luc Pattyn28-Nov-11 1:04
sitebuilderLuc Pattyn28-Nov-11 1:04 
GeneralRe: Multiple Graphics.DrawString calls Pin
Wayne Gaylard28-Nov-11 1:19
professionalWayne Gaylard28-Nov-11 1:19 

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.