>It's good exercise to push a language to do things it isn't good at.
You pick up a lot of useful tricks. A lot of people would think
programming couldn't be fun, but if crossword puzzles are fun, or sudoku
is fun, then programming must be fun, but it's better than fun because
you can solve important problems. Solving a sudoku or crossword puzzle
can't help to discover a cure for cancer, but some computer programs do
that.<br><br>i must be burned out today. i was looking for the "like" button as if i was on facebook.<br><br><br><div class="gmail_quote">On Mon, Feb 28, 2011 at 1:58 AM, Mike Miller <span dir="ltr"><<a href="mailto:mbmiller%2Bl@gmail.com">mbmiller+l@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">On Sun, 27 Feb 2011, Robert Nesius wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
On Sun, Feb 27, 2011 at 3:08 AM, Mike Miller <<a href="mailto:mbmiller%2Bl@gmail.com" target="_blank">mbmiller+l@gmail.com</a>> wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
It isn't very efficient, though. It took 13 minutes on my machine.<br>
</blockquote>
<br>
That's part of the fun of it. There are multiple twists you can add for fun.<br>
<br>
1) Choosing the best language for a particular problem.<br>
<br>
2) Commit to solving in a particular language for the fun of overcoming the<br>
challenges that presents (like bash, or lisp, or erlang, or asm, etc...)<br>
</blockquote>
<br></div>
It's good exercise to push a language to do things it isn't good at. You pick up a lot of useful tricks. A lot of people would think programming couldn't be fun, but if crossword puzzles are fun, or sudoku is fun, then programming must be fun, but it's better than fun because you can solve important problems. Solving a sudoku or crossword puzzle can't help to discover a cure for cancer, but some computer programs do that.<div class="im">
<br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
3) Finding a solution that is computationally more efficient. i.e., O(N^2) solution is readily apparent. Might there be an O(N) or O(nlogn) approach that exploits underlying properties?<br>
</blockquote>
<br></div>
I was wondering about that for things like factoring and identifying prime numbers.<br>
<br>
It would be good to study more algorithms, but I don't have enough time to study them until I actually have a work-related problem to solve. For these problems I have to toss off one of the first things that comes into my head. It's a good feeling to get a quick answer, but I also feel like I opened a bag of chips and ate just one.<div>
<div></div><div class="h5"><br>
<br>
Mike<br>
_______________________________________________<br>
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota<br>
<a href="mailto:tclug-list@mn-linux.org" target="_blank">tclug-list@mn-linux.org</a><br>
<a href="http://mailman.mn-linux.org/mailman/listinfo/tclug-list" target="_blank">http://mailman.mn-linux.org/mailman/listinfo/tclug-list</a><br>
</div></div></blockquote></div><br>