Re: Going to Haxe. Nim In Action book available.

2016-08-15 Thread wulfklaue
> Oh! ECMAScript2015, ECMAScript7 and Node.js are very popular now. I think you > just not understand JavaScript. Took me 10 second to read and understand your code. I just never liked JS design for front end programming. Too much overuse of closures, bad error responses, inconsistencies in the

Re: Going to Haxe. Nim In Action book available.

2016-08-14 Thread wulfklaue
> Look like ECMAScript2015 (JavaScript, or TypeScript) very much ... The more Java like expressions is probably because the original author Nicolas Cannasse wrote the MTASC ( Flash ) compiler. What used ActionScript and this in turn turned into ECMAScript. Describing it like JavaScript is almost

Re: Going to Haxe. Nim In Action book available.

2016-08-11 Thread wulfklaue
> I just posted you the address, I am from Aachen so yes in Germany. Got it. I will bookmark it in my mail folder, so i can send you the book later. If you change adres, do not forget to update. ;) > But it's said that you've decided for the wrong language _lol_ ... Each there own. ;) > Intere

Re: Going to Haxe. Nim In Action book available.

2016-08-11 Thread wulfklaue
> What do you want for it? Nothing at all. Think of it as a free gift. I'll ship it for free ( if your in the EU ). German is cheapest for me :) Better to give it to another person then me just putting it on the bookshelf and not using it. > I would like to have it. Ok. Send me a mail at nim_

Going to Haxe. Nim In Action book available.

2016-08-11 Thread wulfklaue
As i decided to focus purely on Haxe instead of Nim, my copy of Nim In Action book will be useless to me. So when the physical book is printed and shipped to me in Europe ( 4 months until it ships ), i can forward it to somebody else. Only EU programmers because of shipping costs and stuff. An

Re: c2nim (forked from Partial casing is foo_bar)

2016-07-21 Thread wulfklaue
> ALLCAPS They have a place ... I still think all caps is perfectly reasonable for constants. Variable & constants mixing makes things more difficult if they all look the same. And marking variables like cFoo, vFoo is just silly. > honestly I would like to see this project become more community

Re: StackOverflow Nim Documentation Proposal

2016-07-21 Thread wulfklaue
It looks interesting but i reserve some doubt about having a 3th party hosting the documentation. And it also raises questions about synchronizing the documentation in the code with stackoverflow...

Re: c2nim (forked from Partial casing is foo_bar)

2016-07-21 Thread wulfklaue
> Shrug, so are the people who don't like indentation based syntax. "Designing > for popularity" doesn't work for me, I don't want to design TypeScript. Hate to tell you but at some moment your going to lose control over the project. Most languages when they become big, the original developer wi

Re: Why Nim language unlike rust and go language, the same direct compiler

2016-07-21 Thread wulfklaue
> directly compiler is necessary. No it is not... By compiling to C and then having the "actual" compiler turn that C code to system code, it has several advantages. One of those is simply: You use all the optimizations that are present in the used compiler to gain more speed. Take a look here

Re: Partial casing is foo_bar

2016-07-20 Thread wulfklaue
> With partial casing, who give a f*** about the library author's casing style? > Just follow the style guide, no matter what. -> IntelliSense / Code completion: Will follow the original authors there casing. In other words you are then forced to use code completion & edit the code structure fo

Re: Partial casing is foo_bar

2016-07-20 Thread wulfklaue
> But striving for overall simplicity would mean to get rid of 99% of Nim > (macros, templates, converters, pragmas, ..., lots of stuff) and to create > quite an opposite language - then why to begin with Nim. Its not about removing features LeuGim... Its about making them more user friendly. N

Re: Partial casing is foo_bar

2016-07-20 Thread wulfklaue
> And changing it WILL break a lot of code... I don't even think that this > could be done without harm to Nim. \--- In all honesty, a default is better as fixed state, with the ability to override to stateless if people want to use it like that. The argument that it will break current code is

Re: Partial casing is foo_bar

2016-07-19 Thread wulfklaue
> That is leaving the audience to cope with a design decision based on a > personal opinion. And yes. This is my personal opinion. Its not only your opinion because i also agree with you. It has advantages but the disadvantages do seem to out way the advantages. **Non-uniformal type including**

Re: RFC: How best to provide examples for newbies

2016-07-18 Thread wulfklaue
Said it at the end of that topic, we need to look more towards a WIKI example. Code: Basic functionality + Link Website: Basic functionality + expanded information + examples + searchable/link-able by google etc **Website Documentation Wiki** [Basic information produced automatically from the c

Re: Things that are great when working in the Nim Language

2016-07-18 Thread wulfklaue
cjxgm: Your the first person who i have ever seen to give a real world example as to why Partial casing can be useful. Seen so many topics in reddit etc where people express frustrated by the free casing/merger but nobody ever provides a example as to why it can be useful. I only see the negativ

Re: Nim vs Scala (not holywar). Compare functions for strings

2016-07-17 Thread wulfklaue
> Some things, owing to their prevalence, in my opinion have to be part of > standard library of language. For example, the string methodsfunctions > toCharArray, getBytes, reverse are in many languages. The problem is, when is enough... I can think of a dozen things i like to see in Nim. But t

Re: Things that are great when working in the Nim Language

2016-07-17 Thread wulfklaue
Fast / Low memory usage ( compared to competitors ) Compiles to a single binary Relative clean syntax Macro support Hardware support Flexible In other words, all of GoLang its features but better / more flexible / more options / less limitations.

Re: VSCode Editor Nim Extension (free Visual Studio Code Editor by Microsoft)

2016-07-15 Thread wulfklaue
The error/warning highlight does indeed work but it only works after you save the file! Because its not checking in real time for error/warnings, it can trow people think it does not work. I also was under the impression it did not work. By the way: Another nice add-on is: [https://marketplace.

Re: VSCode Editor Nim Extension (free Visual Studio Code Editor by Microsoft)

2016-07-14 Thread wulfklaue
> Compile, Build and Run from within the editor I solve that by using the integrated terminal in VSCode. And simply do the standard: nim c xxx.nim Or you can use the setting from the nim plugin: "nim.buildOnSave": true, "nim.buildCommand": "c", "nim.lintOnSave": tru

Re: Intellij ( PhpStorm, PyCharm, RubyMine, Webstorm, Clion ) platform

2016-07-14 Thread wulfklaue
Yea, its nice. Needs some more features like proper ftp/sftp management but its already very productive. The first editor ( that is not on the nim suggest list: [https://github.com/nim-lang/Nim/wiki/editor-support](https://github.com/nim-lang/Nim/wiki/editor-support) ), that made me feel more a

Re: Intellij ( PhpStorm, PyCharm, RubyMine, Webstorm, Clion ) platform

2016-07-13 Thread wulfklaue
> You may want to check out my intro post for VSCode some weeks ago. Everything > is even better than then Yea, took a quick look at the VSC development page and they are turning features out very fast. Tabs, console etc ... I see that FTP/SFTP is high on the request list ( technically the only

Re: VSCode Editor Nim Extension (free Visual Studio Code Editor by Microsoft)

2016-07-13 Thread wulfklaue
Thanks for the tip. > Not being a fan of Microsoft at all, I never would have thought that I one > day post something like this :) MS is surprising people lately. Try Bash ( Ubuntu ) for Windows 10 ( insiders build. Release in August with the Anniversary update ).

Re: Intellij ( PhpStorm, PyCharm, RubyMine, Webstorm, Clion ) platform

2016-07-13 Thread wulfklaue
Interesting, VSCode is not on the editor-support list. Tried Atom ( what VSCode is based upon it seems ) before but found it less "intuitive". I'll give VSCode it a try. For trying it out a few minutes it feels less "hackish" then Atom. _lol_

Intellij ( PhpStorm, PyCharm, RubyMine, Webstorm, Clion ) platform

2016-07-13 Thread wulfklaue
Anybody know of a more enhanced nim plugin for this platform? So far i have only found two plugins for it: [https://plugins.jetbrains.com/plugin/7829?pr=idea&showAllUpdates=true](https://plugins.jetbrains.com/plugin/7829?pr=idea&showAllUpdates=true) [https://github.com/rokups/intelli-nim](https:

Re: Love nim but at the same time starting to hate it...

2016-07-12 Thread wulfklaue
to doc generation The problem with putting too much information in the code, is that it over annoys the core developers. If we look at PHP ( what i consider one of the better & user friendly documentations ), they only have the basic information with each function but have a references t

Re: Love nim but at the same time starting to hate it...

2016-07-07 Thread wulfklaue
The reason why i mention separate pages Araq is not because its waste of time but because it allows Google & other search engines to directly link to the answer people search for. The Foo example you write above is indeed a wast of time. Its a wast to even document that because its useless. The

Re: Love nim but at the same time starting to hate it...

2016-07-07 Thread wulfklaue
The issue is zielmicha, that the first thing you see if not the "real documentation". It so frustrating how the documentation is done. In my opinion each function needs a summery with a sub-page separate for each function. So Google can instant link to the correct function page. It drives me pe

Love nim but at the same time starting to hate it...

2016-07-07 Thread wulfklaue
Been back at coding in Nim after some time doing a job in C#. And the whole unfriendly documentation just frustrates me more and more... Example: Google "nim split string". Page Result: [http://nim-lang.org/docs/strutils.html](http://forum.nim-lang.org///nim-lang.org/docs/strutils.html) First