Posty z #JavaDev

#JavaDev

Publiczne posty w X, które używają #JavaDev.

Powiązane hashtagi

  1. Martin Hock@mnhocktweets
    🚀 JUnit 5 Tip 🚀 Since JUnit 5, leverage package-private visibility for classes and methods to enhance encapsulation in your tests. This helps keep your testing logic close to the code it's testing while maintaining a clean and organized codebase. #JUnit #Testing #JavaDev
    Pobierz
    17683.8K
  2. Mario Casari✓@mario_casari
    🚀 Spring Boot: It has built-in support for pagination with Pageable. ✅You should use pagination in your repositories instead of fetching all. #SpringBoot #JavaDev
    Pobierz
    26591.8K
  3. Mario Casari✓@mario_casari
    🚀 Spring Boot: Spring Data JPA has a built-in support for pagination with Pageable. ✅You should use pagination in your repositories instead of fetching all. #SpringBoot #JavaDev
    Pobierz
    5231675.6K
  4. Mario Casari✓@mario_casari
    🚀 Spring Boot: A webhook is when another system sends a POST request to your app when something happens. In Spring Boot, you implement it simply by exposing an endpoint that receives that POST request. #SpringBoot #JavaDev
    Pobierz
    09843K
  5. Mario Casari✓@mario_casari
    💡 Java tip: Use parallelStream() with care. It's ideal for CPU-intensive tasks, not I/O operations. #Java #JavaDev
    Pobierz
    18993K
  6. Mario Casari✓@mario_casari
    🚀 Spring Boot: To make your services return a paginated response, instead of a giant list, you can use Page<T> and Pageable. #SpringBoot #JavaDev 🧵A link to an example to follow:
    Pobierz
    2121053.7K
  7. Mario Casari✓@mario_casari
    💡 Java tip: Starting from Java 8 you can use ChronoUnit.between(start, end) to calculate time intervals in a specific unit (days, hours, minutes) without manual math. #Java #JavaDev
    Pobierz
    19933.8K
  8. Mario Casari✓@mario_casari
    💡 Java 14+ switch expressions are exhaustive: the compiler verifies that every possible value is handled. ✅ Miss an enum constant and compilation fails ✅ Fix it by covering all enum values or adding a default branch ✅ Safer refactors and fewer hidden bugs #Java #JavaDev
    Pobierz
    15371.1K
  9. Martin Hock@mnhocktweets
    🚀 JUnit 5 Tip🚀 In JUnit 5, leverage package-private visibility for classes and methods to enhance encapsulation in your tests. This helps keep your testing logic close to the code it's testing while maintaining a clean and organized codebase. #JUnit5 #Testing #JavaDev
    Pobierz
    05405.1K
  10. Pokaż więcej postów