|
011111100010 wrote: There is no bacon.
Say you were just kidding...Noooooooooooooooooooooooooooo
I may not be that good looking, or athletic, or funny, or talented, or smart
I forgot where I was going with this but I do know I love bacon!
|
|
|
|
|
When people have to shuffle past you while you are sitting in a theater do you think "The end is near!"
Socialism is the Axe Body Spray of political ideologies: It never does what it claims to do, but people too young to know better keep buying it anyway. (Glenn Reynolds)
|
|
|
|
|
I am assuming you cooked them to perfection. Ate them till your ravenous appetite was sated. Drifted off into fish taco lullaby land.
Please tell me it is so.
|
|
|
|
|
They were most enjoyable. Nice and spicy - but not so spicy you couldn't taste the fish - crisp taco shell, fresh salad. Worth the wait!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Good to hear! Thanks for saving some for the rest of us.
|
|
|
|
|
Well I made extra ... but none of you turned up, so we ate 'em!
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: none of you turned up
You very cleverly omitted two things - your address, and the invitation.
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|
|
Those were left as an exercise for the reader.
Try QA ...
Sent from my Amstrad PC 1640
Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
uopz_rename — Rename a function at runtime
<?php
uopz_rename("strlen", "original_strlen");
echo original_strlen("Hello World");
?>
This is how framework bloats start to happen?
Full Reset
|
|
|
|
|
Maybe to write your own strlen...
"The greatest enemy of knowledge is not ignorance, it is the illusion of knowledge". Stephen Hawking, 1942- 2018
|
|
|
|
|
Although in some strange realm that may be something one needs to do, if one were writing their own strlen(...), would it not be better to give it its own name, too? Or maybe create some weird-ass overload if the language permits it?
On the other hand, if it's scope is wide enough, think of the fun you could have with other members of some team when their code goes insane for no discernible reason.
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 are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
One of the reasons I refuse to work in Ruby. Monkey-patching.
Or this amusing what-if scenario:
You can add methods right to core classes! You don’t have to call Time.now.advance(days: -1), you can write 1.day.ago! It makes Ruby a joy to read and write. Until…
You hit weird bugs because a patch changed Hash.
You get confused about which code actually ran, so you can’t debug it when it breaks.
And you finally figure out that all your problems were caused six months ago, when you monkey-patched Enumerable to make one line of code five characters shorter.
Latest Article - A Concise Overview of Threads
Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny
Artificial intelligence is the only remedy for natural stupidity. - CDP1802
|
|
|
|
|
Yeah, Ruby is no gem
|
|
|
|
|
I think I would never prefer to work with languages like these, without any law & order.
Full Reset
|
|
|
|
|
That example perfectly encapsulates one of the issues of modern programming languages. History repeats itself, as programmers in the 90's mistook less lines of code, with obfuscated one-liners.
Now the line's not obfuscated, but you're still sacrificing so much... for a few lines of code.
Never again, learn from history.
|
|
|
|
|
wow!
you could rename everything to make your code look better...
make it look just like, say, visual basic
how cool would that be? :vomit:
damn! gosh darn it! there's no vomit emoji!
Message Signature
(Click to edit ->)
|
|
|
|
|
Lopatir wrote: there's no vomit emoji!
This one comes close:
Failing that, either 🤮 or 🤢 would do the trick.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: Failing that, either 🤮 or 🤢 would do the trick.
Well, apparently no, they won't do the trick....
|
|
|
|
|
If I remember right, PHP did not have anything like namespaces. I think this was their grand alternative to solving name collision. Just what I would expect from guys playing around with a badly thought through interpreter.
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.
|
|
|
|
|
Full Reset
|
|
|
|
|
Imagine the pranks you could pull on your coworkers
|
|
|
|
|
Anyone caught doing that is just begging for a bigger workload.
|
|
|
|
|
Someone told me that in Forth, every token is a symbol of a defined value. So you may define 3.14159 to have the value 3.0. Or to have the symbol 3 have the value 17. I never programmed in Forth, so I never tested out if this is true. If it is ...
In spite of JavaScript, Forth, Python, Java and whathaveyou of late, later and latest binding languages: I still love those languages that are "You know what you get". Compile-time, static, reliable languages!
|
|
|
|
|
What do you achieve that is different from an "override" or something as primitive as providing a subclass implementation of a virtual function?
Once you let the cats loose, you loose control of them. You can't say "Define your own functions by providing implementation of virtual functions, but in no other way!" Once you have opened the cage, they run loose. There is not that much difference between providing an alternate virtual function definition from replacing one real function definition by another one.
|
|
|
|
|
Perhaps because I want to use the name for something else. For example:
// is 'name' a strong lender?
bool strlen( char const* name);
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
|
|
|
|