Comments on: The sliced bread approach to learning programming http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/ Programming, Education, Computer Science Wed, 30 Sep 2020 08:31:44 -0400 http://wordpress.org/?v=2.8.4 hourly 1 By: Bashar http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33827 Bashar Sun, 08 Jul 2007 18:55:09 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33827 Thanks. Thats a shame. Both have potential and I touch based slightly on both. Thanks. Thats a shame. Both have potential and I touch based slightly on both.

]]>
By: Tony http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33826 Tony Sun, 08 Jul 2007 18:51:29 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33826 I have not used PHP Symfony, nor would I be able to give you a neutral comparison in regards to Ruby on Rails. Sorry :) I have not used PHP Symfony, nor would I be able to give you a neutral comparison in regards to Ruby on Rails. Sorry :)

]]>
By: Bashar http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33809 Bashar Sun, 08 Jul 2007 17:44:18 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33809 You are one real Rub fan. Out of topic qst if I may. I am looking for a good detailed analysis and comparison between PHP Symfony and RoR. Spped, development ease, drawbacks and all. Neutral one. You are one real Rub fan. Out of topic qst if I may. I am looking for a good detailed analysis and comparison between PHP Symfony and RoR. Spped, development ease, drawbacks and all. Neutral one.

]]>
By: Tony http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33784 Tony Sun, 08 Jul 2007 15:25:48 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33784 @Bashar - it indeed looks like the php library strips out the spaces. I suppose you could apply the algorithm to each word individually, and then join the results. Or switch over to the Ruby side ;) And yes, it would not work with Arabic. Since the algorithm applies a set of phonetic rules, it is language specific, namely English. And while any Latin based language should produce a result, the outcome will be that of a foreign word being pronounced as if it was English -- so the results could be inaccurate. @Bashar – it indeed looks like the php library strips out the spaces. I suppose you could apply the algorithm to each word individually, and then join the results. Or switch over to the Ruby side ;)

And yes, it would not work with Arabic. Since the algorithm applies a set of phonetic rules, it is language specific, namely English. And while any Latin based language should produce a result, the outcome will be that of a foreign word being pronounced as if it was English — so the results could be inaccurate.

]]>
By: Bashar http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33773 Bashar Sun, 08 Jul 2007 13:55:29 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33773 Never knew about metaphone. I knew from first glance you are not an easy nerd to deal with :) People always misspell my name into female one, so testing this it is useful: bashar abdullah =>BXRBTL basher abdullah => BXRBTL besher abdullah => BXRBTL I wonder why you are getting space in the result and I'm not Tony Targonski => TNTRKNSK I am using the php metaphone though. Another thing is, it doesnt work with Arabic :( Never knew about metaphone. I knew from first glance you are not an easy nerd to deal with :)

People always misspell my name into female one, so testing this it is useful:
bashar abdullah =>BXRBTL
basher abdullah => BXRBTL
besher abdullah => BXRBTL

I wonder why you are getting space in the result and I’m not
Tony Targonski => TNTRKNSK
I am using the php metaphone though.

Another thing is, it doesnt work with Arabic :(

]]>
By: Rohit http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33442 Rohit Sat, 07 Jul 2007 00:09:14 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33442 Applying technology to solve problems that don't seem to fit initially is in my opinion a form of creativity. Applying technology to solve problems that don’t seem to fit initially is in my opinion a form of creativity.

]]>
By: Tony http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33362 Tony Fri, 06 Jul 2007 14:23:16 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33362 @Mitch - heh, the Bubble Sort is likely to be taught first, as it's the simplest. In the <a href="http://compsci.ca/blog/what-computer-science-could-borrow-from-the-english-class/" title="What Computer Science could borrow from the English class" rel="nofollow">linked article</a> I talked about the student behaviour where they do simply memorize the code. And if they never implement it in their own projects, they'll never learn how bad it really is. And you are right - Bubble Sort obviously doesn't belong in any production environment. It's a purely educational-purposes algorithm. @Ilya - awesome, now I don't feel as guilty for using all that code that you post on your blog ;) @Walter - you are absolutely correct, AJAX is the Sliced Bread of modern programming. JavaScript and XML have been around for a while, but the current implementation of the two together has spawned a whole new industry. Good catch! @Mitch – heh, the Bubble Sort is likely to be taught first, as it’s the simplest. In the linked article I talked about the student behaviour where they do simply memorize the code. And if they never implement it in their own projects, they’ll never learn how bad it really is. And you are right – Bubble Sort obviously doesn’t belong in any production environment. It’s a purely educational-purposes algorithm.

@Ilya – awesome, now I don’t feel as guilty for using all that code that you post on your blog ;)

@Walter – you are absolutely correct, AJAX is the Sliced Bread of modern programming. JavaScript and XML have been around for a while, but the current implementation of the two together has spawned a whole new industry. Good catch!

]]>
By: Walter http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33351 Walter Fri, 06 Jul 2007 13:31:12 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33351 Isn't AJAX some sort of Sliced Bread ? Good article ! Isn’t AJAX some sort of Sliced Bread ?
Good article !

]]>
By: Ilya Grigorik http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33340 Ilya Grigorik Fri, 06 Jul 2007 12:43:52 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33340 Neat, I can see a couple of cases where this will come in handy. Neat, I can see a couple of cases where this will come in handy.

]]>
By: Mitch Wheat http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/comment-page-1/#comment-33266 Mitch Wheat Fri, 06 Jul 2007 04:21:03 +0000 http://compsci.ca/blog/the-sliced-bread-approach-to-learning-programming/#comment-33266 Please, please PLEASE!! don't ever use BubbleSort let alone memorise it. Use Shell sort as a minimum... The amount of times I've heard "...it doesn't matter, it's only a small list, you're worrying about nothing, I just have to get on and finish this..." only to find months later that the software is running like a dog because the lsit is no longer small!! Please, please PLEASE!! don’t ever use BubbleSort let alone memorise it.

Use Shell sort as a minimum…

The amount of times I’ve heard “…it doesn’t matter, it’s only a small list, you’re worrying about nothing, I just have to get on and finish this…” only to find months later that the software is running like a dog because the lsit is no longer small!!

]]>