no simple way to import files from dir recusively?

2023-10-26 Thread thindil
Perhaps, because it will make many things unnecessary complicated. ;) Importing the whole directories of code is usually a rare case, and the amount of work needed for creating separated types of imports can be large. Additionally, it will cause the importing syntax more complicated, so the lang

no simple way to import files from dir recusively?

2023-10-26 Thread Araq
For better or worse most developers (language developers included) decided it's not worth thinking about how to avoid less than 1% of all source code lines.

no simple way to import files from dir recusively?

2023-10-26 Thread Araq
Having said that, maybe an "import dir" feature would work well indeed.

no simple way to import files from dir recusively?

2023-10-26 Thread ITwrx
I forgot, but i was also wondering why we have to import our own project's files at all to begin with. Why not have the concept of `local imports` and `remote imports`, where for `local imports`, the compiler checks my `.nim` and `.nimf` files and imports anything i'm using, and where `remote im

How do i look into this runtime-failure?

2023-10-26 Thread alexeypetrushin
It would be helpful to supply `nim_dev` binary.

Why is building the community and ecosystem such a struggle?

2023-10-26 Thread alexeypetrushin
It may help to narrow the goal, made it formal and very specific, what exactly you want. And also collect analytics about Nim users, stats from GitHub, how many people use, what kind of problems they try to solve, what's the retention, how many people who use Nim years ago still using it today e

no simple way to import files from dir recusively?

2023-10-26 Thread ITwrx
fair enough. thanks

Why is building the community and ecosystem such a struggle?

2023-10-26 Thread mratsim
Assume you have money, where would you spend it first to have the maximum impact?

https://www.openpr.com/news/3230229/lottery-defeater-software-new-alert-2023-buyer-very

2023-10-26 Thread kathleengsalazar
Lottery Defeater Software:- Lottery Defeater Software supposedly features information for some of the most popular US lotteries like Mega Millions, Powerball, and local state games. News:- Facebook:-

Nim Mailing-list

2023-10-26 Thread gilarc
thanks for your reply yardanico

no simple way to import files from dir recusively?

2023-10-26 Thread Araq
Well @geotre's solution is fine and feel free to use it.

no simple way to import files from dir recusively?

2023-10-26 Thread ITwrx
`And an "import whole directory" feature is not common in other languages either anyway, it's not a particularly special limitation.` It would just be a nice to have improvement for nim. Also, antiquated languages and their lack of care about DX, is one reason why i chose to invest in Nim. I do

no simple way to import files from dir recusively?

2023-10-26 Thread Araq
C# is definitely used for programs with lots of UI and lacks the feature too iirc. Likewise for Python, Java, etc. Probably I'm missing something.

no simple way to import files from dir recusively?

2023-10-26 Thread ITwrx
That's why i mentioned the difference between different application types. "Use fewer files" is much more reasonable with cli, server, and libraries, i'm guessing. It's not ideal with programs with lots of UI. I want to be able to know where certain code lives in a year or two without much memor

Why is building the community and ecosystem such a struggle?

2023-10-26 Thread gcoles
the first problem is governance, the second problem is money. the developers are not responsive to the community, and dont care enough that him is small and niche with bad tooling. money is needed to market nim, and someone has to care enough to find that money and change the project to be more

Why is building the community and ecosystem such a struggle?

2023-10-26 Thread Clonk
The community is overall very nice. It's just mostly on Discord more so than the forum. Just pop by a,d say hi & you'll see plenty of people willing to help new comers.