Giter Club home page Giter Club logo

Comments (8)

lacolaco avatar lacolaco commented on August 19, 2024

こちらでまとめられたら、ユースケース側からはread-eval-print節への参照で済ませられそう

from js-primer.

azu avatar azu commented on August 19, 2024

250 2016-07-31 23-11-12

Mastering JavaScriptはchapter 1のREPLの話のところで、エラー表示の話もしてた。
話的に自然なので、 #102 (comment) の話をここに書くといいのかも。

後ウェブ版はコンソールがあるので、#56 これを使った解説と分岐が必要になるかなー
(GItBookで一応分けられる)

from js-primer.

azu avatar azu commented on August 19, 2024

image

http://refactoringjs.com/
リファクタリングJavaScriptで見たこのテクニックはここに入れたいかも。
REPLでこういうの打ってみましょうって感じにして、もしエラーがでたら古いバージョンのものを使ってるかもしれないよっていう注記を入れる感じの
(ここか、最初にそういう機能が出てくるところ)

from js-primer.

azu avatar azu commented on August 19, 2024

image

かんたん Rubyを読んで、デバッグの概念についても触れられていて、エラーを次の2つに分けていた

  • 構文エラーがでた例 と エラーの読み方
  • 実行時エラーがでた例と エラーの読み方

これ最初にあると分かりやすいので、
スラスラ読める JavaScriptふりがなプログラミングも参考にしてエラーを見る部分も入れたい。

from js-primer.

azu avatar azu commented on August 19, 2024

スクラッチパッドを使う予定という話を #2 をしていたけど、コンソールへの出力結果が見られないので、微妙に不便。

  • コンソールを使う
  • スクラッチパッドを使う
  • Node.jsを使う
  • CodeSandbox のようなものを使う
  • js-primerのサイト上にREPLを用意する

どの辺にするかを改めて考えたい感じがする。

コンソールとスクラッチパッドは見ているサイトの影響を受けるので、どちらにしても指定した場所への案内が必要になるのではという感じがしている。
ChromeのEager Evaluationもあるしゅ魅力的な選択肢でもあるので考慮したい

from js-primer.

azu avatar azu commented on August 19, 2024

js-primerのサイト上にREPLを用意する

eloquentjavascriptはこのスタイルだった
https://eloquentjavascript.net/2nd_edition/code/
http://eloquentjavascript.net/code/

from js-primer.

azu avatar azu commented on August 19, 2024

#492 で以下みたいな感じにすることにした。

  • index.html + コンソール
    • index.htmlにscriptタグを書いて、コンソール実行。リロード方式
    • ファイルを分けて読み込む方法
  • エディタ
  • その他のリンク?
    • CodeSandboxとか設定方法へのリンクをまとめたもの?

file:/// だけど ajaxとかmoduleとか必要にならなければOK

from js-primer.

azu avatar azu commented on August 19, 2024

image

Vue.js入門 基礎から実践アプリケーション開発まで:書籍案内|技術評論社 ではHTMLとjsfiddleを使っていた。

from js-primer.

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.