Git Product home page Git Product logo

phase-3-reading-error-messages's People

Contributors

aemrich avatar ahimmelstoss avatar annjohn avatar aviflombaum avatar babyshoes avatar deniznida avatar fislabstest avatar fs-lms-test-bot avatar gj avatar ihollander avatar ivalentine avatar joll59 avatar jonbf avatar justronnie01 avatar lizbur10 avatar loganhasson avatar markedwardmurray avatar maxwellbenton avatar obiemunoz avatar pletcher avatar sammarcus avatar sarogers avatar simplificated avatar sophiedebenedetto avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

phase-3-reading-error-messages's Issues

Clarification For Ruby Script Portion Of "Reading Ruby Error Messages" Lesson

Canvas Link

https://learning.flatironschool.com/courses/5286/assignments/172778?module_item_id=376608

Concern

It would be easier to just flat out mention that the following section is meant to be ran in a related Ruby script:
This is the related section I am referring to:

For instance:

2.times do
  puts "hi"

Additional Context

No response

Suggested Changes

This should be changed for better clarification:

For instance, if we create a Ruby script that contains the following code snippet:

2.times do
  puts "hi"

If we later run this same Ruby script above, this will result in this error:

2: syntax error, unexpected end-of-input, expecting keyword_end

document's numbers each of 3 error messages as "1."

Canvas Link

https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714

Concern

in this text:
Error messages have 3 parts:

lib/a_name_error.rb:3:in <main>': undefined local variable or method hello_world' for main:Object (NameError)

  1. The location of the error, the "where":
    .
    .
    .

  2. The description, the "why":
    .
    .

  3. The type of error, the "who":

Additional Context

No response

Suggested Changes

change formatter so that this:

  1. The description, the "why":
    .
    .

  2. The type of error, the "who":

appears as:
2. The description, the "why":
.
.

  1. The type of error, the "who":

Hardcode these? Use bullets? It seems that the numbering starts fresh with "1." for each issue

sample error message shows "Fixnum" but my screen shows "Integer"

Canvas Link

https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714

Concern

For what it's worth, I don't see this error message
TypeError: String can't be coerced into Fixnum

but instead see:
TypeError: String can't be coerced into Integer

Additional Context

No response

Suggested Changes

Maybe other people see "Fixnum" so the message still matches for them.

For me when I see "Integer" on the screen, I think "Flatiron's stuff isn't keeping up."

? Maybe change to:
TypeError: String can't be coerced into Integer

"Errors are clues" sentence/phrasing is complex

Canvas Link

https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714

Concern

Readers can comprehend the meaning of this, but the extra mental processing isn't worth it:
Errors are clues, and reading them is the interpreter telling you what to do to fix the program and move on.

Additional Context

No response

Suggested Changes

Maybe change this:
Errors are clues, and reading them is the interpreter telling you what to do to fix the program and move on.

to this?:
Error messages are clues. Reading them lets the interpreter guide you in fixing the program and moving on.

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.