Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

do you also do line breaks in your code like you would in a poem? the linter doesn't understand. i broke the line like that for a reason, mainly because it makes it more readable. have never worked with a programmer who understood that.


  I have freed  
  the symbols  
  from your  
  clumsy lines

  which  
  the linter probably  
  considers  
  in error  
    
  Indulge me  
  it's more readable  
  neat functions  
  in neat form


In chat programs today and all the way back to my early IRC years, I've been putting a space between a ? or ! and the preceding word, if the word is at the end of the line/paragraph.

Coffee? Yes, please !

It's probably just a neurodivergent quirk, but it's always felt far more readable and just... right.


Not in Python. Whitespace and lineation can be important in some poems and Python just doesn't have the flexibility.

I have experimented with Javascript eval(``) ... but prefer not to talk about it.


python is one of the languages where i do this. it's more using good typographical practices with line breaks, rather than using whitespace. especially with code comments




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: