News for hackers. Stuff that matters.
Re:My Many Girlfriends by hirundo on Thursday January 06, 2022 @06:05AM (#29822069)
Don't anthropomorphize your variables, they hate that. And it makes it awkward when you have to ruthlessly eliminate them.
Re:My Many Girlfriends by usgroup on Thursday January 06, 2022 @06:26AM (#29822238)
At least he wasn't "objectifying" them.

(for the sensitive, this is a joke about class naming convention, which didn't seem subject to female variable names in the article).

Re:My Many Girlfriends by starfallg on Thursday January 06, 2022 @06:53AM (#29822459)
They're not fat, just overloaded!
Re:My Many Girlfriends by speed_spread on Thursday January 06, 2022 @09:35AM (#29823971)
For all its political correctness, Rust still has Fat Pointers. Which might be put to good use when doing Response Body Shaming?
Re:My Many Girlfriends by usually on Thursday January 06, 2022 @10:18AM (#29824556)
[deleted]
[deleted]
Re:My Many Girlfriends by chrisseaton on Thursday January 06, 2022 @08:10AM (#29823092)
Because it’s downvoted? Probably just people generally downvoting jokes.
Re:My Many Girlfriends by rhacker on Thursday January 06, 2022 @11:22AM (#29825541)
super
Re:My Many Girlfriends by zefhous on Thursday January 06, 2022 @12:56PM (#29827050)
I don't know. Is it worse to objectify them or to treat them functionally?

How would you feel to be locked up and separated into discrete units, only to be used up and thrown away?

Re:My Many Girlfriends by neogodless on Thursday January 06, 2022 @08:47AM (#29823452)
It's also a bit hard to find good methods that are seriously into polymorphism.
Re:My Many Girlfriends by swyx on Thursday January 06, 2022 @10:18AM (#29824552)
tuples and thruples are my thing but they aren't the norm in my language :(
Re:My Many Girlfriends by dekhn on Thursday January 06, 2022 @10:49AM (#29825050)
there's even a language called Linda that makes extensive use of tuples. https://en.wikipedia.org/wiki/Linda_(coordination_language)
Re:My Many Girlfriends by rory on Thursday January 06, 2022 @10:02AM (#29824338)
Eschew variables altogether. It's the constants that make for a good life.
Re:My Many Girlfriends by gumby on Thursday January 06, 2022 @10:52AM (#29825098)
I use template metaprogramming to do all the computation at compile time.
Re:My Many Girlfriends by high_density on Thursday January 06, 2022 @09:03AM (#29823622)
hm I regularly massacre processes in my laptop...
Re:My Many Girlfriends by Cthulhu_ on Thursday January 06, 2022 @09:06AM (#29823656)
"how to terminate forked children"
Re:My Many Girlfriends by magoghm on Thursday January 06, 2022 @10:23AM (#29824644)
What I love about Unix is that you can talk about pipes blocked by dead children spawned by daemons, and it actually makes sense.
Re:My Many Girlfriends by bitwize on Thursday January 06, 2022 @10:17AM (#29824541)
"Out of memory: Kill process X or sacrifice child"

The "Feed me a stray cat" of kernel error messages.

Re:My Many Girlfriends by brezelgoring on Thursday January 06, 2022 @11:19AM (#29825485)
What's the 'feed me a stray cat' kernel error message? I thought that was just part of the American Psycho lore.
Re:My Many Girlfriends by bitwize on Thursday January 06, 2022 @12:49PM (#29826929)
Well, a panic arose on Twitter when conservatives discovered their crashed smart TVs started demanding the sacrifice of children... must have been all the daemons possessing our computers:

https://www.reddit.com/r/ProgrammerHumor/comments/p4v7q3/the...

Re:My Many Girlfriends by wbl on Thursday January 06, 2022 @09:31AM (#29823936)
Just be careful to reap the results lest you get zombies. Yes, that's the standard Unix terminology.
Re:My Many Girlfriends by speed_spread on Thursday January 06, 2022 @09:36AM (#29823982)
"purging orphans"
Re:My Many Girlfriends by messe on Thursday January 06, 2022 @08:57AM (#29823547)
Just think of variables as you would Larry Ellison.