<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>[snip]<br><blockquote type="cite"><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I was trying to emphasize that it may be harder to students to keep their code neater compared to some other languages which usually have code that rarely exceed 1 line.</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Example:</span></font></div>
<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Racket using the universe teachpack:</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>
</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><div>(define (s-mouse-engine s x y event)</div><div> (cond</div><div> [(and </div>
<div> (and (> x 248) (< x 424)) </div><div> (and (> y 570) (< y 649)))</div><div> (make-S-STATE</div><div> (get-s-background s) ;;I have made methods here to reduce length, but other wise it would be longer.</div>
<div> (make-button</div><div> (s-mouse-engine-worker1 event "button-img")</div><div> (get-s-button-x s) ;;I have made methods here to reduce length, but other wise it would be longer.</div>
<div> (get-s-button-y s) ;;I have made methods here to reduce length, but other wise it would be longer.</div><div> (s-mouse-engine-worker1 event "button-initiate")))]</div></span></font></div></blockquote><br></div><div>How would you write that in another language that rarely exceeds one line?</div><div><br></div><div>rac</div></body></html>