[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

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: images.jpg (11 KB, 350x144)
11 KB JPG
Hey lads, Im looking for a new hobby. Thinking coding. I like language c from what I read but Im told i should learn python. It will be more befitting for non-IT fags. Im in investment Banking. But I like the manual, non-bloated nature of C.

Is C compatible wherever python is used including software like Alteryx or automated trade system coding
>>
dumb frog
>>
you can get more stuff done with batteries-included languages like python. it's just not ideal where run-time performance is important. there's a huge cognitive and maintenance tradeoff using systems-level languages like C for anything non-trivial.
>>
>>108731820
Python for non-IT fags:
>https://automatetheboringstuff.com/
As for C, high-perf Python libraries tend to be written it. Plenty of reason to learn C if you're into Python.
>>
test
>>
File: 1755408365405.png (94 KB, 1024x768)
94 KB PNG
>>108731820
If you're already into and knowledgeable about investment banking then you will have a much better time with Python and its math libraries. Using C for that will involve a lot more fiddling.

I would say go C if you were into low level systems programming, making utilities with low memory footprint, or programs where real time speed is key.

I guess a good question would be, "What do you want to DO with programming"?
>>
>>108731820
first step: install gentoo.
>>
File: yotsuba-cat.png (310 KB, 700x640)
310 KB PNG
>>108731820
just learn to vibeCODE frogBRO
don't be a fucking ludder.
you don't want to look like this, right?
>>
>>108735072
Nothing really. I'm getting into it because I need a hobby. And writing C sounds perfect for hobby. Tho, it would be nice to use your hobby irl for automation and stuff and thats where I feel like picking python.

so, I was wondering whether i can use C in place of python and if so how long same c code would be compare to C
>>108735089
Compile time is a ....
>>108735127
python can be vibe coded. Unironically, I can learn basic structure of python then just vibe code for automation.
>>
>>108731820
I learned to program with both. Python can help you with the basics and jumping into C will get you into an intermediate stage where you can explore more.
No language is perfect and some are better for certain usecases than others.
>>
Start with C. It is very simple and you will have a better understanding of how the computer operates. You'll leaen the "laws of physics" of code. Then when you move on to other languages, you will kind if see through the features and you will understand what really has to happen behind the scenes.

Python is interesting because it has so many features and libraries that are just C with a thin API wrapper of Python on top. So basically when you write any sort of performant Python, you just try to write as little Python as possible and mostly just cobble together pieces of C code. Python becomes just the wiring.
>>
>>108732089
>there's a huge cognitive and maintenance tradeoff using systems-level languages like C for anything non-trivial.
it's also simply a huge waste of time because you have to reimplement everything yourself.
>>
>>108731820
If you've never programmed before then you might want to learn the very basics with Python. there are so many more beginners' books, tutorials, videos, etc using Python than anything else, and it sweeps away some technical details that you might find interesting later but which would get in the way of learning about "if statements" and "for loops".
Once you can write something non-trivial, you can look at switching to C. I really love C as a hobby language.
>Is C compatible wherever python is used including software like Alteryx or automated trade system coding
This is a tricky question for reasons that are hard to explain without going into a ton of detail. The tldr is that you can technically do almost anything with almost any language, but some are a much more natural fit for certain tasks than others. You'll develop an intuition for it once you start actually writing some code.
>>
>>108731820
if you just want to automate stuff as a hobby learn python. its what kobayashi codes in if that matters to your underageB& frognigger brain
>>
>>108735310
You can use C in place of Python for the vast majority of things. So if you just want to program as a hobby and have a boner for C, then C is the right choice. I just find that having a concrete "thing" you want to do with a language helps ground you in the learning process. It's easy to lose focus/motivation in the "writing meaningless code into a black void" phase.

And Python has a library that lets you call C code. So if you learn C first, it will be pretty easy to pick up Python later and combine the languages.



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