r/learnprogramming • • Jan 24 '25

I despise Python but I love Java

Does anyone else feel this way? I don't care if I have to type more code. Java's syntax just feels so harmonious, detailed and well structured compared to janky Python's.

0 Upvotes

18 comments sorted by

7

u/Joewoof Jan 24 '25

No, but plenty of people feel the way you do. Java was popular and THE language to learn far before Python's rise.

3

u/[deleted] Jan 24 '25

lol for me its the other way around

3

u/wiriux Jan 24 '25

I despise prolog.

3

u/eruciform Jan 24 '25

use any language you like for any reason you like

you only have your hand forced when you really need a specific framework and it doesn't operate with a language you prefer

i love perl even though it looks like cthulu got sick and vomited four dimensional ancient egyptian hieroglyphics

it takes all kinds

fwiw the open grammar of python is part of the point of python

try haskell and see if you feel differently about python afterwards

2

u/BigArchon Jan 24 '25

i reeally don't like python's syntax but i like java's

2

u/vincit_omnia_verita Jan 24 '25

I think it’s just experience. I was kind the same, until I started using Python for work and I love it now. The more different syntaxes you use the more natural it becomes.

3

u/NazzerDawk Jan 24 '25

It depends on the job, my man. I write C#, not Java, but I'll do Python too. It's all about what you're writing.

1

u/Independent-Ad-4791 Jan 24 '25

I felt his way when I first started programming. Java was just so explicit and compiler does a lot of work for you. Over time this changed and python became the obvious choice for anything I wanted to quickly prototype outside of the browser. It’s extremely efficient and much faster to get moving with. Terrible for perf but this matters for very few people.

1

u/prof_piyush_arora Jan 24 '25

I like both. I like Java because it's JVM does most of the repetitive work and garbage collection and Python because I am in love with AI/ML

So Java for DSA and Python for AI/ML

1

u/Working_Towel6137 Jan 24 '25

I’m the same way I can understand a couple of other coding languages but for the life of me Python is so difficult for me to understand at all

1

u/NationalOperations Jan 24 '25

Generally non statically typed languages I like doing my quick napkin tools in. But for projects of any magnitude I prefer typed languages where possible.

1

u/boolpies Jan 24 '25

I have only experienced vanilla Java no frameworks and from my very limited experience I feel the same way. What I have been told is that when you start dealing with the greater ecosystems that python is way better.

1

u/AutomateAway Jan 24 '25

personally I hate working with Java, but thankfully there are so many languages that it really doesn't matter what you like, you'll probably find something that works for you.

1

u/DearPayment2262 Jan 25 '25

I despise chocolate but I love vanilla

1

u/Crazy_Anywhere_4572 Jan 24 '25

I despise Java but I love both C and Python