-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ordering arrays #11
Comments
IMHO, it's more like best practices, not code style guidelines. |
Both loops above are fine. I wouldn't recommend one more than the other. The first style gives you the ability to quit before entering the loop, but there are 2 $order functions. The second style only has one $order function, but you always enter the loop. |
In any way you entering the loop, and in second style, you also can quit before
|
We can start filling |
@eduard93 we could start witth MD file, but I still believe that Wiki pages would be easier to maintain and navigate for this kind of content. |
@tsafin GitHub project wiki eg. MDX2JSON wiki is just another repo with md files, so I see no point in maintaining two repos with text files instead of one. |
Or instead of wiki possible to use Read the docs, one of examples here |
Although their markup might be the same, but from usabiliy point of view Wiki is much more convenient to use (especially for well structured hierarchy). IMVHO |
@daimor but Read the docs looks nice. But this is external dependency, which might eventually P.S. |
instead of with getting next index in the end of loop
should be
The text was updated successfully, but these errors were encountered: