orangeduck / BuildYourOwnLisp

Learn C and build your own programming language in under 1000 lines of code!
http://www.buildyourownlisp.com/
Other
2.9k stars 394 forks source link

unindent: Don't use else when we already break #57

Closed igalic closed 10 years ago

igalic commented 10 years ago

Un-indent the else case, removing the else all together. This makes for easier reading or the control flow, for easier ammending of more logic (% operator). The else is not necessary, because we already break out of the loop.

orangeduck commented 10 years ago

Hey,

Could you propagate this change to the code in src as well as the code in the following chapters?

Thanks,

Dan

igalic commented 10 years ago

done