Re: Should we get rid of style insensitivity?

2018-11-22 Thread didlybom
I’d like a vote. I completely see where Dom is coming from with this proposal. This is mentioned as a negative in every discussion about been that I’ve seen in reddit and proggit I’m sure there are people who would give Nim a chance but which are very put off by this. Personally I am not again

Re: How to convert integer to pointer

2018-11-22 Thread LeuGim
> I want to include type name in that user defined type. Is it possible ? You can of coarse do anything with "type names" \- i.e. just strings "int", etc. But you probably want to store types themselves - `typedesc`. There's not so much you can do with them. Types exist at compile-time only (opp

Re: how to run vim and get output

2018-11-22 Thread Libman
Having a conversation in two places at once is annoying, and I think this forum is much more valuable than Reddit, so I'll reply here: > Oh. Awesome! Thank you. I have been traveling with the family for the > holidays so haven’t been checking. I’ll test it as soon as I can. Knew I > should have

Re: How to convert integer to pointer

2018-11-22 Thread kcvinu
Thanks a lot

Re: How to convert integer to pointer

2018-11-22 Thread kcvinu
Thanks for the tips. Actually, that was my question. I want to include type name in that user defined type. Is it possible ?

Re: Should we get rid of style insensitivity?

2018-11-22 Thread dom96
Case insensitivity is one thing, style insensitivity is another, and what Nim does is yet another thing. You probably know this but just for the sake of removing any possibility for misunderstandings for others: * Case insensitivity: `fooBar` == `foobar` * Style insensitivity: `foo_Bar` == `

Re: Should we get rid of style insensitivity?

2018-11-22 Thread lscrd
> Stating that the same group of people dislike style insensitivity, GC, etc is > a bold claim. That’s not what I meant. I suppose I should have been more precise :-). What I mean is that some people will find any reason to reject a language they don’t like. And why do they not like this langua

Re: Should we get rid of style insensitivity?

2018-11-22 Thread federico3
> many of those who definitively rejected Nim for its case insensivity will > have, anyway, rejected Nim for other reasons Stating that the same group of people dislike style insensitivity, GC, etc is a bold claim.

Re: Should we get rid of style insensitivity?

2018-11-22 Thread PMunch
There's a difference between having style insensitivity and writing/editing code (either manually or by a tool) to let you write your code in different styles. You could also write a tool to achieve this in C or use define statements and the like to do the same thing.

Re: Should we get rid of style insensitivity?

2018-11-22 Thread lscrd
I think that changing Nim to get more users is exactly what should not be done. A language should not be adapted to suit the opinion of a majority of potential users. Rather users have to learn other ways to work. For me, many of those who definitively rejected Nim for its case insensivity will

Re: In the response always 4000 byte by AsyncHtpp request

2018-11-22 Thread alexsad
@dom96 thanks a lot! ok, this is a special for FutureStream for string type. yeah, I did not understand what is use case the proc read of FutureStream[T]