|
John C wrote: Well I find it harder to read for one thing
Depends, I know SQL and find it easier to read than the equivalent code. Unless it gets convoluted and you're trying to perform lots of operatings in a LINQ expression then I agree it'd be easier to separate it out a bit.
John C wrote: we have a lot of code written already and I can't see how jamming this in would affect that positively
That's fair enough, if you've already got a code-base that does the same thing as LINQ then there's no point in using it.
John C wrote: I was thinking of the example someone gave somewhere else in this thread where they were querying the contents of two combo boxes at the UI using LINQ to affect some kind of change
That kind of thing is possible anyway, just because it's using LINQ doesn't mean LINQ's a bad thing. Any kind of technology has the potential for abuse.
|
|
|
|
|
Ed.Poore wrote: That kind of thing is possible anyway
Possible but not at all easy in the example of querying data stored in a combobox. I'm not knocking LINQ just backing up my statement that it makes it possible to do things you previously couldn't or shouldn't do.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
I see you point but all technology fails in that respect. Still that's the whole point of this site, making developers better.
|
|
|
|
|
John C wrote: It doesn't seem to do anything that you couldn't do before
That could be said about a lot of things - like C#, C++, etc. Once upon a time, C++ was 'compiled' as a first step by conversion to C. Thus, nothing in C++ is, by your argument, of interest viz-a-viz C.
Or, as was put by King Solomon (under one of his pseudonyms): "Everything which can be done has been done; Everything which can be said has been said; And there's nothing new under the sun."
Spreadsheets? We don't need no stinkin' spreadsheets! Where's my ledger paper and pencils. Bring me an eraser! Wordprocessors? Typewriter and some cut-and-paste for graphics (real scissors, real rubber cement), for after all, graphic design to accompany text has been around for a while. Spelling checkers were large hunks of paper-sheeting called dictionaries. Who needs shortcuts?
Actually, you hit it right on the head: it's a syntax shortcut: and the enormous nested if -(and other)
blocks I'd need to duplicate it are well worth short-cutting.
I'm generally behind the curve on new stuff - especially development tools - as they come out (it seems) daily. LINQ has extraordinary potential and a short-ish learning curve (to start).
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"How do you find out if you're unwanted if everyone you try to ask tells you to go away?" - Balboos HaGadol
|
|
|
|
|
Time will tell I guess and I'm sure I'll be using it some day if it matures and sticks around long enough but right now we're not doing any new development as we have a number of existing applications we are supporting and adding new features here and there over time. I can't see any reason to try to shoehorn it in when it effectively does nothing I'm not already doing but imposes the penalty of requiring the .net 3.5 runtime when many of our customers probably don't have it and I don't want to force them to do anything they don't absolutely have to do, it's like herding cats.
"It's so simple to be wise. Just think of something stupid to say and then don't say it."
-Sam Levenson
|
|
|
|
|
Presently, we're targeting v2.0, mainly because IT hasn't approved v3.5 for use on the webservers yet. We have a major new feature release to the website planned for the coming months (we turn it over to QA in August; go live should be in September) so we should be upgrading after that.
Truth,
James
|
|
|
|
|
Hmmmm.... my first thread, and it has come a long way .
|
|
|
|
|
3.5 as I only create applications for internal use.
|
|
|
|
|
I think the only thing that determinates which version is the target market. If we target small specjalized group of users we can force them o move to any version we need - we can force them to do almost anything . But if the target is global then we need to consider many things like: OSs used, download speeds, client mashine speeds. In many cases 2.0 or 2.0sp1 is sufficient.
|
|
|
|