Hacker GitHub

← All repos

uber/NullAway

View on GitHub ↗ ★ 4,127 Java

A tool to help eliminate NullPointerExceptions (NPEs) in your Java code with low build-time overhead

14 mentions on Hacker News by 11 people: 1 story, 13 comments · first 2017-10-30 · latest 2024-08-02

Mentions per year 14 mentions · busiest year 2020 (3)
20082026
  1. …the code focused on the actual logic instead of putting everything in a map/flatMap railway. [1] https://github.com/uber/NullAway
    comment by dtech · 2024-08-02 · in Null-Restricted and Nullable Types
  2. Fortunately, Uber made tooling for languages with broken type systems * https://github.com/uber/NullAway * https://github.com/uber-go/nilaway
    comment by jflwyasdf · 2024-04-28 · in What if null was an Object in Java?
  3. …Open the Lock anyway, just find out at runtime that the Key was null, rather than at compile time. https://github.com/uber/NullAway and bunch of rest.
  4. FWIW, it is not difficult to set up NullAway: https://github.com/uber/NullAway
  5. …I know someone will reply about Java's null annotation checking options, so here is one of them: https://github.com/uber/NullAway .
    comment by end_my_own_ · 2023-03-18 · in My thoughts on “bad code”
  6. Does anyone have experience using this at Meta who can compare to https://github.com/uber/NullAway ?
  7. Did you try https://github.com/uber/NullAway ?
    comment by za3faran · 2022-11-22 · in Retrofitting null-safety onto Java at Meta
  8. …Nullaway: Java linting/static analysis (https://pmd.github.io, https://spotbugs.github.io, https://github.com/uber/NullAway)
    comment by gavinray · 2022-03-29 · in Ask HN: What is a modern Java environment?
  9. …degrees of null safety to Java. Disclaimer: I am one of the maintainers of one such tool, namely https://github.com/uber/NullAway It certainly won't help with verbosity (in fact, it does the opposite to at least a small degree :)), but it…
  10. A couple of options for handling nulls: * https://checkerframework.org/ * https://github.com/uber/NullAway
    comment by apta · 2020-08-18 · in Kotlin 1.4
  11. …any case, there already exist solutions in place: https://checkerframework.org/manual/#example-use https://github.com/uber/NullAway
    comment by apta · 2020-06-16 · in The Next Step for Generics
  12. …and not even as their full time job. For example, I am the sole internal maintainer[1] for https://github.com/uber/NullAway and also have 3-4 other projects internally on my plate, most of which are in earlier stages and need more frequent…
    comment by lazaroclapp · 2020-02-22 · in M3DB, a distributed timeseries database
  13. ▲ 2
    NullAway: Fast Annotation-Based Null Checking for Java
    story by lainon · 2019-07-06 · 1 comment
  14. …can be achieved in Java via annotation processors. For example, by a tool such as NullAway ( https://github.com/uber/NullAway ). Yes, adding '@Nullable' is more verbose than '?' (thus is the Java way :) ). But there are plenty of projects…
    comment by lazaroclapp · 2017-10-30 · in Kotlin Features I miss most in Java