QuantEcon / lecture-source-jl

Source files for "Lectures in Quantitative Economics" -- Julia version
https://julia.quantecon.org
BSD 3-Clause "New" or "Revised" License
131 stars 53 forks source link

Ensure all source-code displays without horizontal scrolling #271

Closed jlperla closed 5 years ago

jlperla commented 5 years ago

For example, in http://compare-lectures.quantecon.org/jl/julia_by_example.html#

image

To do this, we will need to shorten the lines of code.

@Nosferican @arnavs It might be helpful to figure out the length at which scrolling appears, if you have any ideas? We could then could check that column width in our editors.

Active template for checklists:

Getting Started with Julia

More Programming and Software Engineering Principles

Tools and Techniques

Dynamic Programming

Multiple Agent Models

Time Series Models

Dynamic Programming Squared

arnavs commented 5 years ago

Scrolling kicks in at 99/100 characters. I think a good workflow is to set the text in the editor to that width (plus indentation), and then make sure that no code lines go over the limit.

Assigning @XiaojunGuan per slack

arnavs commented 5 years ago

Closing this thanks to #283, thanks @XiaojunGuan for your hard work