RoToRa

joined 1 year ago
[–] [email protected] 2 points 1 year ago

There actually is a Stack Exchange community for code reviews: https://codereview.stackexchange.com/

[–] [email protected] 27 points 1 year ago

There is a Stack Exchange community for code reviews: https://codereview.stackexchange.com/

However they have some strict rules on what is allowed so it may not be suitable for open source projects. Two problematic ones are: 1) The poster must be the author/owner of the code. You, for example, can't post code that someone else has written. 2) All code that is to be reviewed must be included in the post. You can't just link to a repository.

[–] [email protected] 4 points 1 year ago (1 children)

Has anyone use Google's zx and can say something about it?

[–] [email protected] 5 points 1 year ago

StreetComplete uses OSM's built-in note system to leave the notes, so basically any OSM user can see them and react to them.

I use Vespucci now and them, but most of the time I find it too fiddly to use on the go. What I usually do is also have OsmAnd open and use its own note system to make a local audio or photo note. And when I'm home I go through the list of notes and change the things in ID or JOSM.

[–] [email protected] 20 points 1 year ago (9 children)

"If you have one"? What's the point of that insert?

[–] [email protected] 1 points 1 year ago

Don't movies and tv shows commonly use real footage of catastrophes or riots, for example, in news reports or to establish the state of the world?

[–] [email protected] 2 points 1 year ago

Although this seems like the laziest variant. It shouldn't be that complicated to redesign the navbar allowing two line text and hyphenation of the text.

[–] [email protected] 1 points 1 year ago

My guess is that isn't a cycle barrier at all. For me it seems to be a special form of removable or foldable bollard for blocking two track vehicles but allows emergence vehicles to open them.

[–] [email protected] 2 points 1 year ago

Statt Strg zu halten kann man auch den mittleren Mausbutton/Scrollrad drücken.

[–] [email protected] 1 points 1 year ago (1 children)

To be honest that doesn't change anything about what I said. The assertion condition must never be true at runtime. If it ever can be, then it's a wrong use of assert.

[–] [email protected] 10 points 1 year ago

Golfplätze werden so oft gemäht, dass zusätzliche Pflanzensamen kaum was ausmachen. Die Pflanzen haben keine Chance auszuwachsen.

[–] [email protected] 3 points 1 year ago (3 children)

You are not wrong that they are in a way "executable comments". Just like comments they are intended only for development/debugging and can't (shouldn't) have any influence on production code.

For example, in your sample code the if is unnecessary, because condition can't be (should not be) true. If it were, it would be a bug. Instead it should be written as:

assert !condition;
// Very long block of code

If the condition can ever be true then you shouldn't be using assert.

See also https://stackoverflow.com/a/2758645/318493

view more: next ›