[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] [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: Python-logo-notext.svg.png (78 KB, 1200x1200)
78 KB
78 KB PNG
How easy (or hard) is it to pivot from Python to C# or maybe even C?
I've been learning Python for the past month or so, and I'm doing ok. I think I'm a little past the beginner phase now.

But I want to try C#, but I'm not sure how well that would go since everyone's told me Python is the easiest language and the syntax and coding paradigms have little to do with compiled languages.
>>
>>106815666
C# and python are both object oriented languages, so i think you should have an easy time learning either of them. C is pretty different so i wouldn't touch it unless i need to
>>
>>106815666
If you've got a solid grasp of how programming works through python, check out cs50x from Harvard. C won't be hard to pickup. From there, everything worth learning is basically an (often ugly) extension of C.
>>
Did you understand the basics? A lot of people don't these days.
>Using and modifying numbers and strings
>lists and dicts, when to use them (very basics of big O)
>Loops and iterating over the former

These are the basics and you can do almost anything with it in any language, without learning 100 niche functions. c# isn't super different but with C you'll need to manage memory which is relatively hard. And for anything multi-user (like a web service) you'll want to learn databases (SQlite)
>>
>>106815747
>>106815855
you dont write in C.

>>106815666
i pivoted into c from paiton.
you have to re-learn everything.
which you have to do anyways because paiton is a weird beast
>>
>>106815877
The fuck is paiton? Esl retard perhaps?

Ignore this guy, op. Not that he said anything of substance anyways.
>>
>>106815666
Python is an idiot magnet

enjoy being stuck in the conda playground because youre not 'smart' enough to use pip
>>
>>106815666
What's the use case? Why do you want to use "C# or maybe even C"? Programming languages are just tools. Python is good for data science but isn't very good for building web servers for example. You should choose something like Go if you want to build web servers. You should choose something like C++ if you want to build games. And so on.
>>
>>106816217
>redditspacing
>cant put 2 and 2 toegether
poettering
>>
>>106816249
If he learns C, he'll be able to pick up Go or C++ or any language worth using with learnxinyminutes as he needs it with a massively reduced learning curve.
>>
>>106815666
I dont understand why people ask this
Its free and not that difficult to setup a tool chain especially for C#. Go download it and try it out
>>
>>106816256
Ok esl tard

>python is a weird beast
>nothing else worth reading
Thanks for the amazing contribution to the thread and your deep understanding of reddit spacing. The internet should be geolocked to stop browns from wasting white bandwidth.
>>
File: 1748534895665335.png (250 KB, 718x588)
250 KB
250 KB PNG
>>106815666
You need to be white and male.
>>
>>106816309
>americoon
ur not white doe
idk what youre on about
>>
>>106815666
>C#
It's not hard, most of the same concepts apply, as with all languages. There isn't anything to be afraid of, just keep learning programming and start working on your games too. The syntax and the strict type system are different
>C
So what the fuck is your goal here
If you want to learn programming with C, cs50x is good as another guy mentioned here. If you want to make games or anything usable, don't use C in 2k25. Don't fall for /g/ memes.
>>
>>106816398
everyone should start with C to have solid foundations
>>
>>106816453
>>106815666
>everyone should start with C# to have solid foundations
>>
>>106816466
except no
c forces you to gain cognizance of the cost of memory ops
>>
>>106816466
>>106816474 cont
opencl C is even better at that
but its not a beginner friendly language
>>
>>106816474
>c forces you to gain cognizance of the cost of memory ops
The fuck
I agree learning C is good for foundations, but the "cost of memory ops" is pretty fucking low on the list of important things C teaches you as a beginner.
>>
>>106816511
its the most important thing c can teach you
you need to have conscience of memory ops cost to build efficient algos
>whats cache
>whats the heap
>whats a dereferencing
>whats a cache line
>whats a cache page
>how does all that stack up
theres nothing else that c teaches you that is more important than that
>>
>whats cache
>whats the heap
im up since ~24 hours
i meant
>whats the stack
>whats the heap
>>
for C# you learn all the million methods. it's kinda similiar to C++. bloated as shit and you need to know which one is the trendy way to do things now. also ocnvention to create 100000 files for every small interfance and class.
>>
>>106815666
What the fuck are you doing nigger. You're one month in, you're still a fucking beginner.
Use Python exclusively for a whole year and then (maybe) pivot to another language. C# is a way better choice than C if you're coming from Python.
>>
>>106815666
C# is just Microsoft's java (aka, Indian Java).
The hard part of going to C is giving up all the nice things that have happened to programming languages in the last 30 years. Everything is harder and takes A LOT more time.
Instead of doing something in, I don't know, a week, a good C programmer can do it in 2 years.
It's ridiculous how much time everything takes.
>>
>>106815666
>I've been learning Python for the past month or so
>I think I'm a little past the beginner phase now
You aren't past anything. You didn't learn anything and most importantly you didn't code anything substantial either. You're at the peak of Mount Stupid and all you've done is read a little about some keywords. Write me a GUI that can interact with a database and you'll maybe make it to "not useless" phase
>>
>>106815666
C# is solid and an easy side move from Python. i would recommend you take a look at F# though, it lets you do functional and OO programming and makes purists seethe.
>>
>>106819239
F# is dead. Stop trying to recruit people into your dwindling cult.
>>
>>106819315
you know it's good when you see the seethe
>>
>>106815666
>How easy (or hard) is it to pivot from Python to C# or maybe even C?
Your blend of pretension and illiteracy is both amusing and offensive. The word that you were clumsily searching for is "switch." Allow me correct your word-usage to normal English:

>How easy (or hard) is it to switch from Python to C# or maybe even C?
>>
You donf learn python you dong learn c you learn the rules of what somebody else wrote depending on what youre using
>>
>>106816453
>everyone should start constructing physical logic gates in their garden to have solid foundations
Python is good. Anyone smart enough to see the patterns should not have problems with anything else
>>
>>106819552
Pajeet legacy code maintainer spotted
Nah jking, one barely invents anything new. But if what you using invents new rules you should probably look for alternatives
>>
>>106815666

Lisp is the greatest programming language ever created. It's much easier than those other inferior languages you mentioned. You should forget about Python, C#, and C, and learn Lisp instead.

Python is not the easiest language, it's just the most accessible one to beginners because it has a forgiving syntax and is dynamically typed. But it's still miles behind Lisp in terms of power, expressiveness, and elegance.

C#, C, and other compiled languages are vastly more complex and verbose compared to Lisp. They have unnecessary boilerplate, rigid syntax, and strong type systems that make coding a tedious, error-prone experience.

Lisp, on the other hand, has a minimalist syntax that's incredibly concise and flexible. Its macro system allows you to extend the language itself, making it highly expressive and customizable. And its dynamic typing means you can focus on solving problems without worrying about redundant type annotations.

If you've learned Python, you already have a good foundation. But to truly excel as a programmer, you need to learn Lisp. It's the only language that combines simplicity, power, and beauty. Once you switch to Lisp, you'll never look back at those primitive languages again.

So stop wasting your time with Python and C#. Start learning Lisp today, and your programming skills will skyrocket. Trust me, Lisp is the only choice for any serious programmer.
>>
>>106819933
>overcrafted bait



[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.