r/ProgrammerHumor •

JavaScript: *gets annihilated*

[deleted] — view deleted post

0 Upvotes

735 comments sorted by

273

u/E_BoyMan Jun 19 '22 edited Jun 20 '22

I decided to learn java first rather than python. Am i dumb ?

Edit: I learnt it on notepad so maybe I was.

30

u/Consol-Coder Jun 19 '22

The wise man is the one that makes you think that he is dumb.

26

u/UnspeakablePudding Jun 19 '22

Not at all, you can get a great job working in Java and that's not going anywhere anytime soon. Plus once you really groc java, learning a new OO language will be a breeze

41

u/SocketByte Jun 19 '22

I started with Java and I feel like it's a decent starting point. Very miniscule amount of syntax sugar makes it a great language for beginners. Having strong Java skills you can easily explore languages with more features such as C#, Go, even C++ for that matter. Python is not really a great choice if you actually want to learn programming for future career, it's a nice starting point for ultimate beginners but you have to learn much more at some point anyways.

9

u/Silpet Jun 19 '22

I actually tried to start with Java and hated it, it kept me from programming for more than a year until I started to learn C# and then with Python was when I fell in love with programming. The final answer is, it depends.

7

u/snowjak88 Jun 19 '22

Programmed off and on in Java for ten years. Don't understand all the Java hate.

Started working in C# about two weeks ago, though, and I really appreciate the new toys - inline anonymous objects, extensions, no more unboxing (well, so far as I know)...

I think learning Java first was definitely the right way to go, for me at least. A lot of the things that C# does implicitly or can disguise with syntactic sugar, you need to do explicitly and "longhand" in Java.

→ More replies (6)

50

u/CaitaXD Jun 19 '22

Nah you're fine, the shitiest static typed language is better than the best dynamic typed language

20

u/Drithyin Jun 19 '22

Shots fired. I'll go get mine, too.

Remember when Ruby on Rails was going to take over the world? Or when all software was supposed to bend the knee to JS via Node or be forgotten?

I'll say, for demo-level throw away things, they're fine, I guess. Never for a system you intend to maintain.

15

u/The_Grubgrub Jun 19 '22

Not OP but I'll agree with your take! I detest dynamic typing but for quick and dirty work it's nice not having to define classes for every little thing. Just "hey, get this field. If it doesnt exist, go ahead and shit the bed".

→ More replies (8)
→ More replies (1)
→ More replies (1)

5

u/[deleted] Jun 19 '22

Check out Kotlin, it's the most "pythonic" language other than Python itself, but it has a great type system and targets the JVM.

→ More replies (1)

13

u/ConohaConcordia Jun 19 '22

My first language was Pascal, then Java, then C#, JS and Python. Now I barely write anything for work, but when I do I do Python and JS.

Honestly? I miss C# and to some degree Java and Pascal. Python is so simple to a fault, and I feel it continuously encouraged me to make bad programming decisions. JS is just a clusterfuck.

3

u/AVeryRandomDude Jun 19 '22

Nah, you've made a really good choice. Java is a great place to start from. It's not that complicated to learn, but it resembles quite well the syntax of the more complex programing languages like c++. So it's easier to go from Java and learn both easier and harder languages.

2

u/[deleted] Jun 19 '22

I did that, python is a time waster

2

u/diox8tony Jun 20 '22

Congrats, you got a 90 IQ instead of an 80 IQ

→ More replies (32)

1.3k

u/DerHamm Jun 19 '22

Every langauge is shit. Every technology is shit. You just gotta find the shit that smells the least for your use case.

400

u/Tojuro Jun 19 '22

I don't see languages, only salary. I'll code Java while remoted into a 486 from an iPhone 4 if you pay me more than I'm making now.

10

u/[deleted] Jun 19 '22

Mostly agree, but different tech have different career growth trajectories. If one job is coding Java with distributed systems and the other is mainframe with COBOL, I'm taking the Java job, even if the pay is a little less

5

u/WJMazepas Jun 19 '22

And honestly, I never saw a COBOL job paying more than other languages. It probably pays really good who is working 20 years on the same COBOL code, not the people that are moving to COBOL

→ More replies (6)

4

u/ballsohaahd Jun 19 '22

I’ll code in assembly for the right price!

→ More replies (19)

179

u/smartguy1196 Jun 19 '22

Everything Javascript. That way it's just same shit everyday (except it's not)

53

u/[deleted] Jun 19 '22

Who tf enjoys doing the same shit everyday though

→ More replies (34)

11

u/_MemeMan_ Jun 19 '22

A fellow shit connoisseur!

→ More replies (1)
→ More replies (12)

796

u/[deleted] Jun 19 '22

For the Java devs. This is an anime reference.

Anime is some kinda horny foreign cartoon.

419

u/Tolookah Jun 19 '22

For the JavaScript devs: unga bunga joke, cartoons frontend, but also backend of joke

112

u/[deleted] Jun 19 '22

Snorted up my coffee. You've ruined my Sunday clothes.

24

u/kloudykat Jun 19 '22

I seen someone do that in jail once.

7

u/arjunindia Jun 19 '22

Thanks lmao

3

u/[deleted] Jun 19 '22

For PHP devs

Hahahahahahahahahahahahahahahahhahahahahahaahahhaahhahaha

51

u/[deleted] Jun 19 '22

Demon slayer is not a horny anime ;-;

84

u/[deleted] Jun 19 '22

You can say that but my blood moving down would disagree.

19

u/micka190 Jun 19 '22

Season 2’s animation quality 😫

18

u/Shazvox Jun 19 '22

Then YOU are the horny one, not the cartoon...

4

u/PulimV Jun 19 '22

Chapter 100 of the manga disagrees

→ More replies (3)

3

u/[deleted] Jun 19 '22

Don't patronize me, I know all about horny cartoons I watched he-man as a kid.

3

u/Dragon_yum Jun 20 '22

Ahh that does sound like something a C# developer would love

2

u/Aira_Key Jun 19 '22

Anime is some kinda horny foreign cartoon.

You're watching the wrong ones methinks :')

3

u/MassiveFajiit Jun 19 '22

This one is surprisingly not that horny for a show that sold it's main characters into brothels in drag

→ More replies (31)

166

u/KanykaYet Jun 19 '22

Because they aren't the same

109

u/123kingme Jun 19 '22

They’re remarkably similar syntax wise though. It’s like someone recreated java without all the things that make java bad.

74

u/ifrem Jun 19 '22

Ah yes, Kotlin.

→ More replies (21)
→ More replies (46)

61

u/BadBadderBadst Jun 19 '22

Did you mean mean:

Basketball fuckingBasketball = new Basketball()

20

u/doublej42 Jun 19 '22

This code is so retro https://docs.microsoft.com/en-us/dotnet/csharp/whats-new/csharp-9 you don’t need to say basketball twice.

→ More replies (1)

14

u/AceTrainerLanon Jun 19 '22

Expected “;” at end of expression.

2

u/SholayKaJai Jun 20 '22

Since Java 11.

var basketball = new Basketball();

2

u/enigmatic-sheep Jun 20 '22

Did you mean:

@Autowired
private BasketBall fuckingBasketBall;

4

u/AVeryRandomDude Jun 19 '22

B... bu... but OOP!!!!

240

u/jb28737 Jun 19 '22

Yeah, cos c#is fkn amazing

44

u/[deleted] Jun 19 '22

C# got me unwise 🥵🥵🥵🤤

101

u/DONT_NOT_PM_NOTHING Jun 19 '22

I will fight to use linq for the rest of my life

59

u/mainemason Jun 19 '22

Linq is amazing

54

u/XDVRUK Jun 19 '22

Which was introduced in 2007... Everytime I pick up another language I always go "Where's your version of linq? oh...."

→ More replies (4)

10

u/[deleted] Jun 19 '22

Java has streams

→ More replies (2)

19

u/jb28737 Jun 19 '22

Legit, I could see myself using other languages, but how do you manage without linq?!

20

u/10BillionDreams Jun 19 '22

laughs in functional languages

5

u/Themadbeagle Jun 19 '22

This is such an interesting complaint I keep seeing in this sub. Java has streams which is very conceptually similar. I personally prefer LINQ, but the idea that there are no other languages that have APIs like LINQ appears to be a common misconception.

→ More replies (3)

3

u/hullabaloonatic Jun 19 '22

I just don't know why they don't add more extension methods. Why do I have to use MoreLinq?

→ More replies (1)
→ More replies (4)

49

u/testroyer9 Jun 19 '22

C# +8.0 is amazing.

44

u/CaitaXD Jun 19 '22

Java 8+ is bearable

C# 8+ is glorious

30

u/VTHMgNPipola Jun 19 '22

Java 8 is so old it's not bearable. Java 17+ (which is not even the current version, just the last LTS) is pretty cool though.

24

u/nwL_ Jun 19 '22

Java 8 is so old it’s not bearable

bUt It Is LoNg TeRm SuPpOrT sO wE dOn’T nEeD tO uPgRaDe

→ More replies (1)
→ More replies (1)

4

u/Duydoraemon Jun 19 '22

my favorite thing about c# vs java is that I know c# and have it on my resume.

2

u/The_Grubgrub Jun 19 '22

Thats why this sub is so silly. They're nearly identical minus a few differences here and there, but one is beloved and the other is vilified lol

→ More replies (16)

123

u/Various_Studio1490 Jun 19 '22

How did we screw up Java and JavaScript again?

One can write the theme song for Batman in a single line.

The other needs an entire line just to access the print stream.

They are not the same!

64

u/eastwesterntribe Jun 19 '22

System.out.println("NaNaNaNaNaNaNaNaNaNaNaNaNaNaNaNa Batman!");

26

u/schmerg-uk Jun 19 '22
Array(16).join("wat" - 1) + " Batman!"

from Gary Bernhardt's glorious 5 minute Wat talk....

→ More replies (1)

10

u/Tyfyter2002 Jun 19 '22

And C# falls in that first category starting at C# 10.

→ More replies (5)

142

u/RyanNerd Jun 19 '22

I remember when Java came on the scene being praised as a knight in shining armor. I wasn't impressed. C# came out soon after which I described to my colleagues as Java done right. Kotlin emerged giving Java a much needed breath of fresh air.

As for JS; if other languages ran directly on modern browsers then JS would be annihilated by non-use simply because other languages have far far far less WTF design decisions. But that's not the world we live in. Because devs are held hostage by JS for web development often there's a weird Stockholm syndrome where the devs praise and protect their captor.

38

u/[deleted] Jun 19 '22

We need another language for web browsers. It's like JS deliberately fucks with the devs just enough for them to be miserable, but not enough for them to quit.

13

u/operation_karmawhore Jun 19 '22

So WASM?

You can just program in whatever language you want to (currently with some thin wrappers for functionality not yet available directly to WASM)

3

u/HeirOfAsgard Jun 19 '22

WebAssembly exists and is being used by a few people and projects to create web apps, but the vast majority of web developers use and enjoy using JavaScript (and it’s derivatives, such as TypeScript) despite the growing availability of WebAssembly frameworks. ESNext is not 1st edition JavaScript, it’s quite a nice language to work with nowadays.

→ More replies (3)

53

u/CaitaXD Jun 19 '22

All praise our Lord and saviour web assembly

15

u/RyanNerd Jun 19 '22

Unfortunately that has to go through a JS interface. It's not ideal but at least it's a step in a direction where other languages can be used in the browser.

9

u/Drithyin Jun 19 '22

As for JS; if other languages ran directly on modern browsers then JS would be annihilated by non-use simply because other languages have far far far less WTF design decisions.

This is why I hope Blazor takes off and does well. Or any other good webassembly implementation. Please, I don't want to use JS again....

→ More replies (10)

57

u/jesterhead101 Jun 19 '22

*hmm..I spent considerable amount of time learning Java, I better defend it vehemently *

Guys, Java is the best. C# can go # itself.

→ More replies (1)

24

u/althaz Jun 19 '22

C# is a fantastically well designed language. It's not perfect and it's not the right tool for a lot of jobs, but from a purely theoretical point of view, it's honestly just great.

10

u/Crescent-IV Jun 19 '22

Which is the most useful for a job, generally?

30

u/UnspeakablePudding Jun 19 '22

Either, both, it's mostly hiring managers that care about that kind of thing. Anyone who's an expert in Java or C# can learn the other and switch between them in a months time, if that. Honestly switching between IDEs has more annoyances than going between Java and C# as a language.

12

u/[deleted] Jun 19 '22

And even that isn't too hard- If you use Intellij for Java you can use Rider for C#, and have most of the same features and hotkeys!

7

u/UnspeakablePudding Jun 19 '22

My professional experience with it has been going between eclipse for Java and VSCode for C#, and that's been vastly more annoying than accounting for the differences between C# and Java themselves. Just poor planning and an unwillingness to spend on getting better tools.

→ More replies (5)
→ More replies (1)

6

u/Add1ctedToGames Jun 19 '22

I don't use C# often so I may be wrong but I think even as their syntax and style are very, very similar, they're not really used for the same thing it seems. Java is usually for either Android or backend and microservices, whereas I see C# for things like game development and Windows stuff

→ More replies (5)

2

u/SocketByte Jun 19 '22

Depends where you live honestly, both are great career options.

8

u/Caching_History_Buff Jun 19 '22

"demon slayer meme templates on r/ProgrammerHumor doesn't exist. It can't hurt you."

this post:

→ More replies (1)

21

u/ANewTryMaiiin Jun 19 '22

C# is a beautiful language.

→ More replies (1)

52

u/feuerwehrmann Jun 19 '22

Java != Java script

Java and C# are fairly similar, though I prefer c# syntax and tooling to be more enjoyable

16

u/[deleted] Jun 19 '22

Js can die in a hole. You should not be able to use the "this" keyword in the global namespace.

14

u/[deleted] Jun 19 '22

"this" refers to the scope you run it in. If you're using it in the global object it should refer to the global object. The problem with JS is people come to it from other languages and expect to find the same concepts and rules

→ More replies (3)

29

u/[deleted] Jun 19 '22

[removed] — view removed comment

18

u/[deleted] Jun 19 '22

The lauguage itself is fine. But there are way too many people praising it like its a blessing from god and who want to port it everywhere and talk about how it is the launguage that can run on any platform

→ More replies (11)
→ More replies (1)

96

u/SocketByte Jun 19 '22

As someone who has over 6 years of professional Java experience, I completely agree. C# is just easily superior in every single way. Words still can't explain how I absolutely despise Java's retarded generics and type erasure.

42

u/[deleted] Jun 19 '22

Can you make an example? Like how C# solves Java's issues? Honestly curious

46

u/SocketByte Jun 19 '22

Well, I'm not an expert in C#, but there's a big difference in how generics are handled between JVM and CLR. Metadata (specifically type information) is stripped out of the Java source code (hence type erasure), which means you can't (most of the time, there are exceptions) use any type metadata at runtime.

Why is that important? For example, imagine a situation where you'd like to dynamically create an instance of a generic type at runtime. It's not exactly a common thing, but it is very useful when you need it.

In Java, you would need to do:

public T createInstance(Class<? extends T> clazz) { 
    return clazz.newInstance(); 
}

createInstance(MyClass.class);

Obviously this is a very simplified problem, sometimes passing a class like this is very hard and convoluted if you're doing something pretty advanced.

In C#, you can directly deduce type of T at runtime like so:

public T CreateInstance<T>() where T : new()
{
    return new T();
}

CreateInstance<Example>()

Of course, It's not the best example and I have to remind you that this is very oversimplified and doesn't look that bad at a first glance. Yet after working on really big, complicated, and reflection/generic heavy systems and frameworks in Java I really, really wish that was a feature. Type erasure has it's pros, but in my experience it was always a very big con. Hopefully I cleared that out a bit.

31

u/thE_29 Jun 19 '22

Yeah, that not being able to instance it is true. After programming Java for >17 years, I needed it 2 times.

→ More replies (6)

7

u/ChrisFromIT Jun 19 '22

The ironic thing is that the C# code that you used as an example ends up fairly similar to the Java version of it under the hood.

Essentially the compiler compiles that to an emit of a call to Activator.CreateInstance(T).

So that type of syntax could be fairly possible in Java, even with type erasure.

→ More replies (2)
→ More replies (21)

20

u/[deleted] Jun 19 '22

LINQ. Real generics that you can use things like reflection on because the compiler doesn't throw them away. Extension methods. Way better enumerations with stuff like yield return. Anonymous types. That's off the top of my head, I'm sure someone has a long list of pros/cons out there somewhere.

5

u/Positivelectron0 Jun 19 '22

Streams is the linq equivalent in Java 8+

→ More replies (10)
→ More replies (5)

8

u/harumamburoo Jun 19 '22

How's Java's generics bad? And why's C#'s better?

5

u/Tyfyter2002 Jun 19 '22

From what I can gather the issue is that Java has generics, but Java bytecode doesn't.

→ More replies (1)

18

u/Orangutanion Jun 19 '22

Honestly I like Java. It's really nice when you go from some low level language to Java because you realize just how much work it actually does for you. I can crap out the steamiest mess of polymorphism hell with like five different types to do one thing and it'll still work.

27

u/rbuen4455 Jun 19 '22

Seriously, why Java gets too much hate compared to C#? Because Java is too verbose, doesn’t have many new features and has a lot of legacy code, and C# has better syntax, more features and more importantly, no longer restricted to Windows?

14

u/urielsalis Jun 19 '22

Java syntax and features got way better now that they do a release every 6 month

And that verbosity is on purpose a lot of the time, it's made so reading it is easy as that's what we do most of the time

And let's not start with Kotlin or other JVM languages

6

u/Add1ctedToGames Jun 19 '22

Since when does Java not get new features lmao, are you just using Java 8 the entire time wondering why nothing is appearing?

3

u/rbuen4455 Jun 19 '22

Just to let everyone know, I’m aware of new Java versions, especially in Java 14-17, and I’m aware of the verbosity. I’m just pointing out why some people dislike Java for these reasons, especially if people are stuck using Java 8, still the most used version in 2022! Hard to kill legacy systems. And to be fair, C# gets just as much hate as Java, especially people who still associate it with being only Windows and who still use vanilla .Net, that is, not .Net Core/.Net 5-6

→ More replies (11)

23

u/s0lly Jun 19 '22

I love Java yum yum in my tum

15

u/BigAnimeMaleTiddies Jun 19 '22

All of them are shit, only our God and savior C is pure, free of OOP bloatware, with portability and speed. Come children that are ignorant to their own ignorance let us praise the one and only perfect programming language.

→ More replies (2)

10

u/CaptainPiepmatz Jun 19 '22

🦀

5

u/volitional_decisions Jun 19 '22

Finally, a person with taste!

→ More replies (1)

2

u/crahs8 Jun 19 '22

Flairs don't check out.

→ More replies (3)

2

u/grv7437 Jun 20 '22

Rewrite everything in 🦀

34

u/Henksteenbroek Jun 19 '22

I'm convinced these Java haters haven't done more than a couple simple things. The C# ecosystem is great but so is Java's.

43

u/[deleted] Jun 19 '22

I think it's more the languages though. I have a 4/6 year split between the two and can't think of one thing that is better about Java as a language compared to C# (without comparing the ecosystems at all).

31

u/[deleted] Jun 19 '22

100% this. From a purely syntactical/tooling point of view, C# is superior. Did C# for a year, returned to Java for a project legit felt like I was reverted back to unga bunga neanderthal.

4

u/The_Grubgrub Jun 19 '22

Sure but they're similar enough that it makes zero sense to compare them as languages while ignoring the ecosystem that they exist in.

→ More replies (3)
→ More replies (1)

16

u/tomatotomato Jun 19 '22

True, but I think C# + .NET Core is far more productive than something like Spring Boot or Jakarta EE. The .NET tooling is amazing.

→ More replies (3)

15

u/PhireKappa Jun 19 '22

A lot of people in this sub are university students with no industry experience, who haven’t yet discovered how widespread Java actually is in the real world.

→ More replies (1)
→ More replies (21)

13

u/thE_29 Jun 19 '22

Basically people complain about having to type more, when mostly the IDE autocompletes it anyway.

First world problems.

8

u/The_Grubgrub Jun 19 '22

First world student problems.

I refuse to believe all the takes in this thread are by actual devs. It reeks of college students making takes they think actual devs might possibly agree with, but no one actually does.

4

u/thE_29 Jun 19 '22

Yeah, lets see who complains about missing getters/setters, when every good IDE can generate it for you.

Heck, even Eclipse since forever.

→ More replies (2)
→ More replies (3)

6

u/gerberag Jun 19 '22

Not sure where this is from, but its dumb. Java and C# are virtually identical. Any class implemented in one can be identical in the other. JavaScript is unrelated in any way, like boon and baboon.

→ More replies (1)

3

u/AnonimowySzaleniec47 Jun 19 '22

If you're unfamiliar with C#, imagine Java...

3

u/[deleted] Jun 19 '22

Nowadays I write in Kotlin as much as I can instead of Java. Some spring stuff is unclear in kotlin but that’s the only drawback.

3

u/scwishyfishy Jun 19 '22

How does a meme about this sub have an ifunny watermark?

3

u/LOLteacher Jun 19 '22

"How this OP doesn't know that Java has nothing to do with JavaScript."

3

u/Luciel-Choi707 Jun 19 '22

what kind of insult is "basketball"

2

u/ShinraSan Jun 19 '22

Full of air

3

u/hullabaloonatic Jun 19 '22

I mean... .net 6 is legit really awesome tho. Oh and it's free, too.

8

u/AmoebaLogical Jun 19 '22

I really envy C# and its developers. They are completely satisfied with their set frameworks and libs, and get sh*ts done as quickly as possible without any hassle. Meanwhile, Java/JS developers be like, lets create a framework to print hello world.

13

u/[deleted] Jun 19 '22

Java has like one framework that’s actually used and is rather quite nice, it shouldn’t be compared with JavaScript’s 17 different frameworks that each does the same thing in its own retarded way

→ More replies (3)

2

u/[deleted] Jun 19 '22

You doughnut!

2

u/LaserTycoon27 Jun 19 '22

As a musician, I love C#

→ More replies (1)

2

u/Super_S_12 Jun 19 '22

LMAO get PHPed.

2

u/darkliz Jun 19 '22

C# doesn’t get as much hate because not as many people use it.

→ More replies (1)

2

u/Val-the-Crow-King Jun 20 '22

As a Java developer.... I fucking hate Java.

4

u/Neither_Sandwich_285 Jun 19 '22

C# has 9999 ways to do one thing.. beautiful

4

u/vector_9260 Jun 19 '22

famous games made on languages this sub hates fsr: Cookie Clicker (JS) Minecraft (Java)

3

u/[deleted] Jun 19 '22

Except me. I'm the opposite.

4

u/Keladran0 Jun 19 '22

Everyone talking about C sharp, but noone ever mentions C blunt

10

u/wackOverflow Jun 19 '22

This joke fell C flat

3

u/ArtyIF Jun 19 '22

java feels archaic af to me compared to c#. probably because it's much older

→ More replies (2)

3

u/Nefariousness_Future Jun 19 '22

You mean Microsoft java?

2

u/Tinyhippy92 Jun 19 '22

I really enjoy programming in Java and I am not scared to admit it.

2

u/killchain Jun 19 '22 edited Jun 19 '22

C#? You mean Microsoft Java?

/s

1

u/Alarmed_Breakfast_62 Jun 19 '22

Will Java be the next PHP?

1

u/yohanleafheart Jun 19 '22

I mean, yes, it is Java. I don't wish it even on my worst enemy. I've got standards

1

u/MadamPickleness Jun 19 '22

Can confirm akaza is a basketball

1

u/StillPackage4369 Jun 19 '22

Assembly is key here. No-one understands it enough to make fun of it.

4

u/[deleted] Jun 19 '22

What's better, is that the US Constitution protects the right to assemble, so that even if Java, C#, etc. are illegal to code in, assembly language is a constitutional right.

1

u/_alb4 Jun 19 '22

Me who uses C# happyness noises

1

u/Torch99999 Jun 19 '22

I've been treating dotnet like that since around 2003. Is this subreddit that old?

1

u/CaitaXD Jun 19 '22

Well duh it's the truth

1

u/KobeJuanKenobi9 Jun 19 '22

I know I like C# a lot better than Java but aren’t an experienced enough developer in either to know why

1

u/Strostkovy Jun 19 '22

For what I do I really need C flat or maybe C--

1

u/SevenCircle Jun 19 '22

everyone knows that Javascript is one of the lower 6

1

u/ThunderStruck115 Jun 19 '22

iFunny Watermark located. Dislike engaged

1

u/[deleted] Jun 19 '22

My school that teaches Visual Basic: Am I a joke to you?

→ More replies (1)

1

u/Drauxus Jun 19 '22

I've been wanting to learn c# for a while now but I have no idea where to start (or ever what ide I should be using). Any suggestions would be great

→ More replies (3)

1

u/akashneo Jun 19 '22

I used to think JAVA was pretty easy untill I came across C in college. I loved learning C but in later years they moved on to JavaScript and C++.

I didn't like javascript from start because I thought it would just like Java. That was not the case.

I thought C and C++ would be exactly same but I was wrong. I hated C++.

Then in my last year of college I started learning python. Now I love python.

1

u/Fresh-Boysenberry-63 Jun 19 '22

“You fucking donut”

1

u/CerealBit Jun 19 '22

I developed in both and I prefer C# over Java in terms of language design and features. Besides that however, Java wins in every way: ecosystem, jobs, pay, truly open source etc.

1

u/Zaurble Jun 19 '22

there’s a reason for that lol

1

u/[deleted] Jun 19 '22

I must say, this sub is absolutely right.

1

u/Davegavecool Jun 19 '22

Me

confused as I'm learning both

1

u/tempuhempfu Jun 19 '22

I recently started Java dev at work and after 2 days, I still can’t figure out why my IDE is not building my project 🙃 I hate it

1

u/therealmodx Jun 19 '22

I see nothing wrong with this post 🤣. I started programming with Java but have not touched it since I came into contact with C#.

1

u/darksim30 Jun 19 '22

What about boo or D

1

u/Luiyo033 Jun 19 '22

I will throw a nuclear bomb on JavaScript.

1

u/Clashfash Jun 19 '22

the only reason i have java downloaded is so i can play minecraft

1

u/NightRide99 Jun 19 '22

Joined this sub to show my programmer fiancé the memes.

Show him this one and he goes “fuck Java. Bag of dicks”

I’m dying.

1

u/uzbones Jun 19 '22

Only issue with java (other than which companies java), is the JRE wants to update almost every single day.

1

u/Ursomrano Jun 19 '22

I only do programming as a hobby soo r/explainlikeimfive, why do people prefer C# over Java? Is it because C# is more easily capable of certain things?

2

u/TracePoland Jun 19 '22

More modern feeling ecosystem, no type erasure, modern features get added more frequently, async/await, better build system that breaks less often, LINQ/PLINQ, EFCore, ASP.NET Core

1

u/[deleted] Jun 19 '22

I mean, I fucking hate Java, but then I'm sure there are people that hate C# with a similar passion. Everyone has their language that they prefer.

1

u/[deleted] Jun 19 '22

I hate both :)

1

u/star47raven Jun 19 '22

well deserved

1

u/MoonTrooper258 Jun 19 '22

Funnily enough, I just got Java (to try to install mods on Minecraft), and nothing's working.

→ More replies (1)

1

u/Negromancer06 Jun 19 '22

FUCKING YELLOW!!!!

1

u/KinggMe Jun 19 '22

seriously, what's up with the hate on java?

1

u/Mister_Lich Jun 19 '22

Based and correct

1

u/JC12231 Jun 19 '22

The biggest issue I see with C# is that you can’t write to the middle of a file with the standard libraries. It’s append or overwrite. If you want to edit you have to overwrite with the entire file contents but edited as a string, which is awful

1

u/[deleted] Jun 19 '22

The more features you have the better language is, right?

1

u/Equixels Jun 19 '22

Because string manipulation in java totally sucks. As well as garbage generation/collection. C# doesn't have those problems.

1

u/Fuelanemo149 Jun 19 '22

Heyyyyyyyyyyyyyy

What's your opinion on...

Rust

2

u/TracePoland Jun 19 '22

As a C# dev would love to learn it but constantly fail to find the time to :(

→ More replies (1)

1

u/[deleted] Jun 19 '22

Why C#? In what way is it getting more love than C?

1

u/xancanreturns Jun 19 '22

Marc gets recursion.

1

u/PremierBromanov Jun 19 '22

I like c# until i have to do internet shenanigans and then i get mad that I can't just guess what's in the response

1

u/llamaedsheeran Jun 19 '22

Well deserved

1

u/giantvar Jun 19 '22

C# is better but its AKAZA

1

u/SorryDidIMention Jun 19 '22

Honestly Java really isn’t that bad and a lot of the complaints I see about it sound like whining from a college freshman.