| 00:02:44 | FromDiscord | <Aceroph> how do i make my variable not end with 'gensym0 in a template? |
| 00:05:50 | FromDiscord | <exelotl> iirc you can mark the template as {.dirty.} or the variable as {.inject.} - just keep in mind that these could allow the variable to name clash with others in the scope where the template is used |
| 00:11:17 | FromDiscord | <Aceroph> its fine, its a function |
| 00:17:04 | * | Skippy8 quit (Ping timeout: 276 seconds) |
| 00:20:32 | * | Skippy8 joined #nim |
| 00:40:15 | * | termer quit (Remote host closed the connection) |
| 00:41:49 | * | termer joined #nim |
| 01:07:49 | FromDiscord | <11clock> When should I use a value sequence and when should I use a reference sequence? |
| 01:08:10 | FromDiscord | <11clock> I am used to other languages where all collections are reference types, so value type collections are new to me. |
| 01:09:13 | FromDiscord | <_timurski> In reply to @11clock "When should I use": what do you mean |
| 01:09:20 | FromDiscord | <_timurski> like the objects stored are references or the sequence itself is being referenced |
| 01:10:07 | FromDiscord | <_timurski> a sequence is always a pointer to some memory |
| 01:10:07 | FromDiscord | <11clock> I am making a scene graph. A node has a sequence of children. I don't know if the sequence of children should be value or ref |
| 01:10:25 | FromDiscord | <_timurski> a sequence is already a pointer to some memory |
| 01:10:25 | FromDiscord | <11clock> Nodes themselves are ref types. |
| 01:10:39 | FromDiscord | <_timurski> so you should not have any extra pointers |
| 01:10:52 | FromDiscord | <_timurski> there's no need to have a `ref seq` |
| 01:10:58 | FromDiscord | <11clock> Alright |
| 01:11:03 | FromDiscord | <11clock> Thank you |
| 01:25:58 | * | termer quit (Remote host closed the connection) |
| 01:27:31 | * | termer joined #nim |
| 01:30:35 | * | Skippy8 quit (Ping timeout: 265 seconds) |
| 02:01:19 | * | joast quit (Quit: Leaving.) |
| 03:10:02 | * | joast joined #nim |
| 04:52:51 | FromDiscord | <11clock> Unfortunately I have to strip back a few features of my class module. Hooks, shorthand init, and shorthand self are going away. 🙁 |
| 04:53:44 | FromDiscord | <11clock> Hooks and shorthand init didn't work with default parameters, and the tilda as a shorthand for self was causing so many bugs and stupid workarounds that I decided that it wasn't worth the upkeep. |
| 04:54:39 | FromDiscord | <11clock> For hooks I replaced them with method stubs. If you make a method stub it will be emitted as a base method with a discard body. |
| 04:55:16 | FromDiscord | <11clock> Ultimately I don't want to fight nim's syntax, so the more magic stuff is going away. |
| 04:55:21 | FromDiscord | <11clock> (edit) "magic" => "magical" |
| 06:08:42 | * | xet7 quit (Remote host closed the connection) |
| 06:52:57 | * | Skippy8 joined #nim |
| 07:01:51 | * | tiorock joined #nim |
| 07:01:51 | * | tiorock quit (Changing host) |
| 07:01:51 | * | tiorock joined #nim |
| 07:01:51 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
| 07:01:51 | * | tiorock is now known as rockcavera |