[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math


View post   

File: 163 KB, 813x551, 1515160551758.jpg [View same] [iqdb] [saucenao] [google]
10345725 No.10345725 [Reply] [Original]

Can't program

>Spend 3 days learning python that should take me 1 day

How do you come to terms with mediocrity compared to everyone else around you?
How the hell do CS majors do this?

>> No.10345741

>>10345725
dunno i program in c as a hobby
t.medfag

>> No.10345742

>>10345725
>learning python
There's your problem. Learn C++17.

>> No.10345745

>>10345741
Didn't ask you

>> No.10345751

>>10345725
>How the hell do CS majors do this?
cs majors shit on python because it makes it too easy for everybody else to code

>> No.10345767
File: 55 KB, 571x553, 1454530699669.png [View same] [iqdb] [saucenao] [google]
10345767

>>10345725
>How the hell do CS majors do this?

They don't.

>> No.10345772

>>10345725
I feel you brother, my classmates where coding on the first week of school like they were making eggs, now I’m a dropout considering law

>> No.10345773

>>10345745
You are clearly not smart mate,so calm your tits.

>> No.10345783

>>10345773
Didn't I say that in your post. Didn't ask you.

>> No.10345785

>>10345772
How can you do law if you aren't socially competent?

>> No.10345793

>>10345767
>the number is false
kek

>>10345725
Don't worry OP, the CS majors at my university are literal brainlets, some of them can't code the simplest programs to save their life, the pajeets smell like shit and cheat all the fucking time, professors always inflate grades so students don't fail out of the major, and apparently my university is in the top 5 public universities.

So don't worry, just continue at it, you may feel dumb but I guarantee there are people way worse at it. If you keep trying you may succeed, but if you quit you never will. And even if you suck, there will always be an IT or web development monkey job for you :)

>> No.10345798

>>10345793
lmao what uni
mine is the top public uni and CS is fucking brutal here
im a math major and i'd say the level of rigor and difficulty easily compares to that of math, and we also have one of the best math programs in the country

>> No.10345799

>>10345793
Do people value certifications? I can't get a degree in CS so I'm learning it myself.
And it's taking too long.

>> No.10345802

>>10345785
I am social, I’m just bad in abstract things tought I’d learn that way of thinking but ‘brainlet’. Only motive I went for the CS is my cousin, that nigga makes hella schmekels

>> No.10345835

>>10345798
Not going to say which uni but it's in the top 5 public schools in the U.S. CS is kind of a joke here, they hand out CS degrees like candy, some professors refuse to give grades less than C because then students wouldn't be able to finish the degree. Granted my school isn't known for the CS program (or the math program).

I was in an algorithms class (generally considered the hardest or 2nd hardest CS class) and a girl asked why log_2(4) = 2. Like this is shit you should've learned in like middle school. My professor looked so disappointed, you could just see how he deflated and was internally screaming as he shuffled to the board to explain elementary logarithm properties.

All I'm saying is, if these people can learn programming, so can OP.

>>10345799
Depends what you want to do... I think if you want to do IT work then certifications are important, but if you want to write software or do research then they aren't important.

>> No.10345846

>>10345725
Python is programming as a saw is to carpentry

"Learning a language" is a meme. Its the concepts you use to accomplish various tasks that are important and transferable between languages and libraries.

>> No.10345858

>>10345835
You have to tell us which school this is

>> No.10345878

>>10345725
By being rich.

>> No.10345898

>>10345725
They practice more than three days ? You can learn scales in a day, that won't make you a pianist

>> No.10345936

>>10345802
What does he do?

>> No.10345940

>>10345799
personal projects are better for self-taught CS majors, especially if they're demanding and not just "website design #23"

>> No.10345989

>>10345725
>How the hell do CS majors do this?
cs majors spend a whole semester learning c++/java/whatever

after that it's easy.

>>10345751
>cs majors shit on python because it makes it too easy for everybody else to code

no, cs majors shit on python because it's an objectively shit language that literally stunts you if it's the first language you learn.

>> No.10346034

>take calc 2 (for engineers)
>programming lab
>"herro crass toaday wre wrirr be reaning python

>> No.10346079

>>10345989
>it's an objectively shit language
It's great for getting the computer to do things for you
>stunts you
How? Now granted, my first language was c but python was the first I used a lot. I have no problem picking up new languages in hours or at the absolute worst case, days. You learn languages when you need them. Python is great for everything that doesn't have any special performance requirements because it's just so damn easy to use.

>> No.10346115

>>10345793
It is the same across the board. CS attracts brainlets who watch Silicon Valley.
>>10345798
CS fag detected

>> No.10346119

>>10345846
>Python is programming as a saw is to carpentry
>"Learning a language" is a meme. Its the concepts you use to accomplish various tasks that are important and transferable between languages and libraries.
I'm a CS major. This is complete bullshit. There's really no way to learn the concepts without learning a language. You can't just "study the concepts"- whatever the hell that means- and expect to immediately be able to program

>> No.10346196
File: 497 KB, 250x188, 1540986662609.gif [View same] [iqdb] [saucenao] [google]
10346196

>>10346119
I'm a CS/Math major. You're a fucking retard, and are representative of most of the brainlets in this major. The absolute base objective of CS is to solve problems using applied mathematics through algorithm design. For example, if you learn the fundamentals of a binary search tree, you should be able to know how to implement it in any language. Sure, you have to learn the proper syntax and implementation of it for that specific language, but it is always structured very similar.

https://www.geeksforgeeks.org/bubble-sort/
Check out this link for a simple implementation of a bubble sort algorithm, coded in 5 different languages. They don't really look that different, do they? This is an example of "studying the concepts" - ever heard of pseudo code, kid? Studying these concepts, it's like carpentry - you learn the techniques of the trade. Learning a language? It like learning how to use a tool that's commonly used in the trade.

TL;DR Learning the concepts is how you get the big money, learning languages is a great ticket to being a mindless code monkey.

>> No.10346260
File: 155 KB, 1440x810, 1548577193595.jpg [View same] [iqdb] [saucenao] [google]
10346260

>>10346196
>The absolute base objective of CS is to solve problems using applied mathematics through algorithm design.
In practice, data structures and algorithms are the easy part because the most useful data structures and algorithms have already been thoroughly researched and are almost always available as primitives. The hard part is making dependencies in the code reflect dependencies in the problem at scale. This is only possible through a deep familiarity of the problem and available tools. It is impossible to gain this familiarity without practice. If you want to do theoretical research, you may not need to be an expert programmer, but don't think that studying algorithm and data structures will automatically make you a good programmer.\

>They don't really look that different, do they?
Those languages were all extremely similar. Do you understand the following?
https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort#360_Assembly
https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort#Factor
https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort#Haskell
https://rosettacode.org/wiki/Sorting_algorithms/Bubble_sort#Qi
How long would it take you to understand all of these? How long would it take you to implement bubble sort in one of these languages?

>> No.10346272

>>10345793
>>10345835
don't be a faggot and tell us what school it is. Michigan? Virginia? No way it's one of the UCs, those CS programs are supposed to be pretty tough.

>> No.10346306

>>10345835
you won't dox yourself, those unis are huge

>> No.10347818

>>10346306
Nice name lol

>> No.10347827

>>10345725
Just keep trying man, python is not hard but getting past beginner level in one day is not really possible

>> No.10347861

>python
Learn C only then bother with meme languages.

>> No.10348354

>>10346119
It's not bullshit. Fucking pseudocode is more than enough to grasp and apply most programming fundamentals. Hell, you don't even need a computer: pen and paper is enough at this stage for coding and testing.

>> No.10348375
File: 69 KB, 1255x587, Screenshot from 2019-02-01 11-11-45.png [View same] [iqdb] [saucenao] [google]
10348375

Meanwhile I just finished writing some matlab scripts for complex math for my network analysis class.
(which we can use for quizzes, midterms, and the final)

>> No.10348426

>>10348375
fuck im so happy i wrote this. i've saved myself probably hours of laborious work

>> No.10348434

>>10348375
You're paying the Jews by using a subscription.

>> No.10348450

>>10348434
Isn't matlab a one time fee? School provides a license for it and many other programs though, so I'm not paying shit.

>> No.10348454

>>10348450
Someone pays for it. Better use python

>> No.10349327

>>10345835
is it UNC anon? im here and all the cs majors are fucking retards, though i suppose this could apply to most public unis

>> No.10349333

>>10345725
>Should
According to what?

I learned to program in MS-batch. You should just learn C++.

>> No.10349399

>>10345835
You don't have to say which school.
All the replies you're getting is from this one autistic retarded high school namefag >>10346306 .
This kid is insanely obsessed over colleges for some reason.

>> No.10349707

>>10346079
If ones first language is python, one will never know the internal structure of the computer, or how the code works. C is best first language

>> No.10349773

>>10349707
I started with Python and I can design CPUs and synthesize them on FPGAs.

>> No.10349812

>>10349707
>C
>internal structure of the computer, or how the code works
It's not 1973 anymore, gramps. Computers don't work how you think they do from learning C.

>> No.10349822

>>10349707
C is not assembly so I don't think that's a very good argument

>> No.10349943

>>10348375
> matlab
proprietary

>> No.10350101

>>10349943
Better than GNU/cancer.

>> No.10350636

theres no point in "learning to code" unless you have an application in mind

>> No.10350666

>>10349812
unfortunately while this is true we are using computer designs from 1945.
so it evens out

>> No.10350688

>>10348434
>not pirating it

>> No.10352082

>>10350688
You shouldn't

>> No.10352203

>>10345725
>he can't solve a trivial problem
Just leave it as an exercise for the grader then.

>> No.10352366

>>10348450
no idea when I needed it I torrented it

learned it, used it, stopped needing it, deleted it, forgot it

I don't get this obsession with learning tools that brainlets have. I usually pick up a language in hours to days if I need it for something. I use it to do what I want my device to do. The only language I am fully fluent in is python because I just use it all the time so there is no need to forget it.

>> No.10352410
File: 79 KB, 680x508, 1346137963708.jpg [View same] [iqdb] [saucenao] [google]
10352410

>be working as a chemist
>have some downtime at work and go through Automate the Boring Stuff with Python
>do all the activities and finish it
>can't identify any uses for scripts in my day-to-day and end up never using it
Help I don't want to forget another programming language. This is what happened when I tried learning PHP and C++ as a teenager.

>> No.10352431

>>10352410
What work do you do as a chemist?

>> No.10352437

>>10352431
At the moment we're trying to get some validation tests set up so we can submit data to the FDA/TGA/EU equivalent.
It's mostly setup test, run test, wait for the microbiology team to send us the results. Think about ways to improve the test, repeat.

>> No.10352441

Learn haskell and install gentoo.

t. CS fag

>> No.10352448

>>10352437
I imagine you probably store a lot of data in excel, right? Try reproducing the equations in your spreadsheet in python.

>> No.10352463

>>10352437
You can use R to make cute graphs. I don't know if that helps.

>> No.10352469

>>10352448
>>10352463
We're literally just calculating log reductions. It's a formulation for cleaning medical devices and we're checking how well it does.
I'll probably have a go making a script which does it as well for practice but it wont be any more useful than excel for this situation.

>> No.10352511

>>10352469
It doesn't have to be useful, it's just for your learning. Be extra, make it read data from a .txt, write the results to excel, make plots, do some statistics shit, etc.

>> No.10352560

Everyone fuck off. Op, the real way to learn programming is to just write code. No book or video will truly teach you anything more than syntax.
Just think of a project that sounds fun and make it. When you get stumped,and you will, all programmers do, then google.
First thing I did was write a shi t script in python that sent email. 3 years later I am able to switch to a new language effortlessly(although you at need to learn the quirks and paradigms)and am working on writing a compiler in between easy freelance shit (most involve php but hey, cash is cash).
Just write code and be done with it. Throw it somewhere for looking back on.
Fun way to learn some low level shit when you ready is to write some game hacks. First c++ project and exposure to ASM was writing a csgo hack. Vac is a joke as long as you don't copy paste skid shit. So yeah that's it.

>> No.10352587
File: 54 KB, 574x680, DvajXdxUwAEAeja.jpg [View same] [iqdb] [saucenao] [google]
10352587

>>10345767
Oh boy this gave me cancer
thank you

>> No.10352591

>>10346196
This is accurate.

>>10346119
This is unironically what 99% of recruiters believe.

>> No.10353692

>>10345767
>the number is false

>> No.10355068

>>10352591
What's true then

>> No.10355310

>>10352410
Learn a plotting library. All your reports will be amazing. The autism is up there with Tex.

>> No.10356007

>>10345783
you need to be at least 18 to post here

>> No.10356730

>>10345725
You can't expect to REALLY learn any programming language in 1 day. It's very common now to see all kinds of videos and tutorials online with an emphasis on learning fast, but in reality it's not so useful to see things that way.

Additionally, Python is a relatively easy language to get started in, but if you want to really get good at it, there's a lot that you need to know. For example, C is difficult but it has very little to it. You can learn all of the features of it much quicker than you could for Python, which has things like generators, metaclasses, comprehensions, etc.

>> No.10357050

>>10349707
You probably don't do anything if you say python is shit. It's great for writing quick scripts to perform some tasks

>> No.10358279

>>10352410
If you care about remembering syntax, then you're not a programmer. Style is more important. So is taking advantage of recent language features, which didn't exist when you "learned the language".

>> No.10358313

>>10349822
Even modern assembly is built on a pile of abstraction that poorly maps to how CPUs really run. You think each logical register has a single physical location?

>> No.10358324

>>10346196
>>10352591
>>10348354

I can't believe how idiotic these people are. CS/algorithm design alone will not teach you how to design and work with the structure of complex programs that actually do anything useful.

>>10346260
Thank you.

>> No.10358338

>>10358324
>Thank you.
You're welcome. You might like this.
>Second from my perspective as an academic who knows industrial work: from my experience as a plain industrial programmer (not an academic researcher in industry), I can tell you that few if any work is algorithmically deep. Most of the time it is plain undergraduate material. As a matter of fact, my company had hired someone with a PhD for studying the few things where they needed deep algorithmic knowledge. When programmers or projects needed something, they went to this guy who set up mathematical models and then derived algorithms. What is far more important for the bottom line of companies is that projects are structured properly, even in languages that don't have the necessary tools for structuring. If projects are well-structured, it is easy to find and fix problems, and it is easy to branch off into a different direction. This kind of structuring you learn in PL-oriented courses NOT in algorithms.
http://felleisen.org/matthias/Thoughts/what-is-pl.html

>> No.10358665

>>10346119
This actually gets much easier once you have learned languages from a few paradigms.
Any good CS program will have a Programming Languages course where you learn an ML (SML, OCaml, or Haskell) a Lisp, and some OO abomination, and then compare the trade offs between different language paradigms.
After taking a course like that, you can easily slot languages into their appropriate category and know how they work. All that's left is syntax.

The real challenge with learning new languages, is learning all the associated tools and libraries you need to be effective with them.

>> No.10358670

>>10358324
>CS/algorithm design alone will not teach you how to design and work with the structure of complex programs that actually do anything useful.
This depends on how well you really understand the fundamentals of computation. If you can only see algorithms as cookbooks or abstract formulas, then it's hopeless. You need to understand them as components in a machine so you can recognize them when they appear later in some other form.

>> No.10359291

>>10358670
"Algorithms" doesn't include any kind of design. The closest you're going to get is algorithms and data structures related to concurrency.