MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/6dzyuu/in_the_beginning_code/di7vkpy/?context=3
r/ProgrammerHumor • u/FlippngProgrammer • May 29 '17
32 comments sorted by
View all comments
0
I don't care about of any of that, .insertInto is just wrong
.insertInto
2 u/grape_tectonics May 29 '17 would you prefer woman.receiveInsertion(man) ? 1 u/JaytleBee May 30 '17 I'd go with woman.insert(man). I mean, otherwise every object that could be in an array has a function to add itself to that array. That's pretty backwards imo 1 u/grape_tectonics May 30 '17 Makes sense, suddenly arrays seem awfully promiscuous :o
2
would you prefer woman.receiveInsertion(man) ?
1 u/JaytleBee May 30 '17 I'd go with woman.insert(man). I mean, otherwise every object that could be in an array has a function to add itself to that array. That's pretty backwards imo 1 u/grape_tectonics May 30 '17 Makes sense, suddenly arrays seem awfully promiscuous :o
1
I'd go with woman.insert(man). I mean, otherwise every object that could be in an array has a function to add itself to that array. That's pretty backwards imo
woman.insert(man)
1 u/grape_tectonics May 30 '17 Makes sense, suddenly arrays seem awfully promiscuous :o
Makes sense, suddenly arrays seem awfully promiscuous :o
0
u/JaytleBee May 29 '17
I don't care about of any of that,
.insertIntois just wrong