home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.os.vms      DEC's VAX* line of computers & VMS.      264,096 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 263,770 of 264,096   
   =?UTF-8?Q?Arne_Vajh=C3=B8j?= to Dan Cross   
   Re: VMS Bootcamp   
   15 Nov 25 20:02:04   
   
   From: arne@vajhoej.dk   
      
   On 11/15/2025 10:04 AM, Dan Cross wrote:   
   > Anyway, it's a big design space in languages, and one must admit   
   > that safety in this dimension exists along some spectrum; from   
   > trivially dangerous (C, assembler) to safe-by-default (Rust, Ada   
   > etc).  Pascal is somewhere in the middle.   
      
   Yes. Pascal is strict but not nearly as strict as Ada.   
      
   But besides what the compiler enforce, then VMS Pascal   
   benefit from having a tradition for nice code.   
      
   I just checked some of my VMS Pascal code. A little over 100   
   files with a little over 7000 lines. Zero type casts and one   
   UNSAFE (and that UNSAFE is for an alternate declaration for   
   LBR$GET_HELP because the one in PASCAL$LBR_ROUTINES did not   
   work for me).   
      
   And my guess is that I am not atypical regarding use   
   of type cast and UNSAFE in VMS Pascal.   
      
   Arne   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca