proomt

Search

Search posts, papers, and topics

All posts

Hacker News front pageGoogle1 min readintermediate

This Code Is CRAP (2011)

Summary

A user praises Crap4J, an old Java code quality tool, for effectively identifying "dangerous" code without false positives, unlike other coverage tools. They note its age and incompatibility with Java 7, urging for updates.

  • Crap4J is highlighted for identifying "dangerous" Java code effectively.
  • It's praised for avoiding false positives common in other code coverage tools.
  • The tool has not been updated for years and doesn't support Java 7.
  • The author suggests that simple getters/setters don't require explicit tests.

Engineers maintaining legacy Java projects might find this relevant for historical context on code quality tools and their evolution.

4/10

Related reading

  1. Lies, Damn Lies and Benchmarks

    Codename One engineers dissect why benchmark numbers can be misleading, then share concrete work on GC tuning, proper weak/soft references, and a new probing sequence for their open‑addressed HashMap that cuts miss‑probe counts from >16 k to ~1.5 per lookup.

    CodeName Onecodenameone.com20 min
  2. We now auto-approve and merge 15% of PRs

    This article describes how a team implemented a bot to auto-approve and merge 15% of low-risk pull requests, aiming to reduce code review bottlenecks and improve development velocity. The system relies on custom deterministic linters, basic end-to-end tests, and a risk scoring mechanism to identify safe changes.

    Swizec Tellerswizec.com3 min
  3. CodeSOD: Vintage 2013

    A tongue‑in‑cheek post highlighting an absurd GPL header that repeats "2013" dozens of times, questioning the reliability of the surrounding code.

    The Daily WTFthedailywtf.com10 min
  4. Should you read the code, is RAG dead, and did Skills kill MCP?

    The article debunks five common AI‑tool hot takes, arguing you still must read AI‑generated code, AI fluency matters in hiring, MCP and Skills serve different purposes, RAG remains useful, and needing fine‑tuning signals a messy codebase. It offers concrete rules for reviewing generated code and integrating AI components responsibly.

    GitHub Oldgithub.blog5 minHN3
  5. Java News Roundup: JDK 27, Open J Proxy, A2A Jakarta, Azul Payara, BoxLang, Netflix ja

    InfoQ’s Java roundup lists the GA release of JDK 27, early‑access build 16 of JDK 28, BellSoft’s Liberica JDK 27, Jakarta EE 12 updates, Open J Proxy 1.0 (with JDBC cache and HikariCP leak detection), A2A Jakarta 1.0, Azul Payara 7.4.0 (MicroProfile 7.1, OpenTelemetry migration), JHipster 9.4 (Playwright, esbuild), Ktor 3.6 (OIDC auto‑discovery), BoxLang 1.17 (module service, syntax checker) and…

    InfoQinfoq.com5 min