tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. Zatty (zatnosk@manowar.social)'s status on Friday, 16-Apr-2021 12:51:10 CEST Zatty Zatty
    in reply to
    • Rune :blobpeek:
    • reynir

    @rune @reynir "Use 4-space indents and no tabs at all."

    :blobcatno:

    In conversation Friday, 16-Apr-2021 12:51:10 CEST from manowar.social permalink
    • Rune :blobpeek: (rune@mcd.dk)'s status on Friday, 16-Apr-2021 12:51:10 CEST Rune :blobpeek: Rune :blobpeek:
      in reply to
      • reynir

      @zatnosk @reynir Accessibility? :blobcatno:

      Also, being used to 2-space-width, it's terrifying to double that and THEN have to stay below 79 characters.

      In conversation Friday, 16-Apr-2021 12:51:10 CEST permalink
    • Rune :blobpeek: (rune@mcd.dk)'s status on Friday, 16-Apr-2021 12:51:11 CEST Rune :blobpeek: Rune :blobpeek:
      in reply to
      • reynir

      @reynir @zatnosk I don't think that Guido cares what language it's in.

      Even for the Python C code guidelines it says:"No line should be longer than 79 characters. If this and the previous rule together don't give you enough room to code, your code is too complicated"

      Granted I think that policy is full of shit, but it's funny in this scenario :blobamused:

      https://www.python.org/dev/peps/pep-0007/#code-lay-out

      In conversation Friday, 16-Apr-2021 12:51:11 CEST permalink
    • reynir@mcd.dk's status on Friday, 16-Apr-2021 12:51:13 CEST reynir reynir
      in reply to
      • Rune :blobpeek:

      @zatnosk @rune Clearly, mysql should stop writing python code altogether!

      In conversation Friday, 16-Apr-2021 12:51:13 CEST permalink
    • reynir@mcd.dk's status on Friday, 16-Apr-2021 12:51:18 CEST reynir reynir
      in reply to

      @zatnosk Obviously, lines should be presented as a spiral on the screen, one line at a time for maximal utility of screen estate.

      In conversation Friday, 16-Apr-2021 12:51:18 CEST permalink
    • Rune :blobpeek: (rune@mcd.dk)'s status on Friday, 16-Apr-2021 12:51:18 CEST Rune :blobpeek: Rune :blobpeek:
      in reply to
      • reynir

      @reynir @zatnosk If you listen to the Python language developers you should just stop writing code with lines longer than 79 characters

      https://www.python.org/dev/peps/pep-0008/#maximum-line-length

      In conversation Friday, 16-Apr-2021 12:51:18 CEST permalink
    • Zatty (zatnosk@manowar.social)'s status on Friday, 16-Apr-2021 12:51:18 CEST Zatty Zatty
      in reply to
      • Rune :blobpeek:
      • reynir

      @rune @reynir I'm not writing the long(est) lines, mysql is!

      In conversation Friday, 16-Apr-2021 12:51:18 CEST permalink
    • Zatty (zatnosk@manowar.social)'s status on Friday, 16-Apr-2021 12:51:19 CEST Zatty Zatty

      I need at least two monitors when working, because sometimes lines are so wide they don't fit on one monitor, so I just let them continue on the other monitor!

      In conversation Friday, 16-Apr-2021 12:51:19 CEST permalink
    • Rune :blobpeek: (rune@mcd.dk)'s status on Friday, 16-Apr-2021 12:55:37 CEST Rune :blobpeek: Rune :blobpeek:
      • Ekaitz Zárraga 👹
      • reynir

      @ekaitz_zarraga @zatnosk @reynir You might have a selection bias in languages.I can't imagine java or c# written like that. It's unthinkable to me.

      It's not a problem for me in ruby, but honestly my natural preference is a tad higher up to about ~90 characters looking at some recent code.

      In conversation Friday, 16-Apr-2021 12:55:37 CEST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.