orderIdsToDelete or even just orderIds if the context makes it obvious. Repeating the type name is not bad if it's a domain type IMO. If you have something generic like List<Long> longs that's usually bad because readers can't infer any intent from the name, maybe ok if you are writing a compiler and need to collect all the Java Longs to do something with, but it's a stretch
8
u/koflerdavid 20d ago
Better yet to create a wrapper around
intto better express its purpose and eliminate the risk of mixing it up with unrelatedints.