|
If it ain't broke fix it till it is
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
I don't dare break it - I only know one password, and it's the one to get into that app ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: I still use it today, and it still works fine Because you know exactly what NOT to do?
|
|
|
|
|
My first professional job with C# began in 2004, but I first started playing with it in 2002 -- I took a class in C# and ADO.net.
However, I've been a fan of C# since a first read the spec in 1999 (if I recall correctly).
|
|
|
|
|
Pah! Such a youngling you are!
|
|
|
|
|
If you rewrite it now, then in 12 (well actually more like 2) years it will be really badly written compared to how you do it at that time. So what have you gained?
I just love code that is modern and up to spec.... I can look at it for a long time... but then I need to press enter to move on to write the next line, and the code I was looking at joins the rank of obsolete junk.
|
|
|
|
|
OriginalGriff wrote: The depressing bit is that since 2010 I've been trying to find the time to rewrite it from scratch, because it's really badly written compared to how I'd do it now ...
It would be more depressing if it still seemed well written and your programming style had not evolved and improved over all of that time.
|
|
|
|
|
OriginalGriff wrote: The depressing bit is that since 2010 I've been trying to find the time to rewrite it from scratch
I've been doing same with my first C++ app (a time tracking app) since I wrote it 1997
OriginalGriff wrote: because it's really badly written compared to how I'd do it now ...
Same...
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I'm curious where you came from prior to C#.
I went from FOTRAN (via VAx Assembler) to C . The C code, for a while, was written like it was FORTRAN using C syntax. Then, suddenly, it wasn't.
As for C#? I used it a few times and even remember the introductory articles and how it was planned to attract and replace VB.NET users. Also, the resentment that the help library for VS had lots of examples of C# and C++ got the short and smelly end of the stick - I often had to guess at things.
Ya' know - I still think I resent C# because of that
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
FORTRAN, then PASCAL, then to realtime embedded assembler - decades of that, slowly migrating to a C / assembler mix, then C++, then C++ / assembler mix (some embedded, some Windows), then to C# / Windows pretty much exclusively.
There were others in there (COBOL, ALGOL, VB) but fortunately they died a death and no-one used them for real-world projects!
The worst combination? Windows 3 apps in C ... brrrrr! Nothing was simple in those days!
The best fun? Z80 assembler in a tiny RAM / ROM combination. Hard work that you really had to think about and plan ahead - but when it worked, that was a really good feeling.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
First work in Windows was, mercifully, delayed until NT .
But the best fun was DOS - C w/inline assembler and also just make .COM file and C-callable function in assembly (a tiny graphics library for my FORTRAN) and the odd TSR.
The C/inline mainly went for the ROM BIOS and the incredible fun that offered; also, when in need of memory, using unused video memory.
The most fun, pound for pound, were the TSR's as they were for mischief. One of them kept rewriting the input buffer back to the command line backwards but stored the correct value, as well, so it still executed. My favorite, however, was one that took every eighth 'd' or 'D' and replaced it with an 'f' or 'F'. Just enough to cause havoc yet extremely hard to investigate unless you already knew what you were looking for.
Funny thing - that creating an annoyance was such a good time.
Ravings en masse^ |
---|
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein | "If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
"I didn't mention the bats - he'd see them soon enough" - Hunter S Thompson - RIP
|
|
|
|
|
Since my first Real Job(tm) in 2005. I've done other stuff on and off between; but C# is probably 60-75% of my professional career at this point.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing 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
|
|
|
|
|
OriginalGriff wrote: I've been trying to find the time to rewrite it from scratch, because it's really badly written compared to how I'd do it now ...
You and God share the same problem.
|
|
|
|
|
|
I think Oracle might still.
You could try asking Oracle@Delphi ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Just don't put your hand in his mouth!
Anything that is unrelated to elephants is irrelephant Anonymous
- The problem with quotes on the internet is that you can never tell if they're genuine Winston Churchill, 1944
- Never argue with a fool. Onlookers may not be able to tell the difference. Mark Twain
|
|
|
|
|
I tried asking...but the Sphinx asked me a question and I couldn't answer it and he ate me.
|
|
|
|
|
Ever Since 1400 BC!
|
|
|
|
|
I still use Delphi, mainly to support my old code base or to dosomething real quick that isn't good in Python. My new projects are in .Net, C# or F#
CQ de W5ALT
Walt Fair, Jr.PhD P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
From my point of view, nobody has implemented visual inheritance as transparently and perfectly as Borland / Embarcadero (more than 20 years ago). Neither WPF nor others can hold a candle here...
They where also the first who gave the tools to split UI and DAL in an effient way (also before more than 20 years).
Unfortunatelly the Borland management was not able to profit from that and last but not least MS bought the VCL chief developer from Borland.
|
|
|
|
|
I used to maintain a few applications using Borland C++ back in the day. I remember liking it very much.
|
|
|
|
|
Yep it is something nice and yes I know it also only from the c++ side
|
|
|
|
|
wrote: From my point of view, nobody has implemented visual inheritance as transparently and perfectly as Borland / Embarcadero (more than 20 years ago). Neither WPF nor others can hold a candle here...
So true...
|
|
|
|
|
I have read online that the language is not dead, but dying. Delphi is losing more programmers than gaining.
Delphi is primarily used still for legacy apps.
|
|
|
|