<< 08-07-2026 >>

00:24:33FromDiscord<11clock> I must say, nim is the first language I have seen that actually has good syntax for variable declarations. https://media.discordapp.net/attachments/371759389889003532/1524209538784559104/a2251a83c06b0281017b24d858867d00.png?ex=6a4eea40&is=6a4d98c0&hm=de6df774a13810df102d2c9c72f73459810089d39e7ab8a98ee99ab66043380d&
00:24:55FromDiscord<11clock> (ignore the question marks, that is custom macro shenanigans)
00:25:13*rockcavera joined #nim
00:25:47FromDiscord<11clock> More languages should learn to allow for less repetition
00:34:44FromDiscord<emiliajssl> In reply to @11clock "I must say, nim": Reminds me of Go
00:34:50FromDiscord<emiliajssl> And C/++
01:17:04*redj joined #nim
03:04:06*rockcavera quit (Remote host closed the connection)
03:55:06*termer quit (Remote host closed the connection)
03:56:40*termer joined #nim
04:48:33*termer quit (Remote host closed the connection)
04:50:07*termer joined #nim
04:58:51*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
05:50:42*SchweinDeBurg joined #nim
06:54:09*xet7 quit (Ping timeout: 272 seconds)
06:59:28*langlover joined #nim
07:03:28*langlover quit (Changing host)
07:03:28*langlover joined #nim
07:06:17*xet7 joined #nim
07:06:40*xet7 quit (Remote host closed the connection)
07:07:41*amadaluzia quit (Read error: Connection reset by peer)
07:09:58*langlover quit (Quit: Textual IRC Client: www.textualapp.com)
07:10:16*langlover joined #nim
07:10:38*langlover quit (Client Quit)
07:11:00*langlover joined #nim
07:12:46*langlover quit (Changing host)
07:12:46*langlover joined #nim
07:14:06*amadaluzia joined #nim
07:18:33*langlover quit (Quit: Textual IRC Client: www.textualapp.com)
07:18:56*langlover joined #nim
07:19:29FromDiscord<b0rsuk> In reply to @11clock "I must say, nim": In Python you do that without having to prepend `var`.
07:26:29*langlover quit (Quit: Textual IRC Client: www.textualapp.com)
07:27:57*amadaluzia quit (Read error: Connection reset by peer)
07:31:08*amadaluzia joined #nim
07:35:52*amadaluzia quit (Read error: Connection reset by peer)
07:45:59*amadaluzia joined #nim
07:46:45*xet7 joined #nim
07:50:10FromDiscord<kapendev> In PHP you just add $.
08:26:50FromDiscord<amun0666> for me `name: type = value` makes more sense than `type name = value`
08:45:46*emery quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.)
09:54:43FromDiscord<tempestro> In reply to @emiliajssl "Reminds me of Go": that pubclass keyword is also a custom macro that fellow's made, mind you
09:57:57FromDiscord<kapendev> A? lot? of? questions?
10:09:12FromDiscord<krisp0> In reply to @11clock "I must say, nim": this is the kind of syntax i'd see in my dreams πŸ˜­β†΅is that really nim? i've been wanting to have the ? operator as a suffix for a long time
10:35:10FromDiscord<b0rsuk> What does the `?` mean here?
11:24:04FromDiscord<11clock> In reply to @b0rsuk "What does the `?`": Shorthand for read-only
11:24:53FromDiscord<11clock> Didn't like that nim requires a full pragma for it
11:25:20FromDiscord<11clock> Although it can be confused for "nullable"
11:25:32FromDiscord<11clock> Since some languages use it for that instead
11:25:38FromDiscord<DetermiedNim1> Any reason you couldnt't use `let`?
11:25:44FromDiscord<DetermiedNim1> (edit) "couldnt't" => "couldn't"
11:26:39FromDiscord<11clock> "let" was the original idea, but I wanted it to be consistent with "" since it describes export behavior.
11:27:28FromDiscord<DetermiedNim1> ah
11:30:00FromDiscord<11clock> Oh apparently nim doesn't actually have a readonky pragma?
11:30:16FromDiscord<11clock> Google's AI lies strike again
11:30:26FromDiscord<11clock> (edit) "readonky" => "readonly"
11:32:49FromDiscord<b0rsuk> πŸ€– Kiss my shiny metal ass!
11:33:27FromDiscord<11clock> But yeah "?" in my case means that it exports the getter.
11:33:58FromDiscord<11clock> (I can't put on the getter because my getters and setters are macro defined...)
11:47:29FromDiscord<DetermiedNim1> In reply to @b0rsuk "πŸ€– Kiss my shiny": read it in bender's voice too lmao
11:47:35FromDiscord<11clock> In reply to @b0rsuk "πŸ€– Kiss my shiny": Gemini has been lying an awful lot about features that nim doesn't actually have and it's frustrating. ChatGPT has been a bit more reliable.
11:47:55FromDiscord<DetermiedNim1> claude's pretty good for code
11:48:25FromDiscord<DetermiedNim1> i don't use any ai very much but if i need to then i use claude
11:49:54FromDiscord<11clock> The main annoyance I have with "?" is that I need to insert a spade between it and ":" to keep it valid nim
11:50:03FromDiscord<11clock> (edit) "spade" => "space"
11:50:18FromDiscord<11clock> Not much I can do there.
11:52:25FromDiscord<DetermiedNim1> can you make ?: a seperate macro or nah