News for hackers. Stuff that matters.
Re:Google CEO says more than a quarter of the company's new ... by miki123211 on Friday November 01, 2024 @03:39PM (#42020730)
Because the code, when written, is usually obvious enough.

Something like:

  query = query.orderBy(field: "username", Ordering.DESC)
Doesn't need an explanation, but when working in a language I don't know well, I might not remember whether I'm supposed to call orderBy on the query or on the ORM module and pass query as the argument, whether the kwarg is called "field" or "column", whether it wants a string or something like `User.name` as the column expression, how to specify the ordering and so on.

There are no comments on this comment yet.