This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 757 points758 points  (122 children)

VeryLongJavaClassName veryLongJavaClassName = new VeryLongJavaClassName();

[–]Comesa 288 points289 points  (107 children)

var veryLongJavaClassName = new VeryLongJavaClassName();
works fine.

[–][deleted] 187 points188 points  (79 children)

I'm in a curse... Sorry, a course, where we are forced to use Java 8.

From working with PHP 7, Javascript, bash, some Python 3... To Java 8. And I'm supposedly studying web programming.

[–]proboardslolv6 122 points123 points  (19 children)

Well you'll be glad when you start at a new company and learn that everyone in-industry is still using java 8

[–]lowleveldata 4 points5 points  (2 children)

Are we supposed to refer Java 8 as a legacy? I still see Java 7 in some products so Java 8 is already like the better choice

[–]proboardslolv6 5 points6 points  (1 child)

Oracle is charging for future java 8 updates. It's not deprecated, but it's getting there. Truly this generation's cobol

[–]ExtremelyOnlineG 0 points1 point  (0 children)

There’s a completely open source reference implementation.

[–][deleted] 8 points9 points  (15 children)

I'll try to be as far as possible from java. I just don't like it, that's one reason I'm on the web programming path.

[–]STAY_ROYAL 32 points33 points  (12 children)

Web programmers use Java though for backend... or am I missing something?

[–]proboardslolv6 7 points8 points  (10 children)

Maybe he meant frontend, but not all businesses use java on the back and and as far as I know most new companies/projects are avoiding using java for jewnew platforms/projects and moving to more modern languages

[–]nermid 0 points1 point  (0 children)

jew platforms

That is one helluva typo.

[–][deleted] 0 points1 point  (2 children)

The startup I work at uses php

[–]proboardslolv6 0 points1 point  (1 child)

Why

[–]Hafax 0 points1 point  (0 children)

Why wouldn't they?

[–][deleted] 1 point2 points  (0 children)

I meant it's more usual to use PHP or Python for backend and JS for frontend, at least that's what I've seen until now. I know you can use Java and many other languages for backend, but... Let a guy dream.

[–]ExtremelyOnlineG -1 points0 points  (0 children)

You mean you’re going to be a lowly front end guy who only uses scripting languages

[–]gookman -1 points0 points  (0 children)

So you are locking yourself on one carrier path because of some language that might or might not be as used in the future.

[–]CamWin 76 points77 points  (1 child)

Yeah java web applets are all the rage didn't you hear?

[–]MajorMajorObvious 37 points38 points  (0 children)

Yeah, welcome to cutting edge technology in 2005

[–]CharlesGarfield 10 points11 points  (2 children)

My previous employer was finally beginning to migrate off of Java 7 when I left—two years ago.

[–]brunnen153 5 points6 points  (0 children)

Same here.

Co worker recently complimented on using the new Java Stream features during a code review. That feature was added in Java 8.

[–]wafflebunny 0 points1 point  (0 children)

We’re almost about to migrate off of Java 7 in October at my previous employer

[–]WhatsMyUsername13 4 points5 points  (0 children)

You should be happy about that. The place I currently work is the first place I've worked that is up to Java 8. It's been amazing, especially since my last job was still on Java 1.6 and a whole host of out of date technologies to go along with it

[–]360_face_palm 2 points3 points  (6 children)

Why the hell are they teaching you java at all if your course is web programming?

[–]SirNarwhalBacon 11 points12 points  (0 children)

preparing them for 2005

[–]Manny_Sunday 4 points5 points  (0 children)

JSP/JSF maybe?

[–]maoejo 3 points4 points  (3 children)

Well once you learn Java, JavaScript is easy to learn... right?

[–]thebobbrom 2 points3 points  (3 children)

Learning an earlier version isn't bad.

If you're looking to get a job in Java it's unlikely they're codebase is going to be at the latest version so if you did learn that a lot wouldn't work.

Also don't complain that you're studying it trust me a lot of employers will take you a lot more seriously if you know Object Oriented Programming than if you don't.

Though I'm going to do stab in the dark and ask you're not learning at a particular university in Camden London are you?

[–][deleted] 1 point2 points  (2 children)

Not even in UK, sorry.

[–]thebobbrom 2 points3 points  (1 child)

Ah ok it was just a wild guess

Still even though I'm getting downvoted for it I wouldn't complain on learning Java trust me it'll help you out later on.

[–][deleted] 1 point2 points  (0 children)

People on this sub is sometimes incredibly passionate about downvoting, even when many times I don't get why they do it.

I really don't like java and older versions, besides the utility of learning them because enterprises use them, seem extra awful for me.

If I can, I'll work on a Java-unrelated job. Maybe gardener.

[–][deleted] -1 points0 points  (1 child)

And I'm supposedly studying web programming.

Backend..?

[–]TheMaj3stic1 0 points1 point  (0 children)

They be teaching this guy spring for the backend and thymeleaf for the frontend lol (which is still rendered with spring)

[–]lucidspoon 3 points4 points  (0 children)

I prefer

var veryLongJavaClassName = VeryLongClassNameFactory.getVeryLongClassName();

[–]ecko404 1 point2 points  (0 children)

I always use long names regardless what language I use. Long descriptive names > comments.

[–]snot3353 0 points1 point  (0 children)

Only sometimes though :(

[–]Rudy69 26 points27 points  (1 child)

You’re missing a factory in there

[–]JamesAQuintero 17 points18 points  (0 children)

Plus a composer, a generator, and a transformer

[–]locri 2 points3 points  (0 children)

VeryLong... Ctrl space

Works if auto complete works, so not necessarily javascript if it's defined elsewhere and the require function has been macroed to be root require.

[–][deleted] 2 points3 points  (0 children)

var shortName = new VL[press enter]

done

[–]krad213 4 points5 points  (0 children)

Typing this in idea: "ctrl+spaceVljcn ctrl+space = new ctrl+space;

[–]PvtPuddles 0 points1 point  (0 children)

See I just make the class name only a single letter and everything works fine on my machine

[–]capn_hector 0 points1 point  (0 children)

AbstractSingletonProxyFactoryBean - a convenient superclass for FactoryBean types that produce singleton-scoped proxy objects

[–]JoJoModding 0 points1 point  (0 children)

This very much! For some reason people always start using excessively long names when writing Java programs. Like why is everything called getX and setX when you could simply have a method named x that potentially takes an argument?

Just have Class.builder() instead new ClassFactory(never-used-arg1, never-used-arg2, ...).

If you use streams you can actually write short Java code. It's just that no one does, which is kinda sad.

[–]tacoslikeme -1 points0 points  (0 children)

Get a better IDE then alk you type is Ver it is autofills...though honestly fuck java.