Posts con #JavaEvolved

#JavaEvolved

Posts públicos de X que usan #JavaEvolved.

Hashtags relacionados

  1. Java. Evolved.@javaevolved
    ☕ Scoped values Share data across call stacks safely without ThreadLocal pitfalls. ThreadLocal → ScopedValue (JDK 25+) 🔗 #Java #JavaEvolved
    14201.4K
  2. Java. Evolved.@javaevolved
    ☕ Record patterns (destructuring) Destructure records directly in patterns — extract fields in one step. Manual Access → Destructuring (JDK 21+) 🔗 #Java #JavaEvolved
    06256.2K
  3. Java. Evolved.@javaevolved
    ☕ Pattern matching for instanceof Combine type check and cast in one step with pattern matching. instanceof + Cast → Pattern Variable (JDK 16+) 🔗 #Java #JavaEvolved
    0220999
  4. Java. Evolved.@javaevolved
    ☕ HexFormat Convert between hex strings and byte arrays with HexFormat. Manual Hex Conversion → HexFormat (JDK 17+) 🔗 #Java #JavaEvolved
    017663
  5. Java. Evolved.@javaevolved
    ☕ String.lines() for line splitting Use String.lines() to split text into a stream of lines without regex overhead. split("\\n") → lines() (JDK 11+) 🔗 #Java #JavaEvolved
    04171.3K
  6. Java. Evolved.@javaevolved
    ☕ Spring Framework 7 API Versioning Replace duplicated version-prefixed controllers with Spring Framework 7's native API ver… Manual URL Path Versioning → Native API Versioning (JDK 17+) 🔗 #Java #JavaEvolved
    03312.1K
  7. Java. Evolved.@javaevolved
    ☕ JNDI Lookup vs CDI Injection Replace fragile JNDI string lookups with type-safe CDI injection for container-managed resources. JNDI Lookup → CDI @Inject (JDK 11+) 🔗 #Java #JavaEvolved
    017618
  8. Java. Evolved.@javaevolved
    ☕ CompletableFuture chaining Chain async operations without blocking, using CompletableFuture. Blocking Future.get() → CompletableFuture (JDK 8+) 🔗 #Java #JavaEvolved
    04151.4K
  9. Java. Evolved.@javaevolved
    ☕ Path.of() factory Use Path.of() — the modern factory method on the Path interface. Paths.get() → Path.of() (JDK 11+) 🔗 #Java #JavaEvolved
    0112640
  10. Java. Evolved.@javaevolved
    ☕ Unmodifiable collectors Collect directly to an unmodifiable list with stream.toList(). collectingAndThen → stream.toList() (JDK 16+) 🔗 #Java #JavaEvolved
    0110459
  11. Java. Evolved.@javaevolved
    ☕ Stable values Thread-safe lazy initialization without volatile or synchronized. Double-Checked Locking → StableValue (JDK 25+) 🔗 #Java #JavaEvolved
    12131.2K
  12. Java. Evolved.@javaevolved
    ☕ Modern HTTP client Use the built-in HttpClient for clean, modern HTTP requests. HttpURLConnection → HttpClient (JDK 11+) 🔗 #Java #JavaEvolved
    04191.7K
  13. Java. Evolved.@javaevolved
    ☕ Module import declarations Import all exported packages of a module with a single declaration. Many Imports → import module (JDK 25+) 🔗 #Java #JavaEvolved
    015369
  14. Java. Evolved.@javaevolved
    ☕ Duration and Period Calculate time differences with type-safe Duration and Period. Millisecond Math → Duration / Period (JDK 8+) 🔗 #Java #JavaEvolved
    027885
  15. Java. Evolved.@javaevolved
    ☕ Optional.ifPresentOrElse() Handle both present and empty cases of Optional in one call. if/else on Optional → ifPresentOrElse() (JDK 9+) 🔗 #Java #JavaEvolved
    07372.2K
  16. Java. Evolved.@javaevolved
    ☕ String.repeat() Repeat a string n times without a loop. StringBuilder Loop → repeat() (JDK 11+) 🔗 #Java #JavaEvolved
    0113604
  17. Java. Evolved.@javaevolved
    ☕ Text blocks for multiline strings Write multiline strings naturally with triple-quote text blocks. String Concatenation → Text Blocks (JDK 15+) 🔗 #Java #JavaEvolved
    1111552
  18. Java. Evolved.@javaevolved
    ☕ Pattern matching in switch Replace if-else instanceof chains with clean switch type patterns. if-else Chain → Type Patterns (JDK 21+) 🔗 #Java #JavaEvolved
    04211.1K
  19. Mostrar más posts