[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 1707454893903416.png (448 KB, 437x640)
448 KB
448 KB PNG
>have to learn fucking OOP Java in 2024 because computer university in Brazil
>>
>>100160757
are there any girls in your class? are they cute
>>
java is popular and simple to understand now shut the fuck up undergrad brainlet
>>
>>100160801
There is only one roastie that goes there because her boyfriend goes.
>>100160807
>simple to understand
Maybe, but I'm not a fan of it. I'd rather learn almost any other language. You also forgot the OOP part.
>popular
How so?
>>
>>100160831
theres only guys in your class? :o
>>
>>100160757
>nooo I'm going to learn Java and have job security

shut the fuck up faggot
>>
>>100160757
There's nothing wrong with OOP, but the way it is done in Java land is pure brain rot.
>>
>>100160757
nothing wrong with OOP or Java, brainlet. and no, Brazil is not an excuse for your retardation, that's all on you.
>>
>>100160831
the oop part is not that hard bro chill out
>>
>>100161075
Please elaborate and inform us of the OOP language that does it correctly.
>>
>>100161223
It's more a cultural thing than a language thing. Java isn't inherently bad, there's just something wrong with the java community. There is no language I could offer as an example that would satisfy /g/entoomen, so I will refrain.
>>
>>100160757
>be me
>French
>have to learn OCaml
I'd rather have to learn Java. At least, OCaml has the advantage of filtering 3/4 of the class, kek.
>>
>>100160757
What are you complaining about, most of actual successful programmers I have talked to are programming in Java.
Also, Iirc, the majority of the Brazilian financial system (including banks and payment agencies) bases their code in Java (literally a life of stable jobs)
You're winning and you don't even know it.
>>
File: 1711855924303427.jpg (121 KB, 1280x688)
121 KB
121 KB JPG
>>100161578
>>100160859
>>100161075
>>100161139
>>100161176
>>100161257
>>100161282
>>100161439
>>100161578
OP here reporting back. I will study. Thanks for giving me a push.
>>
>>100161282
those prestigious universities in europe are a big meme
you'll get a better education at a noname uni in some random finnish or croatian town
>>
>>100160757
Disliking OOP is retarded. But most schools have never taught it properly.
>>
>>100162944
>Disliking OOP is retarded
It's fine when you are actually building an abstraction of an object. But then it becomes a religion and suddenly you can't convert between Celsius and Fahrenheit without using a temperature scale factory to make a conversion factor object.
>>
File: gleam.png (57 KB, 1200x630)
57 KB
57 KB PNG
>>100161257
Oh, but there is
>>
>>100160757
What's wrong with that you homo?
>>
>>100163722
>Implementation language Rust
I guess starfish and crabs get along.
>>
>>100160757
Remember, Terry banged an ugly, bald, meth hag in the back of his van.
>>
Java does OOP right. If you don't do OOP Java course then you are not a programmer and your CS diploma is a joke.
>>
>>100163999
Didn't one of the Java founders lament that they didn't go heavily enough on things like interfaces?

And there are a lot of things added since 8 that were open sores and are now sores with bandages over them, like record.


Might be "does OOP well," but "right" could be a stretch.
>>
>>100160757
OOP is awesome. Unfortunately professors seem incapable of teaching it properly and/or Java OOP makes students hate OOP. Not sure which is more guilty.
>>
>>100161257
This. .NET has examples of good OOP and examples of "fuck me this is over engineered" OOP.
>>
>>100160757
That's standard. I graduated 5 years ago in England and Java was the main language we used.
>>
>>100161617
What makes you think that I'm in a pretigious university? In case this wasn't obvious, I'm not an international student, just a Frenchfag enjoying my government-funded education.
>>
>>100160757

Java is not hard.
>>
Java is not hard. OOP needs to be taught first. OOP is how everything in the systems works. OOP & Java acts as a good filter for plebs.
Be grateful it's not OOP & Golang. Golang would filter 80% of CS undergrads.
>>
>>100164152
>Golang would filter 80% of CS undergrads.
Wouldn't that be for the best?
>>
Java is a good language for learning OOP fundamentals and using a statically typed language. Both are important in the industry.
>>
>>100160757
They're both good you fucking brainlet
>>
>>100160801
I'm married to one of like 4 girls that were in my comp sci class lol
>>
>>100160831
>You also forgot the OOP part.
From my experience the OOP covered in university is minimal. You'll hear about the abstractBullshitFactory nonsense but you'll rarely need to do that in practice.
Java was taught in my university because there's so many topics to learn about but you only have a 3-4 months to learn each one. So unless it's something specific like systems programming or functional programming, they're not going to waste time teaching a new language for each topic.
>>
>>100160757
oh sweet another undergrad fag parroting "java is le bad" to fit in
>>
It could be worse. It could be JavaScript.
>>
>>100164501
>in the industry.
>the industry
Is that like "the economy"? Lol.
>>
>>100161614
Good luck and godspeed. Everything will be fine.
>>
>>100163999
java is a nigger for forcing oop on everything
and you are a nigger for defending it.
>>
>>100163959
proof?
>>
>>100160757
oop isn't hard and sometimes in life you'll have to do things you don't want to do. stop being a fucking child
>>
File: 118040577_p0.png (779 KB, 1832x2658)
779 KB
779 KB PNG
>>100160757
>Brazil
Learn OOP Lua instead
>>
>>100160757
Anon, I'm Brazilian too and your senpai. I know Pascal, C, C++, Java, C#, Python, Ruby, Rust, Go, PHP 8, Javascript, Typescript, HTML, CSS, PostgreSQL, D, x86, Lua and I'm currently learning Zig. Let me give you some career advice. Java is the second best language I know, the best one is C#. The rest of it is just a fucking pain in the ass that's not worth it. Their tooling sucks, their platform support sucks, they can't even do exceptions right. They're meme languages. If you use them, you'll be stuck trying to redo everything that Java provides by default. You think Java sucks now because you're an student. When you have coded for 20 years you'll understand Java is better than most languages and your professors were right.
>>
>>100160757
Lol

Uninstalled java 8 se guess how much better it got
>>
I have a fond almost-nostalgia for java in freshman year.
I don't really ever have anything to use java for and I don't care much for OOP, but thinking about programming in it is a small comfy little place.
>>
>>100165343
same, i took the second intro to programming with java course the same semester as discrete math and have such fond memories of them
>>
>>100165317
This anon is right.
>>
>>100160831
>I'd rather learn almost any other language.
you don't know anything about the alternatives yet you make claims like this...
Java is actually quite sane and reasonable choice in this hellscape of programming languages, it's reasonably fast, has fuckton of libraries and it's cross-platform.

Anyway, the course is about learning programming, not learning a language. You learn one paradigm you know pretty much every language under that umbrella
>>
>>100165317
>I know Pascal, C, C++, Java, C#, Python, Ruby, Rust, Go, PHP 8, Javascript, Typescript, HTML, CSS, PostgreSQL, D, x86, Lua and I'm currently learning Zig
feels an awful lot like those "how i learnt japanese in 3 months" clickbait videos
>>
>>100167218
20 years is plenty of time and more than half of what he listed overlaps with each other in one way or another. Besides, learning languages is not the hardest part of this trade.
>>
>>100165343
same. my friends that also took the course and failed seemed to have trauma from it and go into defense mode when the J word gets mentioned, because it filtered them so hard
>>
>>100165317
>Their tooling sucks
>they can't even do exceptions right
The audacity of saying this while praising fucking Java, lmao.
Java isn't any better than half of those languages, it's just the particular flavor of bullshit you're used to, which in my experience accurately describes about 95% of people who say Java (not the JVM, the language itself) is the best.
And frankly, even if Java wasn't shit, that doesn't mean it's a good pedagogical tool. It's tremendously easier to deal with when you are already basically familiar with programming.
>>
>>100163489
>you can't convert between Celsius and Fahrenheit without using a temperature scale factory to make a conversion factor object.
I wouldn't make a factory for that I think, but doing so would enable you to easily implement Rankine and Kelvin and your own bespoke scale later.
I think I would code the conversion factors in an enum, and do everything in Celsius in between at the cost of double converting in most cases.
>>
>>100165317
Java is better than C#.

C# only has one thing over modern Java and that's value types which won't be for long. Java has a better concurrency model, Java has proper pattern matching, Java has proper backwards compatibility, Java is actually cross platform (no .NET Core is not properly cross platform, check crypto primitives), Java has an independent ecosystem and low latency garbage collectors which aren't shit.
>>
>>100160757
I had to learn C in my EE course, shut up viado. They replaced it with Python a few years later lol
>>
>>100169573
doesn't c# have better support for gui? do you really want to code in javafx?
>>
Welcome to being a grown man OP, you'll be doing a lot of shit in this life that you don't like.
>>
>>100169646
>doesn't c# have better support for gui?
Are you on crack? Are you talking about Avalonia which is a bloated, memory hogging mess that shouldn't even be called beta software?
>JavaFX
Nothing wrong with JavaFX. Actually a based framework. What exactly don't you like about JavaFX?
>>
>>100169646
Also ask yourself this: how come Microsoft isn't using C# GUIs themselves? That's how bad it is. They still prefer to write their shit in Webshit.
>>
>>100169844
>What exactly don't you like about JavaFX?
to tell you the truth, i actually do really like it
it's just i'm the only person i've ever known to
>>
>>100165083
I write functional Java and barely use any OOP(usually stuff that's convenient). I don't know what you're on about.
>>
>>100165096
What are you, a fucking tourist? This is known.
>>
>>100164963
In the software industry you fucking NEET.
>>
>>100160757
>doesn't even know OOP yet
>already being a memester hater about it
many such cases
>>
File: 1713167313434396.webm (1.85 MB, 640x900)
1.85 MB
1.85 MB WEBM
>>100160757
how do i cope with a random schizophenic autist in nevada mogged me for life
>>
>>100165317
>>100169573
how can you guys praise a language with no decent platform for linux?
>>
>>100160757
It's not a brazil thing, from murica to europe my friends who are in uni are taught OOP slop. Universities are really into the OOP scam for some reason
>>
>>100167769
>Java isn't any better than half of those languages
Just the fact you know what exceptions can come out of a function already makes it better than half of those languages.
>even if Java wasn't shit, that doesn't mean it's a good pedagogical tool
Java is better than C, C++ and Python because there are no gotchas during compile stage. It's better than Javascript because there are no gotchas during runtime stage. It's just easier to learn a language that isn't full of shit all the time.
>>100169573
The only reason I said C# is better is because of value types. If Java gets value types, then I'll agree.
>>100171919
Because we have jobs.
>>
File: 1687971883090055.gif (29 KB, 220x265)
29 KB
29 KB GIF
>>100160757
Corporate use mostly java or .net, what are you planning to do if you don't know one of this two? Or even worse you need to work on cobol pff, i prefer java anyday (i don't know .net, idk where to start)
>>100161075
What you mean brain rot? Worked and still work on java and idk what could be an easier way to do OOP (i do mostly rest APIs)
>>
>>100165317
>Anon, I'm Brazilian too and your senpai.
VocĂȘ saiu quando aprendeu a programar ou ainda mora?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.