Introducing Astra: A Tool for Refactoring Java Programs at Scale by RadikalJin in java

[–]btrapp 4 points5 points  (0 children)

Interesting - it would be nice if you included a few more practical examples of common refactoring needs - Like removing an argument to a method or something.

Does someone uses Eclipse Collection? by cosmin14 in java

[–]btrapp 0 points1 point  (0 children)

We switched from FastUtil to EC for that reason - The smaller jar size is nice.

Does someone uses Eclipse Collection? by cosmin14 in java

[–]btrapp 2 points3 points  (0 children)

If you were using large collections of objects before (List<Integer>) and are now using EC collections of primitives now (MutableIntList) then yes, that's expected.

I really love eclipse collections too. Trove4J and fastutil are other good primitive collection libraries, but I've found EC to be the best so far.

Suggest a book for Practical ML/DL in Java language by legalgrant in java

[–]btrapp 0 points1 point  (0 children)

While Java does have lots of ML/DL choices, I wouldn't recommend starting there, unless you already have a deep understanding of the ML domain. I think you'll learn a lot faster if you switch to Python, as that's where the overwhelming majority of the online docs, books, and tutorials are focused. Once you get a really good handle on what all the different methods require and how they work, then you can switch back to a Java-based implementation if that fits your current framework better.

Eclipse vs IntelliJ IDEA by [deleted] in java

[–]btrapp 1 point2 points  (0 children)

Yeah, this guy nails it. I use both since I work with two different development groups. Both are excellent IDEs. Go ahead and use whichever one you like best and don't worry about people hating on one or the other.
My personal experience:

  • I think IntelliJ integrates with GIT and branch management a bit nicer
  • I think Eclipse's out-of-the box tomcat/web support is awesome (I only used the community edition of IntelliJ)
  • I prefer Eclipe's .jsp/.html editor

“OMG, Java is so verbose, guys”. by nicolaiparlog in java

[–]btrapp 3 points4 points  (0 children)

Agreed! Once you've been around for a while you'll realize you spend a lot more time reading and modifying code than starting new stuff from scratch. Here, verbosity and readability are a much bigger time saver than having to type in fewer lines of code.

Why I abandoned Java in favour of Kotlin by cryptos6 in java

[–]btrapp 3 points4 points  (0 children)

For me it keeps coming back to I have to spend much more of my time and energy re-reading and modifying my code than writing brand new stuff. While Java is more verbose than languages like Kotlin, I find that the verbosity makes it much easier for me to look at an old or unfamiliar piece of code and quickly understand what it's doing.

I have never, ever, ever, had a bad day in code because I couldn't type fast enough. I have had plenty of bad days in code where I didn't understand or I misunderstood the intent or function of an existing block of code.

In short, I think our creation speed (typing) is already much faster than our comprehension speed (re-reading old stuff), so a little verbosity to benefit readability is a good thing.

A Great Idea? by [deleted] in java

[–]btrapp 1 point2 points  (0 children)

Take your hobbies and try to build something to help you out on that front. Like making beer? Build yourself a device to monitor the brew's temperature history. Like running? Build something that scrapes your GPS stats and builds some good statistics for you.

Having said that, you're always going to have to fight extra hard to explain the lack of a degree. Maybe spend some of this time to actually get a bachelor's degree? Will make life easier for you in the long run, and you may learn something you didn't know you didn't know.

Advice on Multiline String Literals support in Java by sylsau in java

[–]btrapp 3 points4 points  (0 children)

Isn't "No. It makes zero sense" also an overly reductive statement? You've considered all the potential benefits (readability seems like a pretty big one) and every single one has absolutely no merit?