|
I dunno. I can think of a few people who would be more useful as starter material for a reef.
Software Zen: delete this;
|
|
|
|
|
Gary R. Wheeler wrote: people who would be more useful as starter material for a reef.
Given their accomplishments in life, their only accomplishments in death would be shipwrecks.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Honestly I think it's better to learn C++ without learning C first, otherwise Cisms leak into your code, and I say that as someone that learned C first.
Real programmers use butterflies
|
|
|
|
|
I still can't deal with snake_case_variables. It was my life for years but it still gives me the shivers.
I've gone soft since my C++ days, obviously.
cheers
Chris Maunder
|
|
|
|
|
Hey now! I use snake case in GFX. If it's good enough for the STL it's good enough for the rest of us.
Real programmers use butterflies
|
|
|
|
|
I'm going to write a VSCode addin that automatically converts snake case to FORTRAN case. ie every variable gets renamed to be a single letter. When all letters are used we start back at aa, ab etc
cheers
Chris Maunder
|
|
|
|
|
Save me from assembly programmers writing C code.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
I still have nightmares.
GCS d--(d+) s-/++ a C++++ U+++ P- L+@ E-- W++ N+ o+ K- w+++ O? M-- V? PS+ PE- Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
|
|
|
|
|
You called?
I have lived with several Zen masters - all of them were cats.
His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
|
|
|
|
|
Been there, did that, still making money at it . I spent my early career in and out of various assembly languages, all microprocessor-based. Now that I think about it, I think learning assembly, then C, then C++, and finally C# has made me really appreciate each language as I learned them. Each language in turn provides a manner of expression that is more concise than its lower-level ancestor. If we are honest and not engaged in pointless optimization, we choose a language based upon the abstractions required to solve the problem at hand.
That said, I have a project now that was originally written in assembly language for a custom-built embedded processor. When it was translated to C the programmer was learning C at the same time. As a result, the C code looks very much like the original assembly source. Everything's global and everybody touches everything. Somehow the original guy discovered the setjmp()/longjmp() abomination, and that adds to the fun.
Software Zen: delete this;
|
|
|
|
|
Quote: When it was translated to C the programmer was learning C at the same time. As a result, the C code looks very much like the original assembly source. Everything's global and everybody touches everything. That's exactly what I have to deal with: 'casm' and it is an abomination.
"In testa che avete, Signor di Ceprano?"
-- Rigoletto
|
|
|
|
|
Save me from people who think they know programming...
The first two examples are VB, all the others are C#, so don't give me that C# is better than VB crap
4k+ lines of undocumented VB.NET code in a single WinForm, boasting over 80 fields at the top of the file
An application that uses global variables for everything! Seriously, they set a global product name and use it in a form, then set it again to use it in another form (breaking the first form if it was ever refreshed, which was not possible, until it was ).
40k+ tables in a single database, with no naming convention whatsoever.
1k+ lines in a single function with loops that are exactly the same, save they iterate over different entities that are functionally the same, but technically aren't.
A report that showed 2000 users, but took 20 minutes to run, team couldn't get it faster until they hired me and I got it back to 3 seconds.
Guy who called me a "little man", cost €100 an hour, but deleted my disposing statements because "the garbage collector handles it for you" and then broke production.
Some guy who created twelve classes that looked exactly the same, but with different read-only property values instead of one class and instantiated that twelve times
All different projects made by different people.
|
|
|
|
|
In my case, I have upgrade files being generated with a very format specific requirement. Any comments as to why we're doing it this way? Nope. But I do have a comment that says "loop through the data." Sigh, I know that.
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
|
Oh, good, that's not me (I don't know C++).
|
|
|
|
|
There used to be a website called CodingHorrors.com where people used to post samples of the abominations they would come across. Not sure if it's being maintained any more.
~d~
|
|
|
|
|
There's so much we could get done if you could just listen to some simple requests and ... take care, of business ... i guarantee you i'd never ask you to do anything you don't know how to do; i'd never ask you to make me coffee ... oh, okay, i see, yes, i'll never call you "darlin'" again ...
OMG, no ! i am not asking you to appear as Clippy, or any other too cutsie icon.!
Like ... i'm using Visual Studio, and i just whisper 'stop,' and the current app stops running; i say 'rebuild,' and it rebuilds the solution; and, a bit fancier request: 'insert datetime.' Maybe one-day we could get into really fancy stuff, like 'insert snippet named propertytemplate3.'
Or, like ... i'm using PhotoShop, and i just whisper 'rotate,' and the current selected layer shows the little hickeys that let me do rotation, as well as scaling; i say 'save as png,' and it saves a copy as a .png file.
And, wow: if you'd talk to me, ask me for whatever you need to help me get things done ... if i could mutter sweet nothins' to you like: 'implement IPropertyChanging;' and, you could respond with asking me: 'where?' ... to which, i might say: 'public Properties in the current document.'
We could have a whole repertoire of little routines where we went back and forth ... winnowing down the possibilities with each step.
Any confusion, we could just backtrack; i hope you won't feel patronized if i do mention you've got a thang about ambiguity, and i do tend to get slacky as my imagination rotates faster than my logic. i hope this is as good for you as it is for me !
i know this is a lot to ask, and i don't want you to go out of your way to help me just because my old eyes are getting weaker. i think you'd be appreciated by multitudes, not just past-their-use-by-date geeks. And, what a hero/heroine you'd be to the hordes of gen-x/y/z who can't type well, and have the attention span of gnats.
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
I'm thinking maybe an intervention here?
Charlie Gilley
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
|
|
|
|
|
No, Bill's the site's poet laureate.
|
|
|
|
|
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Thanks, i'll try anything once
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Have you tried "Alexa! Write this piece of code for me?"
Real programmers use butterflies
|
|
|
|
|
not that desperate ... yet
«One day it will have to be officially admitted that what we have christened reality is an even greater illusion than the world of dreams.» Salvador Dali
|
|
|
|
|
Or simply:
Alexa, browse to StackOverflow
Alexa, copy
...
win!
|
|
|
|
|
It's certainly an interesting idea for editing code, but I don't quite see how it would work for writing code. Remember that all the low-code / no-code techniques work OK within their problem domains, but as soon as one leaves them - wild and eldritch beasts lurk on all sides.
I can see it working quite well for office programs (Word, PowerPoint, etc.), just not for programming.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|