• 0 Posts
  • 19 Comments
Joined 2 年前
cake
Cake day: 2024年1月6日

help-circle

  • There are two different things mentioned here, which I feel I need to clarify:

    First, what you said about merging / creating a PR with broken tests. Absolutely you shouldn’t do that, because you should only merge once the feature is finished. If a test doesn’t work, then either it’s testing for the wrong aspect and should be rewritten, or the functionality doesn’t work 100% yet, so the feature isn’t ready to get merged. Even if you’re waiting for some other feature to get ready, because you need to integrate it or something, you’re still waiting, so the feature isn’t ready.

    At the same time, the OP’s point about tests being supposed to fail at first isn’t too far off the mark either, because that’s precisely how TDD works. If you’re applying that philosophy (which I personally condone), then that’s exactly what you do: Write the test first, checking for expected behaviour (which is taken from the specification), which will obviously fail, and only then write the code implementing that behaviour.

    But, even then, that failing test should be contained to e.g. the feature branch you’re working on, never going in a PR while it’s still failing.

    Once that feature has been merged, then yes, the test should never fail again, because that indicates a new change having sabotaged some area of that feature. Even if the new feature is considered “essential” or “high priority” while the old feature is not, ignoring the failure is one of the easiest ways to build up technical debt, so you should damn well fix that now.











  • Kayana@ttrpg.networkto196@lemmy.blahaj.zoneFreADoM
    link
    fedilink
    arrow-up
    2
    ·
    11 个月前

    Mine’s a bit closer to your proportions, although I’m not sure if Google can accurately predict the effects climbing a steep hill up and down will have on cycling and walking. The weird thing is the public transport. It must not know about all available lines, because that should be more like 90 minutes.




  • Kayana@ttrpg.networktoTechnology@lemmy.world*Permanently Deleted*
    link
    fedilink
    English
    arrow-up
    35
    arrow-down
    1
    ·
    1 年前

    Because you don’t need to have significant experience or rent a VPS in order to do that, and I can respect that. We don’t need to force FOSS developers to become proficient in everything.

    What needs to happen is some kind of tool (ideally FOSS) that lets you spin up an actual forum with the same difficulty to set it up as Discord.



  • Kayana@ttrpg.networktoMemes@lemmy.mlJust one more lane
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    2 年前

    That may be true for smaller cities, but in bigger cities it becomes impossible, because there just isn’t enough space to house all the people near areas of interest. Cars don’t factor in there at all. Give me a subway for the major areas, and perhaps a tram or bus system so you don’t need that many subway stations in the residential areas, and you can have car-free city centers.


  • Kayana@ttrpg.networktoMemes@lemmy.mlJust one more lane
    link
    fedilink
    arrow-up
    29
    arrow-down
    2
    ·
    2 年前

    I don’t really like including pedestrians in there. Like sure, you can fit a bunch of people in a small area, but another point you shouldn’t ignore is the throughput over time, and pedestrians are by their nature rather slow. Obviously if you’re looking at shopping in a street lined by shops left and right, then that street becomes tailor-made for pedestrian traffic (and nothing else except perhaps bicycles). But public transport is much better suited for travelling any further distances, and that should be the main focus when deciding to ditch cars.