Reasoning behind function call syntax in Nim.

2024-02-13 Thread undefined
Aah. I was looking at the wrong example use case ("echo") then. This (adding an element to a sequence) makes sense. Thanks @Araq!

Reasoning behind function call syntax in Nim.

2024-02-13 Thread Araq
> I don't get "Hello, ".echo "world!" or its specific use case. Because `myseq.add "abc"` is nice to read.

Reasoning behind function call syntax in Nim.

2024-02-13 Thread undefined
I should have been a bit more clearer with my question. I got the method call syntax with a dot. But I want to see the reasoning (and the use case) of allowing the argument follow a method call. I understand: `echo "Hello, world!"` \- This helps in faster print based debugging (also this is co

Reasoning behind function call syntax in Nim.

2024-02-13 Thread didlybom
Maybe what makes it look odd is a combination of 3 things: * Uniform Function Call Syntax (UFCS) which makes `x.echo(...)` equivalent to `echo(x, ...)` (i.e. it lets you treat the _first_ argument of a function as if it were an object that calls a method) * Parens around function arguments a

Reasoning behind function call syntax in Nim.

2024-02-13 Thread namisboss
The dot is used to let people use object oriented syntax on objects. This site has examples of it in use Often the space is used to dispatch things. Here's a package that uses this syntax to use a main object to then take functions for multithrea

Reasoning behind function call syntax in Nim.

2024-02-13 Thread demotomohiro
"Hello, ".echo "world!" Run Above syntax uses [method call syntax](https://nim-lang.org/docs/manual.html#procedures-method-call-syntax) and [Command invocation syntax](https://nim-lang.org/docs/manual.html#procedures-command-invocation-syntax). Method call syntax allows calling p

Reasoning behind function call syntax in Nim.

2024-02-13 Thread doongjohn
see: basically it allows method style function call without OOP echo "hello".strip().toUpperAscii() # ^ ^ # └---┴--> UFCS Run

VG Keto ACV Gummies United Kingdom - Burn Unwanted Fat!

2024-02-13 Thread marciaethridge100
Product Name — VG Keto ACV Gummies Critical Advantages — Help Weight with diminishing Piece — Standard Ordinary Compound Inevitable results — NA Rating : — ⭐ Straightforwardness — On the web Presentation VG Keto ACV Gummies are a dietary enhancement that consolidates the advantages of apple

Proton Keto ACV Gummies - Natural Path For Burn Fat

2024-02-13 Thread marciaethridge100
Product Name — Proton Keto ACV Gummies Principal Benefits — Weight decline ,Consume flood fat Piece — Ordinary Typical Compound Optional impacts — NA Rating: — ⭐ Responsiveness — On the web 👉Click Here👉👉Official Website👉Huge Discount What Are Proton Keto ACV Gummies ? Proton Keto ACV Gummies

Reasoning behind function call syntax in Nim.

2024-02-13 Thread undefined
"Hello, ".echo "world!" Run The above code compiles and works. What is the reasoning behind this syntax? I understood `echo "Hello, world!"` and the other forms; but what is the reasoning behind allowing the above syntax? I'm not criticising it; I just wanted to know the

Wishlist: Ideal UI library for Nim

2024-02-13 Thread PMunch
You can always reach out to community members in our live chats on Discord/Matrix/IRC, the forums unfortunately doesn't have a direct message function. And yes, we moderators read a lot of forum posts, so we do notice questions like these fairly often. But feel free to contact us in the live ch

Impact of Sugar Defender Australia Cure on Physical Health!

2024-02-13 Thread JosepSloss
Official Facebook Page:-

Nim for Beginners video series discussion thread

2024-02-13 Thread Kiloneie
# [Nim for Beginners hashSets, more on hash Tables and Hashing (video link)](https://youtu.be/VSnFw5X2Rp4) **Video description:** In this video, we will go over hashSets and hashes that are used with hashSets, as well as hashing in general in the world. We will also refresh our memory on Table

Wishlist: Ideal UI library for Nim

2024-02-13 Thread merlin
Sorry for the inconvenience, but I didn't know any other way to contact Steven. Are personal messages possibile in this forum? By the way, I have another message for the administrator of the Forum (wrong for this thread): when I registered, the email for the confirmation was considered spam by G

Wishlist: Ideal UI library for Nim

2024-02-13 Thread merlin
This is my first post: I am a totally beginner in Nim, I previously did something in Python. I subscribed this forum to reply to a [post](https://forum.nim-lang.org/postActivity.xml#post) of Steven about Webview. I tried his version of webview for Nim and it worked on Ubuntu 20.04. I tried oth

Wishlist: Ideal UI library for Nim

2024-02-13 Thread Araq
Hello and welcome. It's the wrong thread still but alright.