The most difficult part of starting to program with Haskell is giving up many of the
most familiar techniques and ways of thinking within imperative programming. A first
impression is often that it must simply be impossible to write a computer program if you
cannot do X, Y, or Z, especially since X, Y, and Z are some of the most common
cannot do X, Y, or Z, especially since X, Y, and Z are some of the most common
patterns in "normal" imperative programming. In this section, let's review a few of the
most "shocking" features of Haskell (and of functional programming in general, for the
most part).
ส่วนที่ยากที่สุดของการเริ่มต้นในการเขียนโปรแกรมด้วย Haskell จะให้ขึ้นหลายเทคนิคที่คุ้นเคยมากที่สุด
และวิธีการของความคิดภายในคำสั่งโปรแกรม ความประทับใจ
แรกคือมักจะคิดว่ามันก็ต้องเป็นไปไม่ได้ที่จะเขียนโปรแกรมคอมพิวเตอร์ถ้าคุณ
ไม่สามารถทำ x, y หรือ z โดยเฉพาะอย่างยิ่งตั้งแต่ x, y, z คือบางส่วนของ
ที่พบมากที่สุดไม่สามารถทำ x, y, หรือ z โดยเฉพาะอย่างยิ่งตั้งแต่ x, y,และ z คือบางส่วนของรูปแบบที่พบมากที่สุดใน
"ปกติ" การเขียนโปรแกรมที่จำเป็น ในส่วนนี้เราจะมาทบทวนไม่กี่ของคุณสมบัติที่มากที่สุด
"น่าตกใจ" ของ Haskell (และจากโปรแกรมการทำงานโดยทั่วไปสำหรับ
ส่วนใหญ่)
การแปล กรุณารอสักครู่..
