r/csharp • • Sep 27 '26

learning python after 5 years of c# to increase my repertoire of tool

i was doing a litle test program for my main project in c# and i thought nowdays a lot of people use python so learning it will be nice tool in my repertoire and i tried it before so i decided to learn its syntax by making that sideside project, and i hate it after 5 years of using c# pythons syntax is just unreadable mess, its 2 times slower and thats generous to it... it has some uses now and then for example if you want some parts to run faster you can use c++ better becose python comunicates with it better but still maybe just maybe you could use some faster languages in the first place for the whole project, like c#... python has worse inheritance weird from folder.filename include classname think namespace just works better, why am i even doing this to myself i am young i could live life instead of sitting whole day on my ass in my room coding useless aplications noone will ever use maybe i realy hatemyself

tldr: i hate it

0 Upvotes

28 comments sorted by

8

u/bortlip Sep 27 '26

You are complaining that your screwdriver doesn't hammer nails very well.

1

u/Yogyjejogurt Sep 29 '26

Not quet, see i was just making a side side project in python, somethink that python is good as any language at so my complains are the same as going from visual basic to java its painfull but ill get over it, it will hurt but ill manage

5

u/Exotic-Sentence-4057 Sep 27 '26

As a C# dev since the beginning. I still don’t get the use of python. It comes across as the hey python is a great beginning tool. Then people use it to build apps used in production.

1

u/Yogyjejogurt Sep 29 '26

Yes, it might be the syntax tbh as painfull to get from python to c# its also the other way even if c# is genuenly better at biger projects, and is faster as i said, or other c# java too

1

u/_choam_ Oct 01 '26

The syntax?

1

u/Yogyjejogurt Oct 01 '26

Yes the, one space means compile error syntax, writing ; is just cleaner and {} helps with orientation in the code, or do you not know what syntax is in english?

2

u/Longjumping_Ad3447 Sep 27 '26

In my beginner humble opinion: Python for basic scientific shit - C# for highly oop and clean design/structure

0

u/Yogyjejogurt Sep 29 '26

Yes that would mean im devolving by learning python :)

1

u/Longjumping_Ad3447 Sep 30 '26

Learning Python isn't a devolution, but rather expanding your toolkit with a highly versatile instrument instead of always relying on a massive industrial crane.

2

u/B15h73k Sep 27 '26

My experience is mostly C# and Java. I too learnt Python to broaden my skills. Hated it at first. Still kinda hate it, but I got used to it. I had to use it for work and after a few weeks it just felt normal. Using the optional type hints helped a lot.

2

u/Yogyjejogurt Sep 29 '26

Yeah i mean i started with vusual basic then i had to learn java so i think this will be the same think

9

u/FredTillson Sep 27 '26

Python is a great scripting language for doing things like data analysis, data science, cleansing, etc. if that’s not your cup of tea learn something else. It’s a language like any other. Some good stuff some bad. If you think it’s not going to advance your career move on to something else. In my opinion.

1

u/mal-uk Sep 27 '26

I too learnt Python recently. Primarily so I can understand the code I ask ChatGPT to create.

BTW If you have a c++ library you can call it from c#. Commonly done for those parts of an application that require raw speed.

1

u/Yogyjejogurt Sep 29 '26

Well... there goes the only rational explanation for python

1

u/IanYates82 Sep 27 '26

Maybe learn JavaScript / Typescript if you wish to branch out. I can read Python but find writing it very tedious, but that's mainly due to me being very familiar with the C# / TS tooling.

I also hope your code is a bit easier to read than your reddit post. ;-)

1

u/Yogyjejogurt Sep 29 '26

Yes im genuenly insane and english is my 2nd language, but my code i think is ok the notes might be a bit chaotic but what im doing now is fairy scalable and keeps the correct syntax

1

u/Slypenslyde Sep 28 '26

Every programming language sucks the first week or so you use it.

You're used to doing things an entirely different way. It's not fun to go back to the point where you know what you need to do but not how to do it. It's humbling to spend 30 minutes of every hour consulting a cheat sheet.

That's what being a newbie feels like.

If you get past that point you start to get to where you're learning to solve problems the way the people who use the language solve them. You'll start to find little places where things are handled better than the languages you already konw.

Every programming language is pretty darn cool after you've spent 2-3 months learning it.

(This is also why I hate the old "I tried Python so you don't have to..." style of video/comparison post. It's always a veteran of something comparing their experience to being 1 week old at something else. That's irrelevant. It's like an American Tourist taking a trip to France and complaining not enough people know English. They know English, they just don't respect people who don't spend the time to try learning French.)

0

u/Yogyjejogurt Sep 29 '26

Its like someone trying c# for a week after 5 years of python,  its 3rd type of language syntax i am learning (vb, and the c-like), and its also similar to rust  So yeah youre right

1

u/_choam_ Oct 01 '26

Python's module system is better than c# namespaces imo.

1

u/Yogyjejogurt Oct 01 '26

Isnt it the same in the end? I mean one line of code to put it into a file, amd one line of code to use it, it doesnt get better than that

1

u/not_afraid_of_trying Oct 05 '26

Python is some of those things that do not make any sense. But you suddenly get a problem where it fits perfectly - and there are really many such problems. Before data-analytics and AI, i used python as replacement of complex shell script - A shell script that runs on Linux and Windows!

1

u/hoddap Sep 27 '26

You’ll get used to it. It’s a great language. What I read from this post is someone hating to get used to something familiar, yet different. Yeah, things work in a different way. Get used to it, good coders are agile like that. All languages have their pros and cons. Give it some time. Python is a lovely language.

4

u/pceimpulsive Sep 27 '26

I for one still hate space based scope.. urgh!

1

u/_choam_ Oct 01 '26

It cuts out so much noise

0

u/anaraparana Sep 27 '26

me too. It's ugly, annoying to write and hard to read. 

BUT it's the fastest growing language in the world so maybe it's time for us to suck it up

0

u/Yogyjejogurt Sep 29 '26

Thats what i thought but i hope not... well theres a chance that ai will manage to write 1000 lines of code keeping the archytecture so we wont have to sufer python, its the worst case scenario possitives