| 00:24:33 | FromDiscord | <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:55 | FromDiscord | <11clock> (ignore the question marks, that is custom macro shenanigans) |
| 00:25:13 | * | rockcavera joined #nim |
| 00:25:47 | FromDiscord | <11clock> More languages should learn to allow for less repetition |
| 00:34:44 | FromDiscord | <emiliajssl> In reply to @11clock "I must say, nim": Reminds me of Go |
| 00:34:50 | FromDiscord | <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:29 | FromDiscord | <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:10 | FromDiscord | <kapendev> In PHP you just add $. |
| 08:26:50 | FromDiscord | <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:43 | FromDiscord | <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:57 | FromDiscord | <kapendev> A? lot? of? questions? |
| 10:09:12 | FromDiscord | <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:10 | FromDiscord | <b0rsuk> What does the `?` mean here? |
| 11:24:04 | FromDiscord | <11clock> In reply to @b0rsuk "What does the `?`": Shorthand for read-only |
| 11:24:53 | FromDiscord | <11clock> Didn't like that nim requires a full pragma for it |
| 11:25:20 | FromDiscord | <11clock> Although it can be confused for "nullable" |
| 11:25:32 | FromDiscord | <11clock> Since some languages use it for that instead |
| 11:25:38 | FromDiscord | <DetermiedNim1> Any reason you couldnt't use `let`? |
| 11:25:44 | FromDiscord | <DetermiedNim1> (edit) "couldnt't" => "couldn't" |
| 11:26:39 | FromDiscord | <11clock> "let" was the original idea, but I wanted it to be consistent with "" since it describes export behavior. |
| 11:27:28 | FromDiscord | <DetermiedNim1> ah |
| 11:30:00 | FromDiscord | <11clock> Oh apparently nim doesn't actually have a readonky pragma? |
| 11:30:16 | FromDiscord | <11clock> Google's AI lies strike again |
| 11:30:26 | FromDiscord | <11clock> (edit) "readonky" => "readonly" |
| 11:32:49 | FromDiscord | <b0rsuk> π€ Kiss my shiny metal ass! |
| 11:33:27 | FromDiscord | <11clock> But yeah "?" in my case means that it exports the getter. |
| 11:33:58 | FromDiscord | <11clock> (I can't put on the getter because my getters and setters are macro defined...) |
| 11:47:29 | FromDiscord | <DetermiedNim1> In reply to @b0rsuk "π€ Kiss my shiny": read it in bender's voice too lmao |
| 11:47:35 | FromDiscord | <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:55 | FromDiscord | <DetermiedNim1> claude's pretty good for code |
| 11:48:25 | FromDiscord | <DetermiedNim1> i don't use any ai very much but if i need to then i use claude |
| 11:49:54 | FromDiscord | <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:03 | FromDiscord | <11clock> (edit) "spade" => "space" |
| 11:50:18 | FromDiscord | <11clock> Not much I can do there. |
| 11:52:25 | FromDiscord | <DetermiedNim1> can you make ?: a seperate macro or nah |