learn-co-curriculum / phase-3-reading-error-messages Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
https://learning.flatironschool.com/courses/5286/assignments/172778?module_item_id=376608
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"
No response
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
https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714
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
No response
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
https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714
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.
No response
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.
https://learning.flatironschool.com/courses/5187/assignments/180455?module_item_id=397714
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)
The location of the error, the "where":
.
.
.
The description, the "why":
.
.
The type of error, the "who":
No response
change formatter so that this:
The description, the "why":
.
.
The type of error, the "who":
appears as:
2. The description, the "why":
.
.
Hardcode these? Use bullets? It seems that the numbering starts fresh with "1." for each issue
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.