Wednesday, June 15, 2011
Maximum Segment Sum
This is something I always forget. During the summer, I should be learning and practicing how to deduce this linear-time algorithm in a formal way.
The programming languages course has ended today. I've learned something, but didn't practice enough. Those tools for reasoning imperative programs look well in some trivial examples, but I wonder how they can be useful in some larger ones. What I want to know the most is whether these methods can help me figure out an efficient algorithm for certain program. Anyway, I feel more comfortable in programming languages class than algorithms class. The former class is of course a lot easier, but the stuff in it really helps me to understand something, not just memorizing some details in an hard-to-reason-with imperative algorithm.
Computer programming, to me, is not a tool for shipping some valuable things to customers. Developing software is not what I'd be doing well. Programming is rather a thinking aid to me. The better the language interact with your thoughts, the better picture you can get. Monads, for example, exist (in programming) not for some abstract beauty, but really for capturing and shaping some realistic things and processes. After taking so many engineering classes, no single one other than programming languages class really shed some light on the context of discovery. All we see are just results. They are great, significant and beautiful. So what? How can we discover or create something like them, not something that is lame and trivial?
Maybe it's too hard to answer. Too philosophical. Also, asking questions like these just made myself look like a lazy and careless student. Well, I surely won't stop questioning, but I'll make a promise. I promise that I will try harder, harder and harder.
Subscribe to:
Post Comments (Atom)
Wooow..The programming languages course.
ReplyDeleteI am still confused about that. But I try to study slowly. Accidentally, I suddenly headed to your site. Greetings. I am from Indonesia...
Melihat banyaknya agen di dunia maya membuat kita bingung agen mana yang terbaik. Sekarang ane masih nyaman main di http://103.102.46.188
ReplyDelete