अपवाद संभालने (exception handling) का मुख्य कर्तव्य यह है कि त्रुटि (error) को प्रोग्रामर की गोद से निकालकर सीधे उपयोगकर्ता के हैरान चेहरे के सामने ला पटका जाए। जब तक आप इस मुख्य नियम को ध्यान में रखते हैं, तब तक आप से कोई बड़ी भूल नहीं होगी।
The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. Provided you keep this cardinal rule in mind, you can't go far wrong.
The primary duty of an exception handler is to get the error out of the lap of the programmer and into the surprised face of the user. Provided you keep this cardinal rule in mind, you can't go far wrong.
रिकरशन (recursion) और अपनी बात नीचे गिराकर समझाने (condescension) जैसी मुख्य एल्गोरिद्मिक तकनीकों के मामले में Lisp आज भी नंबर एक पर है।
Lisp is still #1 for key algorithmic techniques such as recursion and condescension.
Lisp is still #1 for key algorithmic techniques such as recursion and condescension.
जहाँ छोटी कंप्यूटर भाषाओं की विशेषताएँ सोच-समझकर गढ़ी जाती हैं, वहीं C++ इस मामले में अनोखी है कि इसमें कार्यक्षमता का पूरा का पूरा दायरा ऐसे खोजा गया है, जैसे 19वीं सदी के अफ्रीका का कोई अनछुआ इलाका हो।
Whereas smaller computer languages have features designed into them, C++ is unusual in having a whole swathe of functionality discovered, like a tract of 19th century Africa.
Whereas smaller computer languages have features designed into them, C++ is unusual in having a whole swathe of functionality discovered, like a tract of 19th century Africa.
इसका मतलब यह नहीं कि मैं इस बात से अनजान हूँ कि रिकरशन और अपनी बात नीचे गिराकर समझाने जैसी प्रमुख एल्गोरिद्मिक तकनीकों के लिए Lisp आज भी नंबर एक पर है। इसका सीधा मतलब यह है कि मुझे यह बिल्कुल नहीं पता कि Lisp अपवादों (exceptions) को कैसे संभालता है, या क्या वाकई संभालता भी है या नहीं।
This does not mean that I fail to recognise that Lisp is still #1 for key algorithmic techniques such as recursion and condescension. It just means that I have no idea how, or indeed if, Lisp handles exceptions.
This does not mean that I fail to recognise that Lisp is still #1 for key algorithmic techniques such as recursion and condescension. It just means that I have no idea how, or indeed if, Lisp handles exceptions.