00:57:34 | FromDiscord | <devlop_gaming> I didn't know this language have templates😯 |
01:02:33 | * | tiorock joined #nim |
01:02:33 | * | tiorock quit (Changing host) |
01:02:33 | * | tiorock joined #nim |
01:02:33 | * | rockcavera quit (Killed (lead.libera.chat (Nickname regained by services))) |
01:02:33 | * | tiorock is now known as rockcavera |
01:26:42 | FromDiscord | <heysokam> @devlop_gaming yes, but try to use overloads and generics before templates↵templates seem cool and all, but are a pain to debug if one of them hits a nasty bug |
02:56:40 | * | derpydoo joined #nim |
03:17:52 | * | rockcavera quit (Remote host closed the connection) |
03:48:36 | * | derpydoo quit (Quit: derpydoo) |
04:36:28 | FromDiscord | <DetermiedNim1> wsg chat |
04:36:33 | FromDiscord | <DetermiedNim1> quick question |
04:37:17 | FromDiscord | <DetermiedNim1> sent a code paste, see https://play.nim-lang.org/#pasty=VyGFtUaT |
04:37:34 | FromDiscord | <DetermiedNim1> (edit) "https://play.nim-lang.org/#pasty=JhsDYEPI" => "https://play.nim-lang.org/#pasty=wcjsddky" |
04:37:49 | FromDiscord | <DetermiedNim1> or is there a better way than case objects that im just not seeing |
04:39:24 | FromDiscord | <Elegantbeef> Object variants are Nim's tagged unions |
04:42:46 | FromDiscord | <Elegantbeef> Though it probably makes more sense to use `address: array[8, uint16]` |
04:43:44 | FromDiscord | <DetermiedNim1> alright |
04:43:46 | FromDiscord | <DetermiedNim1> thansk |
04:43:48 | FromDiscord | <DetermiedNim1> (edit) "thansk" => "thanks" |
05:17:16 | * | amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
05:26:45 | * | amadaluzia joined #nim |
05:58:43 | FromDiscord | <lainlaylie> RIIN :o |
06:12:55 | * | andy-turner joined #nim |
07:27:32 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
07:27:42 | * | SchweinDeBurg joined #nim |
08:10:35 | * | derpydoo joined #nim |
08:54:28 | * | ntat joined #nim |
09:08:22 | * | ntat quit (Read error: Connection reset by peer) |
09:17:17 | * | ntat joined #nim |
09:29:52 | * | ntat quit (Read error: Connection reset by peer) |
09:35:33 | * | ntat joined #nim |
09:40:18 | * | ntat quit (Read error: Connection reset by peer) |
09:49:14 | * | ntat joined #nim |
09:56:25 | * | andy-turner quit (Quit: Leaving) |
10:17:03 | FromDiscord | <pusha6322> What are some features of Nim that are unique to it? |
10:18:13 | * | ntat quit (Read error: Connection reset by peer) |
10:39:21 | * | ntat joined #nim |
11:01:11 | * | derpydoo quit (Quit: derpydoo) |
11:04:35 | FromDiscord | <pusha6322> I've seen only features that you can find in a discrete number of other languages, it's a unique combination of course, but was wondering if it had something that stands out on its own |
11:06:00 | FromDiscord | <janakali> In reply to @pusha6322 "What are some features": close to nothing, but Nim is famously jack of all trades. Almost every good feature worth stealing in other languages is already in Nim (or will be at some point) 😄↵↵If serious, I think ratio of "easy to learn" and "power of the language" is very unique. ↵Also, metaprogramming is powerful, but there are languages that are better (mainly, lisp). |
11:08:29 | FromDiscord | <pusha6322> In reply to @janakali "close to nothing, but": For sure it seems a valid language, but I'm mostly looking for features to include into mine, that's why I asked that 😁 |
11:08:32 | * | ntat quit (Read error: Connection reset by peer) |
11:12:05 | FromDiscord | <janakali> oh, maybe look at "effect system", haven't seen this one in other languages. |
11:13:09 | FromDiscord | <janakali> @pusha6322 https://nim-lang.org/docs/manual.html#effect-system |
11:14:25 | * | Jjp137 quit (Ping timeout: 272 seconds) |
11:14:43 | * | Jjp137 joined #nim |
11:18:21 | FromDiscord | <pusha6322> In reply to @janakali "oh, maybe look at": Thanks! |
11:26:21 | * | PMunch joined #nim |
11:27:21 | PMunch | Hmm, anyone know how to disable `nim check` on save with the zah/nim.vim plugin? |
11:32:00 | * | ntat joined #nim |
11:34:51 | * | amadaluzia quit (Remote host closed the connection) |
11:37:47 | * | ntat quit (Quit: leaving) |
11:40:03 | * | ntat joined #nim |
12:01:28 | * | beholders_eye joined #nim |
12:07:28 | FromDiscord | <kapendev> In reply to @pusha6322 "What are some features": Forward declarations. |
12:09:52 | * | bcksl quit (Quit: \) |
12:09:52 | * | end quit (Quit: end) |
12:16:50 | * | ntat quit (Read error: Connection reset by peer) |
12:26:52 | * | ntat joined #nim |
12:34:36 | * | beholders_eye quit (Ping timeout: 276 seconds) |
12:38:37 | * | pmp-p quit (Quit: No Ping reply in 180 seconds.) |
12:39:48 | * | pmp-p joined #nim |
12:44:40 | * | bcksl joined #nim |
12:49:13 | * | end joined #nim |
12:52:18 | * | ntat quit (Quit: leaving) |
13:30:59 | FromDiscord | <pusha6322> In reply to @kapendev "Forward declarations.": Isn't that like in C? |
13:32:15 | * | mronetwo_ joined #nim |
13:32:17 | * | casaca_ joined #nim |
13:32:17 | * | ursa-major_ joined #nim |
13:32:22 | * | ntat joined #nim |
13:32:25 | * | przmk_ joined #nim |
13:32:48 | * | termer_ joined #nim |
13:33:27 | * | jkl__ joined #nim |
13:34:34 | * | void09_ joined #nim |
13:35:11 | FromDiscord | <pusha6322> Is there something like a picture that illustrates the Nim type system? Like with the type classes hierarchy |
13:36:32 | FromDiscord | <nnsee> In reply to @pusha6322 "Isn't that like in": i think they were joking? |
13:36:36 | FromDiscord | <nnsee> not sure |
13:40:09 | * | void09 quit (*.net *.split) |
13:40:09 | * | przmk quit (*.net *.split) |
13:40:10 | * | casaca quit (*.net *.split) |
13:40:10 | * | ursa-major quit (*.net *.split) |
13:40:10 | * | mronetwo quit (*.net *.split) |
13:40:11 | * | Amun-Ra quit (*.net *.split) |
13:40:11 | * | termer quit (*.net *.split) |
13:40:11 | * | jkl quit (*.net *.split) |
13:40:11 | * | acidsys quit (*.net *.split) |
13:40:13 | * | casaca_ is now known as casaca |
13:40:13 | * | mronetwo_ is now known as mronetwo |
13:40:14 | * | ursa-major_ is now known as ursa-major |
13:40:14 | * | przmk_ is now known as przmk |
13:46:22 | * | Amun-Ra joined #nim |
13:47:11 | * | acidsys joined #nim |
14:03:14 | FromDiscord | <threefour> In reply to @Elegantbeef "<@305785071489515540> people will do": > My example is minimal, but my applied scenario has a lot of extra boilerplate that I would like to eliminate via a template. |
14:14:41 | FromDiscord | <Robyn [She/Her]> In reply to @janakali "oh, maybe look at": Haskell has an effect system |
14:15:01 | FromDiscord | <Robyn [She/Her]> So does Scala and I think a good amount of functional languages |
14:17:03 | FromDiscord | <heysokam> nim has a lot of the cool features of functional langs, yea |
14:17:08 | * | przmk_ joined #nim |
14:19:15 | * | przmk quit (Ping timeout: 276 seconds) |
14:19:15 | * | przmk_ is now known as przmk |
14:25:18 | * | amadaluzia joined #nim |
14:25:47 | FromDiscord | <nnsee> i think `raises` is fairly unique - specifying exactly which exceptions a function is allowed to throw |
14:25:55 | FromDiscord | <nnsee> (edit) "i think ... `raises`pragma" added "the" | "the`raises` ... is" added "pragma" |
14:49:16 | FromDiscord | <Robyn [She/Her]> In reply to @nnsee "i think the `raises`": Checked exceptions from Java would like to have a word |
15:18:58 | * | ntat quit (Ping timeout: 268 seconds) |
15:20:41 | * | ntat joined #nim |
15:36:16 | FromDiscord | <tapeda> What makes nim unique to me is that it feels like the most ergonomically open compiler. It's the opposite of the GO philosophy of 'one right way', and well written nim is so elegant |
15:37:15 | FromDiscord | <tapeda> (edit) "elegant" => "elegant.. It's all composition baby" |
15:55:54 | * | amadaluzia_ joined #nim |
16:02:58 | FromDiscord | <threefour> In reply to @nnsee "i think the `raises`": Are we specifically referring to exceptions? Because Zig and Rust still show the exact possible errors, just as result types. |
17:01:31 | * | amadaluzia quit (Ping timeout: 252 seconds) |
17:15:13 | FromDiscord | <Elegantbeef> @threefour I assume they mean that it's one of the few languages that doesn't put the onus on the programmer to annotate errors then a later programmer can say "You know what, no errors" |
17:34:24 | * | andy-turner joined #nim |
17:42:35 | * | andy-turner quit (Quit: Leaving) |
17:42:51 | * | andy-turner joined #nim |
17:50:14 | * | andy-turner quit (Quit: Leaving) |
17:50:28 | * | andy-turner joined #nim |
19:40:20 | * | ntat quit (Quit: leaving) |
20:09:29 | * | om3ga joined #nim |
20:34:05 | * | amadaluzia_ quit (Changing host) |
20:34:05 | * | amadaluzia_ joined #nim |
20:52:42 | * | amadaluzia_ quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
20:53:04 | * | amadaluzia joined #nim |
20:53:30 | * | amadaluzia quit (Remote host closed the connection) |
20:53:52 | * | amadaluzia joined #nim |
20:55:32 | * | andy-turner quit (Quit: Leaving) |
20:55:48 | * | andy-turner joined #nim |
21:04:39 | * | amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
21:06:47 | * | amadaluzia joined #nim |
21:10:52 | * | amadaluzia quit (Client Quit) |
21:16:27 | * | andy-turner quit (Quit: Leaving) |
21:17:58 | * | amadaluzia joined #nim |
21:19:22 | * | amadaluzia quit (Client Quit) |
21:20:54 | * | amadaluzia joined #nim |
21:43:03 | * | rockcavera joined #nim |
21:46:19 | * | beholders_eye joined #nim |
22:57:11 | * | beholders_eye quit (Quit: WeeChat 4.5.1) |