nim-wiki/Feature-suggestions.md

36 lines
1.4 KiB
Markdown
Raw Normal View History

2012-07-26 22:54:14 +00:00
What features would you like to see in Nimrod or the Nimrod Ecosystem:
2013-08-05 09:41:12 +00:00
- <del>gem like functionality (gem install sinatra)</del>
- [babel](https://github.com/nimrod-code/babel)
2012-07-26 22:54:14 +00:00
- A cookbook site similar to Python, where users can share code,
mostly snippets. Driven by normal users rather by experts-only.
- A wiki functionality for parts of the documentation so that
users could update the documentation in a simple way (and Araq
could take these suggestions and approve or reject them
quickly).
- A pastebin for nimrod on the Nimrod Homepage or somewhere else.
- Allow multiple ranges (eg 1..3,5..8), handle reverse ranges (eg 5..1, 3.. -3)
- echo automatically handle simple display of sequences (similar to repr)
- vector and matrix maths (or include a port of an existing library)
- include a do while loop (or equivalent)
- % formating extended to include math precision (like provided by formatFloat, but in a concise % syntax way)
2013-08-15 09:31:08 +00:00
- easier sorting, that doesn't need wrestling with types.
- a ternary condition - like ?: in C, or iif()
- a simple way of indexing the last element of an array or sequence, to avoid long-hand code like arr[arr.len-1]
- a shorthand way of discarding the return value of a proc (to improve readability)
- a shorthand initialization of arrays or sequences, eg var x: array[0..25, int] = -1
would initialize all elements of x to -1