GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

clacke (clacke@libranet.de)'s status on Thursday, 10-Aug-2023 21:02:09 JST

  1. Embed this notice
    clacke (clacke@libranet.de)'s status on Thursday, 10-Aug-2023 21:02:09 JST clacke clacke
    in reply to
    • array :java: :void: :php:
    • chsh -s /usr/bin/pwsh $USER

    > package names

    Every language has either wild package names or a community so small that only one person wrote an html parser and can call it "html".

    > solving problems through syntax

    Every language except Lisp and friends.

    > PEP 8 linter

    Run your code through the "black" formatter. It's nice to write code your friends can read. Every language should come with a style checker and a formatter.

    > different versions of pip for every Python version

    That's how they coexist. If you don't like it you can instead my-python-version -m pip.

    > conflicting solutions

    Pick a set that suits you. I enjoy using pyenv+pip-tools.

    > package management is horrible

    It installs stuff and dependencies and struggles with the same tradeoffs and intrinsic complexities as any package management system.

    > "Pythonic" code is meaningless

    It's nice to write code friends can read.

    > only know Python

    It really is a very good hammersawscrewdriver. I would love an excuse to use one of the other languages I learned, but I don't have one.

    > non-standard nomenclature

    CS calls these abstract data types lists and dictionaries. Programmers mix them up with implementation details and call them arrays and hashtables even when they're not.

    > quotes in Python

    Yes, they are different from bash. Just different arbitrary rules.

    > pass things by value

    Don't? I admit sometimes I would like to have more immutable types to make sure code I call behaves, but it's seldom a real problem in practice.

    > GCC knows you want to import screencapture.h

    What? No it doesn't unless you include.

    > 4 SPACES

    Arbitrary conventions are arbitrary. Please follow conventions. It's nice to write code friends can read.

    @a13cui @array

    In conversation Thursday, 10-Aug-2023 21:02:09 JST from gnusocial.jp permalink

Feeds

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

GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.