|
Chris Maunder wrote: And of course it all worked flawlessly on our (deliberately) underpowered test rig.
It only does that to lull you into a false sense of security.
|
|
|
|
|
Chris Maunder wrote: A database update that went wrong
Sounds like you need a DBA
Common sense is admitting there is cause and effect and that you can exert some control over what you understand.
|
|
|
|
|
Next you're going to start going on and on about "process" and "best practices" and "backups" and "not drinking on the job" and other such nonsense.
cheers
Chris Maunder
|
|
|
|
|
Hmm, "Quote selected text" doesn't work on the ipad.
Anyway, is drinking on the job a cause or an effect?
Wrong is evil and must be defeated. - Jeff Ello
(√-sh*t) 2
|
|
|
|
|
Jörgen Andersson wrote: Anyway, is drinking on the job a cause or an effect?
If the world was perfect they would be synonyms
|
|
|
|
|
|
Few hours ago, I was about to throw my iPad Mini, for not loading my Code Project.
Then I opened some other website, which worked.
I missed Code Project. Hope everything is fine now.
I can also see the Google Helpouts option at right side of screen. Nice work Chris.
|
|
|
|
|
Your sense of transparency (the word these days) is refreshing. I am glad your site is still rocking the Casbah.
|
|
|
|
|
Because I need to hear Carl Sagan on a Monday morning. Great video for the APOD crowd: Wanderers[^].
TTFN - Kent
|
|
|
|
|
Not to start a flame war, I am simply relating my recent personal experience...
So, over the last couple of years, I've forayed into Ruby, PHP, very recently Java, and this coming from a background of C, C++, Pascal, Fortran, even some COBOL, and of course assembly language and some things I don't or don't want to remember (BASIC, LISP and Forth come to mind.)
In terms of "modern" programming languages, and especially after my recent foray in Java (granted, version 7, so I'm not able to take advantage of lambdas) I have come to the conclusion that, frankly, C# is the most elegant and well crafted language I've ever worked with. Yeah, I remember the C# 1.0 days when I was cursing the lack of templates/generics and the idiocy of single inheritance, but no more.
I find that code that I write in C# can be elegant, well crafted, expressive, and just a pleasure to write. I don't have that experience with other languages, except perhaps for F#, once I get into the rhythm of FP.
Marc
|
|
|
|
|
I think the reason is that C# team put the ego aside - they do not care how many times John Doe says: 'It was copied from ...', what matter if it is a useful language feature or not...So C# - even being a new-age language - has all the 'wisdom' all the old languages got ever...
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Even though I'm always a C/C++ guy at heart for the desktop and a PHP/JavaScript guy for the web, I happen to agree with this. As a language, without the extra garbage added on by some frameworks like EF, C# really is a nice language. My biggest beef with it is no support for multiple inheritance, but every environment has a couple of "would be nice" things.
It's the simple stuff though. Like partial class support. If you're in an IDE that sucks, and thus makes code navigation a b*tch, it's nice to have compiler support to be able to make files more manageable. Things like that. Sure, I can get around it, but it's nice to have.
And needless to say, I was tickled pink when C++ 11 adopted some ideas from newer languages like C#.
Jeremy Falcon
|
|
|
|
|
I agree- and even more so when I returnto something I wrote > 1 year ago in C# I can still work out what the code does and why, and am back up and running pretty quickly.
I do sometimes wish great swathes of it were marked as depreciated though - people who don't use typed (generic) lists and pass DataSets around between methods need nudging towards a better path...including me.
|
|
|
|
|
Sorry, DataSets and DataTables need to go - they are the spawn of Beelzebub himself.
|
|
|
|
|
Pete O'Hanlon wrote: DataSets and DataTables need to go - they are the spawn of Beelzebub himself.
I find them (DataTables more so) quite convenient, though I can definitely imagine both simpler and more flexible approaches. As long as we're not treading into dreaded O-R-M territory.
Marc
|
|
|
|
|
Friends don't let friends ORM.
|
|
|
|
|
Pete O'Hanlon wrote: DataSets and DataTables
Oh I like it when you talk dirty Pete.
Jeremy Falcon
|
|
|
|
|
I've got them blighting up one of my winform apps. The worst bit is there's not even a real DB involved.
They were the easiest way to get something with databinding to a grid working (at this point I don't recall exactly what); and in prototype the version of the backend that read/processed the xml data files with tables was moderately faster and had significantly less total code than the one that read it all into classes and handled it that way. After the testers finished finding every edge case I'd overlooked when playing with it the latter was definitely no longer the case and the code was a massive cluster elephant as well.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
--Zachris Topelius
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
|
|
|
|
|
Ugh. Is it really that good?
I've fiddlyfarted with it here and there, but I've never done any serious work in it.
I've been a C++ guy since the 80s (with lots of everything in the interim.)
Maybe it's time to suck it up and take a serious bite out of it.
|
|
|
|
|
The heavily nerfed templates in C# will probably annoy you.
They annoy me, and I don't even work with C++ that much.
|
|
|
|
|
I'm on this same boat... I've been C/C++ for so long it's hard to see too much justification of why to change something that's worked so well for so long. I have however, heard good things about C#... and it'll be even more interesting once MS makes their .NET framework open source and it spreads to other platforms more easily.
As a side note, I've also recently started working in Python and can definitely see why people like it. Can easily be made as fast as C++ and easy to work with like Matlab scripts.
|
|
|
|
|
Python's a slick little language.
I use perl day to day. It's tough to justify C++ for these quick hit scripts I've fallen in to writing.
God how I miss real programming.
|
|
|
|
|
mikepwilson wrote: I use perl day to day. It's tough to justify C++ for these quick hit scripts I've fallen in to writing.
In my last job I used perl for quick scripts too. It worked out well...
|
|
|
|
|
I love it. It's the right tool for a great many jobs.
The fact that I can just develop and deploy as fast as I can is a godsend.
|
|
|
|
|
Albert Holguin wrote: Python and can definitely see why people like it. Can easily be made as fast as
C++ and easy to work with like Matlab scripts.
I use Python a lot these days and generally like it, but it is really impossible to make it even remotely as fast as C++. Even Java code is blazingly fast compared to Python.
|
|
|
|