From: clubley@remove_me.eisner.decus.org-Earth.UFP   
      
   On 2025-08-18, Dan Cross wrote:   
   > In article <107nr15$18f8f$1@dont-email.me>,   
   > Simon Clubley wrote:   
   >   
   >>Unless it's explicit in the language syntax itself, and given that   
   >>I write code in multiple languages, I have long written code that   
   >>assumes implicit[*] short-circuiting is not available.   
   >   
   > Huh, interesting. I suppose my take is that I have an   
   > obligation to learn the idioms of a given language, if I am   
   > writing code in that language, and this feels like one that is   
   > useful to know about.   
   >   
   > To each their own, I suppose.   
   >   
      
   I write simple to understand code, not clever code, even when the   
   problem it is solving is complex or has a lot of functionality   
   built into the problem.   
      
   I've found it makes code more robust and easier for others to read,   
   especially when they may not have the knowledge you have when you   
   wrote the original code.   
      
   I certainly don't feel the need to write job security code or some   
   "macho" desire to write dense and hard to understand code to order   
   to try and demonstrate to others just how "smart" I am.   
      
   I am not saying you are doing that BTW, but I've seen enough code   
   written by others which was clearly written with that mindset.   
      
   >   
   > Or, better yet, write less C and use safer languages. :-D   
   >   
      
   Unfortunately that's not really possible in many cases. I _strongly_   
   wish a Wirth-style language had become the standard system integration   
   and low-level language instead of C.   
      
   Simon.   
      
   --   
   Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP   
   Walking destinations on a map are further away than they appear.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|