| 00:01:27 | * | rockcavera quit (Ping timeout: 265 seconds) |
| 00:02:32 | * | rockcavera joined #nim |
| 00:02:33 | * | rockcavera quit (Changing host) |
| 00:02:33 | * | rockcavera joined #nim |
| 00:15:37 | * | amadaluzia quit (Remote host closed the connection) |
| 00:18:48 | * | amadaluzia joined #nim |
| 02:04:25 | * | kick455 joined #nim |
| 02:07:49 | * | oculux quit (Ping timeout: 245 seconds) |
| 02:52:51 | * | joast quit (Quit: Leaving.) |
| 03:22:20 | * | oculux joined #nim |
| 03:24:22 | * | kick455 quit (Ping timeout: 256 seconds) |
| 04:01:24 | * | joast joined #nim |
| 04:17:18 | * | rockcavera quit (Remote host closed the connection) |
| 04:42:57 | * | rockcavera joined #nim |
| 06:20:37 | * | acidsys quit (Ping timeout: 244 seconds) |
| 06:23:53 | * | acidsys joined #nim |
| 06:43:16 | FromDiscord | <b0rsuk> I call Nim way "sloppy case". |
| 06:44:06 | * | kick455 joined #nim |
| 06:47:46 | * | oculux quit (Ping timeout: 256 seconds) |
| 06:57:48 | FromDiscord | <[Next-System] systemblue> In reply to @b0rsuk "I call Nim way": ... |
| 07:01:38 | * | tiorock joined #nim |
| 07:01:38 | * | tiorock quit (Changing host) |
| 07:01:38 | * | tiorock joined #nim |
| 07:01:38 | * | rockcavera quit (Killed (molybdenum.libera.chat (Nickname regained by services))) |
| 07:01:38 | * | tiorock is now known as rockcavera |
| 07:01:53 | FromDiscord | <[Next-System] systemblue> Nim should make library which can be exported |
| 07:02:46 | FromDiscord | <[Next-System] systemblue> no domestic purpose libraries(libraries only for nim ecosystem) can't survive becasue nim's community and ecosystem is small now↵↵we need to be export language |
| 07:03:04 | FromDiscord | <[Next-System] systemblue> and that's nim's great advantage ↵↵easy export FFI |
| 07:33:10 | * | oculux joined #nim |
| 07:33:36 | * | kick455 quit (Ping timeout: 252 seconds) |
| 07:55:52 | FromDiscord | <rakgew> I find the combination of snake\_case and Ada\_Case particularly readable.↵(@_timurski) |
| 07:56:04 | FromDiscord | <_timurski> In reply to @rakgew "I find the combination": ada case is very readable yes |
| 07:56:13 | FromDiscord | <_timurski> i just personally find it too ugly 😭 |
| 07:56:20 | FromDiscord | <_timurski> but perhaps i will grow to it |
| 07:56:29 | FromDiscord | <_timurski> (edit) "grow" => "warm up" |
| 07:57:16 | FromDiscord | <alipolo17777> is `slice = arr[0..2]` a view into arr (meaning by changing slice values you also change arr values) or its a totally new object like python? |
| 08:02:48 | FromDiscord | <_timurski> In reply to @alipolo17777 "is `slice = arr[0..2]`": it's a [standard library function](https://nim-lang.org/docs/system.html#%5B%5D%2Carray%5BIdx%2CT%5D%2CHSlice%5BU%3A%20Ordinal%2CV%3A%20Ordinal%5D) and you can see it returns a new object |
| 08:06:00 | FromDiscord | <alipolo17777> In reply to @_timurski "it's a [standard library": does nim has a concept of a pointer with len (like Go's slices) that lets you take a function argument that accepts both an array or dynamic array? |
| 08:06:21 | FromDiscord | <_timurski> In reply to @alipolo17777 "does nim has a": openArray |
| 08:06:33 | FromDiscord | <_timurski> I suggest reading the Nim Manual |
| 08:06:45 | FromDiscord | <_timurski> + the page on destructors and move semantics |
| 08:07:01 | FromDiscord | <_timurski> and some of the examples, and referencing the docs |
| 08:07:29 | FromDiscord | <alipolo17777> is there any way to make an slice of an static array that returns an openArray ? |
| 08:07:41 | FromDiscord | <alipolo17777> so you have a view into array instead of a new object? |
| 08:13:26 | FromDiscord | <_timurski> sent a code paste, see https://play.nim-lang.org/#pasty=UQMhMhLm |
| 08:13:35 | FromDiscord | <_timurski> https://nim-lang.org/docs/system.html#toOpenArray,array[I,T],I,I |
| 08:13:50 | FromDiscord | <_timurski> (edit) "https://play.nim-lang.org/#pasty=WFCgPjGj" => "https://play.nim-lang.org/#pasty=szezNRWl" |
| 08:14:51 | FromDiscord | <_timurski> (edit) "https://play.nim-lang.org/#pasty=YWbGXMVj" => "https://play.nim-lang.org/#pasty=uxsfVbbb" |