GithubHelp home page GithubHelp logo

Comments (10)

sksat avatar sksat commented on August 27, 2024

ただ,c2a-core update はもうしばらくはあらゆるモノが breaking であり続けるだろうと思われるので,#8 と比べて v4 で絶対やらないといけないかというと優先順位はやや低い(つまり,実はユーザにとって非自明さが大きい,という変更ほど優先して「お知らせ」としての major update を使う必要がある)

from c2a-core.

sksat avatar sksat commented on August 27, 2024

それはそれとして,現状のディレクトリ構造への雑感: ディレクトリ構造でアーキテクチャを表現できると思いすぎ(実際の関心に対してディレクトリ構造が不当に深い)・関心ではなく目の前の字面で命名/分割をしがち

from c2a-core.

sksat avatar sksat commented on August 27, 2024

Drivers/SuperDrivers/Protocol はあまり並列していないと思っていたが,元々くっついていたものを雑に分割した結果らしい.実態としては本体とユーティリティ用のメンバ関数といったところか.なのでむしろ rename した上で一つにしてあげる方がよさそう.

from c2a-core.

sksat avatar sksat commented on August 27, 2024

ディレクトリ名を複数形にするのをやめたい!!!! src/src_user/Drivers とかは分かる(中に Driver の実装が複数入っているので)けど,src/src_core/Drivers はおかしい.そもそも複数実装があったら複数形にすべき,と思っていたのであれば IfWrapper(現 HAL)も IfWrappers であるべきだったはずだし,単に表記揺れの類では?

from c2a-core.

sksat avatar sksat commented on August 27, 2024

applications は core も user も真に複数の実装が入っている(概念の定義は systemtlm_cmd にある)ので許せる

from c2a-core.

sksat avatar sksat commented on August 27, 2024

ディレクトリ名は全部単数形に揃えることにした

from c2a-core.

sksat avatar sksat commented on August 27, 2024

<C2A user>/src/src_user/Test<C2A user>/test じゃない?

from c2a-core.

sksat avatar sksat commented on August 27, 2024

<C2A user>/src/src_user/Test/test は切る必要無い

from c2a-core.

sksat avatar sksat commented on August 27, 2024

ディレクトリ名は全部単数形に揃えることにした

cargo も examples, tests はあるなあとなっている.全統一よりは core, user で同じディレクトリ名にしようとしたかったことに引き摺られて core のディレクトリが不当に複数形名になっている(中に同じ型の似たようなモノが並んでいるわけではない)やつのみでいいかも(基準は曖昧になるけど).つまり Drivers のみ.
https://doc.rust-lang.org/cargo/guide/project-layout.html

from c2a-core.

meltingrabbit avatar meltingrabbit commented on August 27, 2024

OK

from c2a-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.