/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
Don’t blindly prefer emplace_back to push_back
(quuxplusone.github.io)
178 points
todsacerdoti
| 2 comments |
04 Mar 21 08:02 UTC
|
HN request time: 0.413s
|
source
Show context
user-the-name
◴[
04 Mar 21 09:16 UTC
]
No.
26340320
[source]
▶
>>26339893 (OP)
#
"emplace_back"? People actually looked at this and went "Yes, this is a good function name. I understand this perfectly."?
replies(5):
>>26340335
#
>>26340345
#
>>26340374
#
>>26340547
#
>>26343435
#
matheusmoreira
◴[
04 Mar 21 09:20 UTC
]
No.
26340345
[source]
▶
>>26340320
#
Naming things is very hard. Wish there was away to learn how to do it better. Reading more to acquire new vocabulary? Learning latin? I'm not really sure.
replies(4):
>>26340375
#
>>26340811
#
>>26340946
#
>>26341199
#
1.
Deukhoofd
◴[
04 Mar 21 10:34 UTC
]
No.
26340811
[source]
▶
>>26340345
#
Yeah just give everything a Latin name, your co-workers will thank you ;).
replies(1):
>>26341247
#
ID:
GO
2.
matheusmoreira
◴[
04 Mar 21 11:46 UTC
]
No.
26341247
[source]
▶
>>26340811 (TP)
#
A lot of words have latin origins though. Especially scientific jargon. Greek too.
↑