-  [WT]  [PS]  [Home] [Manage]

[Return]
Posting mode: Reply
  1.   (reply to 5058)
  2. (for post and file deletion)
/pr/ - Programming
  • Supported file types are: C, CSS, DOC, DOCX, GIF, H, JAVA, JPG, PDF, PNG, SVG, SWF, TXT, WEBM
  • Maximum file size allowed is 10000 KB.
  • Images greater than 200x200 pixels will be thumbnailed.
  • Currently 437 unique user posts. View catalog

  • Blotter updated: 2018-08-24 Show/Hide Show All

Movies & TV 24/7 via Channel7: Web Player, .m3u file. Music via Radio7: Web Player, .m3u file.


Java Noah 17/07/31(Mon)01:09 No. 5058
5058

File 150145619578.jpg - (106.68KB , 1280x768 , background.jpg )

What does /pr/ think of Java? Is it still worth learning?

I want to get into software development and I'm not sure what language to pickup.


>>
Neckbearded Basement Dweller 17/08/01(Tue)15:04 No. 5059

IMO Java is a pretty uncomfortable language. It sits in a place where it doesn't do anything particularly well.
* It hates the programmer. Java offers basically no facilities to save typing, and a lot of its constructs are awfully verbose. It's not unusual to have to do stuff like VeryLongTypeName veryLongTypeName = new VeryLongTypeName(). The amount of boilerplate code in a given Java application tends to grow over time as a consequence. It can also lead to unintentional coupling.
* It has okay performance for a lot of domains, but it can't be used for number crunching if performance is important. C, C++, and Fortran are still king in this department.

Unless you need to interface with some specific code, anything that can be done in Java can generally be done in some other language more easily.
The only domain I've seen it used well was if you absolutely need to distribute a single executable that will work on several platforms. This, it does well, but so does C#.


>>
Neckbearded Basement Dweller 17/08/16(Wed)06:04 No. 5062
5062

File 150285629193.jpg - (539.22KB , 2880x1800 , star wars snow troopers.jpg )

Personally I love Java. It's very comfy to write in and you always get stuff done. Those long names and the reason they don't offer many ways to save typing time that >>5059 mentions is because you're supposed to write clean code people can understand just by looking at it (without reading comments). Java is meant to be shared and it is, there's a ton of stuff out there ready to be used in your program.

I'd recommend Java to anyone because you'll basically learn C# and ActionScript 3 at the same time as you're learning Java.


>>
Neckbearded Basement Dweller 17/08/17(Thu)23:32 No. 5063

>>5062
>Those long names and the reason they don't offer many ways to save typing time that >>5059 mentions is because you're supposed to write clean code people can understand just by looking at it (without reading comments).
You can write self-documenting code in most languages, and a lot of them don't punish you for writing in them.

>I'd recommend Java to anyone because you'll basically learn C# and ActionScript 3 at the same time as you're learning Java.
Does anyone even use Flash anymore, outside of hobbyist projects?


>>
Neckbearded Basement Dweller 17/11/04(Sat)13:03 No. 5082

>>5062
Agreed. Java forces you to write clean code. Also after learning Java I could develop in C# without a problem.


>>
Neckbearded Basement Dweller 17/11/14(Tue)06:34 No. 5085
5085

File 15106376494.jpg - (8.38KB , 205x246 , CvsJAVA.jpg )

Not sure where I saw this picture, but this summarize what I think JAVA is.

On a more serious note, while C being the "elite" language (also the linux kernel language), there seems to me that JAVA has more job oportunity than C.


>>
Neckbearded Basement Dweller 18/01/24(Wed)05:29 No. 5095

>>5058
It depends on where you want to use programming.
The tool is used in a lot of fields, so look at what people are using and learn that.
A good alternative is to ask someone from your local college what they are taught as colleges usually talk to the industry they are preparing for.

In my area, we use C++ for robotics, C# for user applications, javascript for web stuff and java for legacy stuff.
But don't let language slow you down. Just get started and learn programming. Changing language does not mean you start over from scratch.
I was tutoring a couple of students in programming (c++) and I found that they didn't have much problem with the actual c++ parts of the programming, they had problems with all the things nobody taught them. Where do you find documentation, how do you include libraries, how to write cmake, how to create modules, how to write graphical interfaces etc.
I basically threw 3 large libraries at them in a Linux environment and then had them interface it with what they previously knew.
I was never taught these things myself, but learned things out of need and interest.
If I am going to do this again, I will write it down in a more concise way, I think a language overview would be nice to have for each language.


>>
Neckbearded Basement Dweller 18/05/19(Sat)12:21 No. 5118
5118

File 152672530517.jpg - (51.70KB , 500x600 , minimalism.jpg )

>>5085
Here's a bigger one.


>>
James+Franko 22/11/18(Fri)08:35 No. 5588

To be honest, programming languages are a dark forest for me. Therefore, I quite often had problems with computer science and academic performance. My friend advised me to try c++ homework help https://khoral.com/c-plus-plus-assignment-help/ and it was a real life saver for me. I only get good grades and don't worry at all if I get another hard computer science problem.


>>
Neckbearded Basement Dweller 23/01/22(Sun)08:56 No. 5598

>>5058
Yeah, I especially recommend it as the first lang to learn since it's comfy, not oversimplified (like python, if you learn py first it's gonna be difficult to learn other langs), not too deep (like C++ or Rust).
It's just the middleground, it's comfy.


>>
Neckbearded Basement Dweller 23/01/22(Sun)09:03 No. 5599

>>5598
I forgot to add this link
https://www3.ntu.edu.sg/home/ehchua/programming/index.html
This is what I started with about a year ago, nice site to learn java basics


>>
App Development Fayaz 23/04/17(Mon)05:43 No. 5614

Astrology is a lucrative and fast-growing industry. Our skilled and experienced https://www.poulimainfo.tech/astrology-app-development-services-company/ astrology app development company will help you to keep up with the demand for mobile apps. Fortunately, we provide you with the resources you need to create a profitable astrology app without any coding or programming skills required. You don't need to know anything about mobile apps and websites – we do the heavy lifting and take care of everything! Our users love us for our user-friendly interface, our wide selection of features, and our affordable pricing. As our astrology app developers have had vast experience in handling various astrology mobile applications and websites in the past, everything will be given to you on a silver platter.


>>
Decimal Error Rounding Neckbearded Basement Dweller 23/04/25(Tue)05:04 No. 5616

>>5058
Quick question about floating/double rounding errors in Java. Teacher tried to explain, but amounted to "it can sometimes round +/- 1 of your smallest units without explanation. Any further clarification possible?

We did a simple cashier problem where we make do full-on braindead and deduct and write out how many of each bill/coin to give the customer back. As he said sometimes it was a penny more/less/exact to the real mathematical price. To his credit he did offer several suggestions to avoid/correct for it.


>>
Neckbearded Basement Dweller 23/04/25(Tue)05:59 No. 5619

>>5616
If I recall correctly, it has something to do with with the internal representation of the double initializing the entire length significant digits and the loss of precision at the end causing a tiny rounding errors at the end that can bubble up. I'm guessing you were instructed to use BigDecimal, or something similar to more accurately handle decimals of specific lengths.


>>
Neckbearded Basement Dweller 23/07/30(Sun)17:10 No. 5644

Still plenty of jobs for java devs, so yes.

I also think it’s a nice language but I’m biased



[Return] [Entire Thread] [Last 50 posts]



Delete post []
Password  
Report post
Reason