home bbs files messages ]

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

   comp.os.linux.misc      Linux-specific topics not covered by oth      135,536 messages   

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

   Message 133,642 of 135,536   
   candycanearter07 to c186282@nnada.net   
   Re: Python   
   19 Dec 25 13:30:05   
   
   XPost: alt.folklore.computers   
   From: candycanearter07@candycanearter07.nomail.afraid   
      
   c186282  wrote at 04:36 this Monday (GMT):   
   > On 12/14/25 06:56, Stéphane CARPENTIER wrote:   
   >> Le 14-12-2025, c186282  a écrit :   
   >>>   
   >>>     NOT sure why so many people want to trash Python.   
   >>   
   >> My issues with python are:   
   >> - It's using indentations, so when I comment a block of code to see   
   >>    what happens, it breaks everything and I have to manage the   
   >>    indentations. I can't just comment/uncomment a block of code as I do   
   >>    with other programming languages.   
   >   
   >    You CAN do block comments BTW ... use triple-quote at   
   >    the beginning/end. The double and single quote char   
   >    work.   
      
   Technically, this isn't a comment, but a multi-line string. It just   
   happens that Python ignores a string by itself, and multi-line strings   
   uses a similar parsing for it.   
      
   >    Indents ... well ... those have been good programming   
   >    practice since forever. With Python they are also   
   >    functional, not just 'decorative'. I do pref the 'C'   
   >    start/end brackets or Pascal Begin/End ... but Python   
   >    isn't THAT hard to deal with. Typically use just TWO   
   >    space indents to keep line-lengths shorter. A few   
   >    editors put in vertical guide lines to help keep   
   >    Python code right. IDLE is the most common with that,   
   >    but more elaborate editors like PyCharm can be had.   
   >    I *think* geany can be set to do that also.   
   [snip]   
      
      
   The annoyance comes from different editors having different rules on it,   
   I think.   
   --   
   user  is generated from /dev/urandom   
      
   --- 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