Giter Club home page Giter Club logo

Comments (4)

melborne avatar melborne commented on August 23, 2024

togglateに対する提案ありがとうございます!Github上で翻訳をする上で、あったらかなり便利そうですね。

問題はtogglate側で何処までの機能を担うのがいいのかという議論があると思います。2つあると思います。

  1. togglateがdiffの機能を持つべきか。
  2. diffの機能を持つとしてGithubの使用を前提とした機能を持つべきか。

1についてはcommentoutコマンドを実装するときにも考えたのですが、そのときの自分の答えとしては「togglateは最小の機能を保ってdiffのことはdiffでやるべき」でした。これはtogglate側でdiffのすべてのオプションを持つのは現実的でないし、別実装のdiff(colordiffとか)を使いたいユーザもいると思ったからです。

@gosyujin さんからの提案を頂いて、便利そうと思う一方でdiffの取り込みに躊躇しているくらいなので、さらに2の機能を含んでいるものをtogglateに取り込むのはちょっと難しいかな、というのが率直な意見です。

ですので、折角のユニークな提案を頂けて喜んでいるのですが、現状のtogglateの方向性としては別レイヤーのほうが収まりがいいと考えています。

from togglate.

gosyujin avatar gosyujin commented on August 23, 2024

ありがとうございます。
やっぱりTogglateに役割を持たせすぎですよね 😢

  1. と 2. に関しては、melborne さんと同じようなことを
    自分で書いていても思いました…。
    (他のdiff使うにはとか、そもそもdiffまでやるべきかとか、原文はGitHub以外にもあるのではないかとか…)

現状やりたいこととしては既に Rake でできているので特に問題ないのですが、
(Rakefile の中での Togglate の役割は togglate commentout でローカルにある文書のピックアップに使うものとしている)
もっと汎用化して組み込めないかなーと思った次第です。

from togglate.

gosyujin avatar gosyujin commented on August 23, 2024

issueとしてはcloseしておきます。

from togglate.

melborne avatar melborne commented on August 23, 2024

折角のいい提案すいません 😞

from togglate.

Related Issues (8)

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.