JuliaPy / JuliaPy/PythonCall.jl
Why does the argument order of `pyconvert_add_rule` deviate from convention
- 主要語言
- Julia
- 星號
- 1.1k
- 分支
- 86
- 平均合併
- 1 天 22 小時
- 30 天內合併 PR
- 3
描述
According to the [Julia Docs](https://docs.julialang.org/en/v1/manual/style-guide/#Write-functions-with-argument-ordering-similar-to-Julia-Base), function arguments should be placed first because "Putting a function argument first permits the use of [do](https://docs.julialang.org/en/v1/base/base/#do) blocks for passing multiline anonymous functions."
Is there a reason for not following this convention?
Would it be reasonable to support the conventional argument order in addition to the current argument order?
Can we switch fully to the conventional argument order and deprecate the current argument order / remove it in the next breaking release?
貢獻指南
這個儲存庫沒有索引到貢獻指南
評估
這個 Issue 還沒有評估資料。