Java

1350 readers
1 users here now

For discussing Java, the JVM, languages that run on the JVM, and other related technologies.

founded 1 year ago
MODERATORS
76
 
 

Will Amper kill Maven and Gradle?

77
78
79
 
 

Tests can run assertions on your code but also reveal important insights about how your application really works.

Automated testing will assuredly go down in the annals of software development history as one of these industry-changing trends. Although few actually fully adhere to TDD discipline (I am in awe of those that do, just to be clear), most developers make sure to prioritize and include testing in their dev cycle. It took some time, but once the benefits of tests finally sunk into the collective developer psyche, tests successfully evolved from a chore, an inevitable victim of procrastination, to an important area of investment in your personal dev cycle.

Deceptively, the phrase ‘automated testing’ includes a wide gamut of testing techniques and methodologies. From unit tests, often just an echo of your coding assumptions, to integration tests, user-acceptable end-to-end testing, load testing, and more. In fact, early on developers were plagued by hard questions with no definitive answers around exactly that topic: ‘how much’ and ‘what’ exactly should be tested. How do you know you’ve tested enough?

80
 
 

An easy non-obtrusive way to collect data about your dockerized app without changing your existing docker-compose.yml or docker files.

81
4
submitted 11 months ago by costalfy to c/java
82
83
84
11
submitted 1 year ago* (last edited 1 year ago) by lysdexic to c/java
 
 

Saved you a click:

  • JaCoCo for test coverage,
  • PMD for static code analysis
  • SpotBugs (successor of FindBugs) for linting and enforce coding style/best practices,
  • japicmp to check semantic versioning
  • codecov and checkstyle.
85
9
A tale of Java Hash Tables (www.andreinc.net)
submitted 1 year ago by agilob to c/java
86
87
88
89
 
 

Advances in the java programming language, version 16 and newer, slashed a million lines of code from my codebase. Maintaining my programs became easier overnight, due to this 1 secret trick: Records. 
Unfortunately version 16 was not LTS, so I had to wait until this year's release of version 21, which is LTS. 
 Go read the linked article. It explains Java Records in a very approachable manner.

90
14
submitted 1 year ago by agilob to c/java
91
92
93
94
95
96
 
 

We are happy to announce the general availability of our official Java Platform Extension for Visual Studio Code. Unlike the language servers offered by other VS Code extensions for Java, this language server is based on the OpenJDK JDK's javac co…

97
98
99
4
submitted 1 year ago by costalfy to c/java
100
4
submitted 1 year ago by costalfy to c/java
view more: ‹ prev next ›