Talk:24 game/CSharp: Difference between revisions

(Polling other developers to chime in on the use of the XPathNavigator.Evaluate method.)
 
Line 1:
==Use of XPathNavigator.Evaluate()==
I'm curious what the community thinks about leveraging the XPathNavigator.Evaluate() method. Is this "bad" programming if there are no other comparable alternatives?
 
I'd personally favor the custom parser, but that's only because using the navigator feels like a hack. A big plus for the navigator, though is that it is less complex from a client code perspective and is a proven block of code vs. writing a new custom parser.
 
:I'm ''not'' a C# programmer, but if it is a standard library that is officially supported then why not use it? It stops code bloat and is less to maintain. I did similar when using the in-built Python AST module [[Arithmetic_evaluation#ast_standard_library_module|here]]. --[[User:Paddy3118|Paddy3118]] 06:47, 29 April 2010 (UTC)
Anonymous user