- Feature Articles
-
CodeSOD
- Most Recent Articles
- Mr Number
- intint
- Empty Reasoning
- Zero Competence
- One Month
- A Little Extra Padding
- Ready Xor Not
- A Set of Mistakes
-
Error'd
- Most Recent Articles
- Monkeys
- Killing Time
- Hypersensitive
- Infallabella
- Doubled Daniel
- It Figures
- Three Little Nyms
- Tangled Up In Blue
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
vvvrist
Admin
Just vvvery dumb on multiple levvvels. Maybe tomorrow will havvve a bigger WTF.
Admin
Probably an abbreviation for "Visionary Validity Verification".
Admin
Not so bad, either. I recall a (pretty formal) seminar in quantum chemistry with an young and witty quantum chemist presenting his developments. Someone asked for a snipped of code used. Our young and witty quantum chemist has a habit of naming variables and function accordingly to the current mood. A Fortran axample: SH..T1=F..KIT2(I) SH..T2=F..KIT3(I) ....
Admin
Just wondering whether Luka's co worker comes from the netherlands. The tourist information spots are called VVV (https://en.wikipedia.org/wiki/Vereniging_voor_Vreemdelingenverkeer).
Admin
hopefully, that devvveloper wil getl the boot before Luca goes on hhholiday again.
Admin
Back in Ye Olden Dayes before real IDEs I've written debugging helper functions like that. Something with a quick-to-type weird name that I could invoke during a breakpoint to query or evaluate some complicated [whatever].
But they sure as hell didn't make their way into production, much less be called from all over the active codebase.
Admin
Sounds like dd() in Laravel. But that has better purpose.
Admin
vvvhat the hell is that function naming?
Admin
I do the same thing. If I want to make a variable or function that is only ever intended for debugging and must not under any circumstances run in production I deliberately give it a stupid name so that it'll be caught in code review and flagged.
Admin
The reimplemented version will be named vvv2().
Admin
In .NET I am a big fan of putting 'debug code' in a #If DEBUG to ensure it is kept out of Release.
Admin
For the record, by deliberately stupid I mean stuff like calling the function do_not_commmit_test_1(); It's kind of hard not to flag that.
Admin
"I do not have a name. You can call me vvv."
Admin
VVV is short for veni, vidi, vici - so that might explain the thought process.
Addendum 2024-12-05 05:39: It actually describes the code perfectly, if you think about it:
Admin
I sought it vas da vorld vide veb.
Admin
In Morse code, you send vvv when you're testing the transmitter, so maybe he's just a crusty old guy?
Admin
Who the hell gavvve SpectateSwamp access to the repo?
Admin
You missed the point entirely. This was a "seasoned developer". As in, they knew the obvious BEST way to make sure this new person NEVER takes a holiday again requiring this developer to have to do their work. Genius. Pure genius!
First Rule of Holidays: Always do the kind of work such that NO-ONE will call on you to do their work while on holiday EVER again. ref: see washing dishes rule, setting table rule, doing laundry rule, etc. etc.
Admin
I use these names when I'm trying out some new methods and just need something to type in. When I move to the code I'll actually use, I'm switching to something understandable.
Admin
"Even places where a more "correct" call had been used had been refactored to use <some bad code>"
I've had this happen to be and it's very frustrating.
Admin
VVV = Venerable Validation Vunction.
Admin
Yea, NET is beautiful like that. But my habits were formed back when it was not even a twinkle in microsquishes eye.
Admin
@Officer Johnny Holzkopf VVV = 'Vailable Value Verifier