code logs -> 2025 -> Wed, 12 Feb 2025< code.20250211.log - code.20250213.log >
--- Log opened Wed Feb 12 00:00:12 2025
00:47
<&[R]>
Found in C++ code today: `List*& value`
00:48
<@celticminstrel>
?
00:53
<&[R]>
I feel like it's cursed
00:53
<@celticminstrel>
Why…?
00:53
<&[R]>
Why do I feel like it's cursed, or why does it exist?
00:54
<@celticminstrel>
The former.
00:55
<&[R]>
Mixing pointers and references is not a good idea, either do it all one way, or all the other, and don't have them both on the same variable
00:55
<@celticminstrel>
00:55
<&[R]>
It's not obvious that the pointer gets changed when you pass it to the function
00:55
<&[R]>
But I guess that's the normal complaint with references
00:56
<@celticminstrel>
I mean, there are use-cases for it, that's why people do it…
00:56
<@celticminstrel>
It's pretty common in UE code in particular.
01:52
<&[R]>
That being said, the shell I use now now longer exits when you assign a variable while eval_exitonfalse (IE: the -e option most shells have) is enabled. However `var = <={var2 = ...}` no longer works due to the hacky way I "fixed" it
01:53 Degi [Degi@Nightstar-jv71g6.pool.telefonica.de] has quit [Ping timeout: 121 seconds]
01:55 Degi [Degi@Nightstar-16g5bi.pool.telefonica.de] has joined #code
02:28 Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has quit [Connection closed]
08:02 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has quit [[NS] Quit: Kernel upgrade]
08:54 McMartin [mcmartin@Nightstar-n6bm7f.sntcca.sbcglobal.net] has joined #code
08:54 mode/#code [+ao McMartin McMartin] by ChanServ
09:01 Vornicus [Vorn@Nightstar-8k6f0b.res.spectrum.com] has joined #code
09:01 mode/#code [+qo Vornicus Vornicus] by ChanServ
11:27 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has joined #code
15:38 gnolam [lenin@Nightstar-ouaqg2.cust.bahnhof.se] has quit [[NS] Quit: Das Reboot]
15:58 gnolam [lenin@Nightstar-ouaqg2.cust.bahnhof.se] has joined #code
15:58 mode/#code [+o gnolam] by ChanServ
22:35 himi [sjjf@Nightstar-o4k.pal.170.103.IP] has quit [The TLS connection was non-properly terminated.]
22:48 himi [sjjf@Nightstar-o4k.pal.170.103.IP] has joined #code
22:48 mode/#code [+o himi] by ChanServ
23:41 Emmy [Emmy@Nightstar-qo29c7.fixed.kpn.net] has quit [Ping timeout: 121 seconds]
--- Log closed Thu Feb 13 00:00:14 2025
code logs -> 2025 -> Wed, 12 Feb 2025< code.20250211.log - code.20250213.log >

[ Latest log file ]