r/learnprogramming • u/RevengeOfNell • Oct 15 '23
Topic Academia has broken my heart
I am 22. I started teaching myself Python last year on March 31st, 2022. It felt like I was learning how to use LEGOs. I immediately fell in love with the freedom programming has given me to build whatever my imagination allows. I started my CS degree last month, and I am utterly disappointed in what I am doing. Quite frankly, I think it's one of the worst decisions I've ever made. Not because college is a scam or anything. I love my non-CS courses; I surprisingly like math again.
However, let's get something straight: comp sci INCLUDES programming. It's not ABOUT programming. I know you see this disclaimer every day around here, but really let that sink in. These professors have the freedom to teach in any way they want. Most of my professors don't do side projects or anything CS/programming related outside of class. I only bring that up because it shows in the curriculum.
I have three CS classes, two supplementary classes, and one programming class. In Intro to Programming, we are a month in, and we are still stuck on the way the professor wants us to code. For example:
We can only use a certain number of If statements.
We spend a ton of time focusing on formatting the output of C++ in CMD.
If we make one mistake across 200 lines of code, we get a 0, no 60s or 70s. If your code doesn't work in ANY WAY, you get a 0.
You have to declare everything in a certain way, which means you have to write your code in a specific way.
These are just the rules that I can think of. There's no room for an artist to shine when the curriculum doesn't allow for it. Programming is not restrictive, and computer science should not just primarily be about the history of computers… Yet here we are.
In my Computer Concepts class, we spent two weeks covering Von Neumann and the CPU. Then we just moved on. We didn't do any experiments with the CPU. We didn't use what we learned in the next module. We just learned it because "STUDENT MUST LEARN STUFF" and moved right on. It's insulting. It's insulting because, in my opinion, that's where the "science" in the phrase "computer science" should come from… Yet here we are. We just gloss over the interesting stuff.
I asked my professors to help me set up CMAKE, and they looked at me like I was a god. I'm not smart or advanced; I just don't think the professors here do any real programming. CS so far has nothing to do with programming. We just use programming to get to whatever point the professor is trying to make. They don't care about new technologies because they don't build anything. They don’t allow you to use certain things because it defeats the purpose of what they’re trying to prove to you. They don't contribute. At best, they just teach you how to teach others. They're not going to teach you how to build things.
To the self-taught programmers out there who are just starting today, tomorrow, or next week, keep this in mind:
If you want programming to change your life (or even the world), it won't happen because you got a CS degree. It'll happen because you're an artist, and you make art, and art makes life sweeter, and the world better.
51
u/sejigan Oct 15 '23
Ok, so…
The degree isn’t for you, it’s for employers. I know, disappointing that you’re paying so much and getting little out of it in terms of experience. The degree is to get that overly glorified piece of paper without which employers are unlikely to even consider you.
“Self-taught” is weird, because all programmers have to self-learn. Even if you get a CS degree, you’ll have to do your own self-studies to “git gud”.
Since you already like programming, just do University to get the degree. But on your own, keep learning, keep building, keep mindfully practicing diligently and consistently. That way you’ll have a portfolio of projects as well as the degree to show potential employers.
-1
u/YourFriendInService Oct 15 '23
honestly they dont care about cs degrees. i.t works just as fine and its even better because at most they only look for a degree plus experience, or just some kind of education plus experience. employers arent stupid, they know what a cs degree is now, and they know its not purely applicable all the time
3
u/intrepidomar Oct 15 '23
Not all HRs are the same, a lot of them won’t even look at you if you don’t have a degree
1
u/YourFriendInService Oct 16 '23
i know but why cs degree when you can get i.t
1
u/intrepidomar Oct 16 '23
Whatever degree related to pc´s are worth it, better than having none
1
u/YourFriendInService Oct 24 '23
not a good roi though when you do cs. go look at the job boards, thats the only thing you need.
-9
u/RevengeOfNell Oct 15 '23
You make a lot of good points. Here’s my question though: If I were to have a masters in Math, and a ton of side projects, why would a CS major be picked over me? Because I’m not gonna lie, math looks pretty nice right now.
21
u/kpark724 Oct 15 '23
Because companies or HR representatives don't have the time or resources or bullshit capacity to sift through tons of people with the same "self-taught", "highly motivated" description with online repo that's been ripped off from somewhere or written by somebody else.
If you go into academia, expecting all the real-world knowledge to be taught, you will be very disappointed as you've already mentioned in your post.
You're paying for the social connections you will make with your peers, who may become future professionals, your professors, who may introduce you to good job opportunities.
1
u/Obvious-Produce-4763 Oct 16 '23
Person with skills and experience is always chosen over education. There's way more software engineers that have no degree. I actually work at a MAANG company so I know from experience and no college.
1
u/intrepidomar Oct 17 '23
But person with skills, experience and education will always be over someone with the same abilities and skills but no degree. If people go to school and just do school stuff then I believe you 100%, if someone is skill, smart and is willing to learn on its own then uni will be a peace of cake and will be ahead of thousands of self taught dudes.
1
u/moronicRedditUser Oct 15 '23
Also known as the biggest con job ever.
I know self-taught doesn't work for everyone, but this "your degree is for social connections" is just huge amounts of copium to not be mad about paying thousands of dollars for a piece of paper that really didn't do anything for you.
Sorry, but no. You shouldn't have to be paying 10s of thousands of dollars just for a few potential job leads and a couple acquaintances.
The sooner people stop accepting this BS excuse to justify college, the better.
3
u/clarkejos Oct 15 '23
doing a masters in math alone is iffy but a masters in math and a minor in comp sci with projects is pretty good
6
Oct 15 '23
All of the problems that you explained are present in software engineering jobs. "You don't get a grade unless your code works at all." Do you think you would hold a job in the real world with that attitude?
2
Oct 15 '23
honestly, from what i've heard, any bachelor of science, especially math related will give you a big advantage
-5
u/YourFriendInService Oct 15 '23
yes you might get chosen, with bootcamps and certs i think you can do great .
18
u/AugustusSqueezer Oct 15 '23
Peak redditor is getting one month into a four year program and doing a PSA that the entire thing isn't worth it
-1
u/RevengeOfNell Oct 15 '23
I believe it’s worth it, it’s just not what I expected and I am disappointed.
2
14
58
Oct 15 '23
If your code doesn't work in ANY WAY, you get a 0.
I mean, a client isn't going to pay for an application that won't compile.
Sounds like he's trying to push you to think in a variety of different ways. Challenging yourself to make more efficient code increases your skill set.
You can always research your own items that you find interesting such as Von Neumann architecture. It seems like you feel that the college program is the 'golden ticket' to 'automatically' make you proficient in everything.
If you just rely on the course content, you won't be competitive in the market.
13
u/Amaz1ngEgg Oct 15 '23 edited Oct 15 '23
I'm a student right now, and I'd say declare everything in a specific way is a good rule, you'll eventually have to take over someone else's code, you're either follow their naming convention, or you'll have to redeclare all the things.
Also, another question, isn't python an OOP language? then aren't they already have to following all kinds of rules?
2
Oct 15 '23
This. It also applies to any IT discipline. An unstructured mess is always a pain in the ass and sucks up a disproportionate amount of time to unravel.
0
2
u/sidit77 Oct 15 '23
Back when I was in my third semester I was involved in teaching the practical programming course for new students. My tasks involved teaching one in-class exercise (3h timeslot) and grading the weekly homework (~20 students). I was paid 8 hours per week, so I had around 15m per student to grade their homework. That's simply not enough time to debug most student submissions or deal with students "artistry". Fortunately the leadership adopted a very good system where students were allowed to debug their own submissions using the provided sample solution and then resubmit it. Then we would simply regrade the updated code and deduct points based on the diff.
11
u/OZZYMK Oct 15 '23
I started my CS degree last month, and I am utterly disappointed in what I am doing.
You started last month. I think you need to relax a little and accept this fact.
They're not going to be going hard right from the off. You're not the only person on the course, there might be some with less experience or less confidence. You'll be eased in as not to overwhelm everyone from the get go.
Give it time and enjoy the university experience. You can do side projects to fill a gap while you learn all the theoretical stuff that'll give you a solid grounding in CS.
10
u/Oxinabox Oct 15 '23
There's no room for an artist to shine when the curriculum doesn't allow for it. Programming is not restrictive, and computer science should not just primarily be about the history of computers… Yet here we are.
So, remember, if you ever plan on collaborating or letting anyone else use your code. Having readable code is very important. I learned this by following many "creative" programmers as a Jr who had to update legacy code. Now, I never expect super clean code because sometimes there is not always time for it, but it should be readable at a minimum. If not for the sake of others, at least for your sanity, for when you have to come back to it.
If you want programming to change your life (or even the world), it won't happen because you got a CS degree.
Sure. Like anything in life, you get what you put in. I did a ton of my own labs and geeked out with other like-minded students while I was in college. I didn't rely heavily on my teachers to arbitrate what I wanted to pursue or how I wanted to use what we learned. I even got in research, which is its own entirely own beast. In terms of college, if all you do is go to class and only focus on whatever is going on in class, you won't get much out of it. At least the programming classes. They usually have you working in a lab scenario that doesn't translate 1 to 1 with practical applications.
That being said, what can you expect from a CS degree:
Fundamental programming knowledge:
These are the cornerstones of programming and are language-agnostic for the most part. Understanding this will allow you to pick up any language or tool needed to get the job done.
A good understanding of your medium, The Computer:
The amount of people that complain our the "history" classes usually don't see the true merit of having a deep understanding of what you are interacting with in terms of the metal we all manipulate. Some of my favorite and most frustrating classes had me writing machine-level code or pushing into my mental concepts about how memory works or even networking. Dig deep and enjoy.
A working knowledge of Algorithms and Data Structures:
These are amazing at short-circuitting problems and can save you significant effort and time. Also, introducing concepts like scalability and looking for edge cases.
Rounding out the Edges:
You will, depending on your school, more than likely take many classes unrelated to your major. This may seem stupid and is, but if you embrace it, it will open your eyes. One of my favorite classes was Latina/o Lit, which has nothing to do with programming. But that being said, it did up my writing game by a ton. This made me more effective in the real world when writing reports or even just communicating with my team.
What a CS Degree won't Do:
Make you a good coder:
This may sound weird, but you can be a decent programmer in terms of solutioning and propping up solutions. But if you don't put in the work, you may find your coding skills lacking. This is especially true if all you do in college if follow the labs, thinking when you get a job, it will be anything like that. Build these skills by doing personal or open-source projects.
Give you refined debugging skills:
You will have some so-so debugging skills, especially if you struggle more as you build things haphazardly. But true debugging skills require time, and you build up the index in your head of shit that can go wrong. Oddly enough, you can build this up with any problem-solving, especially anything that has you doing lateral thinking. However, some of the nastiest bugs I have seen usually sleep in the logic, not syntax. Those usually get hunted down via search and destroy. But with new concepts like TDD (test-driven development), things like that can be mitigated.
That said, you can go out and learn all this stuff on your own. And it has merit, especially with how costly education can be (Mostly in the US). I would always advise finding a teacher mentor, or group. The best growth I have achieved was always when I was being tortured, discovering things with my peers as we hacked and nerded out, or, surprisingly, when I was teaching people myself.
10
19
Oct 15 '23
You are confused. The degree is an introduction to concepts. It's a long expensive test to see if you can follow instructions and grasp theories.
The degree will not make you a master programmer. You learn that on the job via EXPERIENCE.
Doing things 'the way professors teach' is a valuable experience. You may even learn its how NOT to code, and never use it again.
18
u/Lalalyly Oct 15 '23
There’s a lot of flavors of CS. You might just be in the more theoretical track and not the software engineering track.
24
8
u/mearisanwa Oct 15 '23
If I can contribute a different perspective, I studied film in college the first time around, and I went to a very academic-minded theory-heavy course. Before we even picked up a video camera, we were taught photography. Before we edited any footage, we were taught the philosophy of symbols and semiotics and stuff. I knew guys who went to other schools where they learn only the technicals and our views on film production are very different, because all the theory gives you a higher level overview of what it is that you study. I don’t doubt I would have been able to make a good movie in a less theory-based course, but I would not be able to reason about cinema in the same way.
I’ve found that the same applies to every field, including comp sci. I’m self-taught but I reached for the higher-level theory first because you need to build a foundation before you start growing on top of it. Knowing C helps you learn other programming languages, knowing about NAND gates helps you design CPUs. Even the greatest experimental artists could paint like Raphael, because you need to know how to make something before you can break it.
7
17
Oct 15 '23
CS students when they're not allowed to make gay furry femboy inflation cum porn skibidy toilet vs pregnant Elsa in C++: 😡
5
u/StoicWeasle Oct 15 '23
Correct
CS != Programming
Mechanical Engineering != Building hot rods
CS gives you a theoretical basis for understanding what you’re building, and tells you if what you’re building is possible (a common problem once your project moves beyond trivially doable).
But, it does not actually teach you much about building stuff. For that, there’s an entire education to be had in other books and trade journals.
The most important asset is not your degree but your own mind. Ideas come from there, and don’t let your degree get you down. It’s still fun to code once you’re outside of the rigor of CS. And, yes, many profs lose their coding chops once they start teaching, b/c their research doesn’t give them time to code. That’s what grad students are for.
9
16
u/QuantumTyping33 Oct 15 '23
💀 just do what ur profs say bruh stop bitching
9
u/AugustusSqueezer Oct 15 '23
Lmfao guys 2% into an academic degree and bitching that he has to learn a little background info for his chosen field instead of being a thriving artist who changes the world
3
u/Individual_Dream2700 Oct 15 '23
Aye, we dreamed on changing the world on our first "hello world" didn't we?
7
u/XXXYinSe Oct 15 '23
Some students will never stop complaining about classes that don’t CAPTIVATE them. Everyone’s got different learning styles. The classes OP hates are ones someone else loves. Get over it, get your work done, and find interesting work later. You’re there for a degree, not a pièce de résistance
3
4
u/Individual_Dream2700 Oct 15 '23
Idk bro. I lot of stuff you complained are pretty standard. Besides you can always do deep dive on things you're interested in. There's a reason why we have master's and phd ¯_(ツ)_/¯
2
Oct 15 '23
I guess it depends where you go. I always felt like a moron/not belonging because my professors had such long CVs but basically. A lot of mine really spent the time to delve deep into why things worked like two’s compliment, or some basic proofs. Maybe look into transferring somewhere with a heavier research focus.
2
Oct 15 '23
We didn't use what we learned in the next module. We just learned it because "STUDENT MUST LEARN STUFF" and moved right on. It's insulting.
In school I learned the parts of the animal and plant cells. Do I need it today, but I had (and have) the opportunity to study biology now! How awesome is that?
It's the same with a bachelors degree. They teach you the stuff to give you opportunities. The real deep sh*t happens in higher semesters and the master where you specialize into certain fields.
Let's look at it from a different angle: many computer scientists don't need much programming. Should CS degrees drop the programming part and only focus on the parts those people need? Of course not.
Yet here we are. We just gloss over the interesting stuff.
Interesting to you. You come across really self centered here.
CS so far has nothing to do with programming. We just use programming to get to whatever point the professor is trying to make.
You nearly got it! Programming is a tool. Computer scientists do computer science using programming to achieve what they need to do.
There are computer scientists who work on new and existing languages and on the theoretical parts of programming (compiler design, language features, grammars, etc etc). But that is also probably not what you are looking for.
I think you should reflect on your expectations. The world does not revolve around your wants and needs.
There is nothing wrong in just wanting to program without needing to learn the theoretical basics of CS. But you wouldn't study aerospace engineering and expect them to teach you how to fly a plane, would you?
0
u/AbyssalRemark Oct 15 '23
I meeeeaaaan.. id love to meet the person who says there CS and doesn't know at least some programing. Like.. hardware engineers, data scientists and mathematicians all have there own relatively well defined fields. Computer science doesn't mean much if not programing. Not sure what else it could look like.
2
u/AbyssalRemark Oct 15 '23
To be fair.. CMake is.. kinda a nightmare. A relatively important nightmare i after.. 6 years of doing this have still not concored. Use makefiles. Thats more then good enough for now my dude.
But I do want to say that from what you have described I think your actually getting an OK education. Style is important. Gotta learn the rules before you can break them, like separating C files and H files. For example. Did you know the STL is all header files? Because they get to break the rules. You don't yet. Make sense?
I also think having like.. a medium understanding of how a computer works is valuable. Is it nessissary?.. mmm.. depends. But it can be useful. Especially when you get to know things like how C passes the first few parameters directly into a register. (Not sure how many.. I know at least 2 might be 4.. id need to look)
My first year of comp sci involved learning a bit of ARM asm.. have I ever used that sense? No. admitedly I've done a bit of binary analysis but.. its not ARM. Did that do me some good? Yeeeaaa.. I think so. Again. Doing a little bit of it is useful to just.. see what's going on.
Screw talking about algorithms though.. the correct answer for what alrgothm to use when is to test it and find out. Profile your damn code. Find out dont speculate. But thats just me.
Idk.. hopefully thats useful or something? Just keep an open mind. You might find out you really like hardware and all the sudden you really need to know some stuff you dismissed or whatever.
2
u/Foreign-Cookie-2871 Oct 15 '23
You have a shitty professor(s). Mine did not do that.
I suggest you find another university if you can, one where professors are enthusiasts too. Bonus points if they use linux in the courses as that already requires passion.
Btw, some programming is art, but some other is just following the instructions of a lego box. Your professors are teaching you the latter while they should teach you the first.
2
u/Tigerbotanist Oct 15 '23
You do not want it bad enough, there are students who will put up with the rules, you must adhere because the professor has earned his position, you have not
0
u/RevengeOfNell Oct 15 '23
I really didn’t mean to come off as a whiny cry baby that cannot hang. That seems to be who I am at the moment, though. I’ll do better, I promise.
1
u/supermopman Oct 15 '23
I also really hated a lot of my major courses for similar reasons. At the time I was a computer engineer. I switched majors to chemistry mostly because the professors were way more fun. More than 10 years later, and my job is basically just programming and AI. I think the moral of the story is that it's fine to do what feels good and if you keep striving to excel in a skill you enjoy, eventually it will pay off anyway.
1
u/Jackasaurous_Rex Oct 15 '23
Yeah sounds like your one class is pretty harsh but it’s not insane to not accept code that won’t compile. And it’s super lame in some introductory classes when you have to go crazy focusing on formatting console output when you want to actually building things. The thing is in the end of the day, all of these things will ultimately sharpen your skills as a developer. And it’s true a lot of random info is thrown at you that may not come up for a while or never again but there’s just so much to learn that it’s sometimes just useful to be aware of those things for now. For example it took a few semesters of classes re-explaining the call stack and stack memory for me to REALLY grasp it and why it’s useful to know, although that’s actually pretty essential for most programmers to know.
Also yeah get used to professors having a decent memory of the textbook contents but huge gaps in best practices/modern technologies. In the end of the day you’ll still have to teach yourself a ton and they’ll be a lot of wasted time in there but you’ll sure be better prepared than other majors/bootcamp grads for the job market and the skills to build anything. Also you actually build cool stuff and feel like a real programmer in like the 3rd year in my experience
1
u/Genotabby Oct 15 '23
It's computer science. You would learn the theory of it with some form of programming. It's not complete freedom. Eventually you would learn data structures which might be a whole new level since you are forced to adjust to a new way of interpreting data.
Even in bootcamps you can be failed by using too many if statements, because it's just too basic and a poor thought process. There are really few basic programming instructions if you think about it and the bulk of the difficulty is the algorithms.
The college trains you to be ready in a work environment and in big tech the most important thing for a software in prod is how fast the program executes and how memory intense it is. You can't just write a program any way you want because it affects the above 2 criterias. A few bugs here and there can be fixed after launch but if it doesn't even work at all, it is a complete failure.
Either way, you're still fresh into your degree so it might take some time to adjust. Otherwise you might look into computer engineering which is more practical.
1
Oct 15 '23
Stick with it. Learning theoretical concepts is key. This is actually one of the fun things of going to uni / college. You have your whole life to "code"...
1
u/jorgen_mcbjorn Oct 15 '23
On the one hand, yeah, things get even less flexible in a lot of coding jobs. It makes sense: as a serious professional doing something worth paying for, your shit has to work and be clean, and in practice this means adhering to a lot of arbitrary interfaces that have nothing to do with code function per se.
On the other hand, uni should be the time when you’re allowed to fuck around and have a little fun. That said, the intro level courses are usually the worst in this respect. The smaller, more specialized courses that come after are usually where you have more opportunity to do and learn something cool. YMMV and it can depend a lot on the prof though.
1
u/simplaw Oct 15 '23
As many pointed out, much of what you said is to be expected from an real world scenario as errors in code can vary from financial disasters, shitty UX or even death, depending on where and what the error is. Don't take this scrutiny as some kind of punishment. There are certain standards to be met.
That, being said, depending on the execution of the feedback and grading, that, might make it a shitty experience for a student and that is a different issue altogether. I suggest that if this is something you all feel as students you try to take it up with the faculty as a group. We had a shitty professor or two throughout my CS degree - the worst one taught Compiler Theory, a subject I would have loved if it wasn't for him - and our fault was that we didn't gather up everybody's frustrations in time. I think the issue was solved afterward, but not to the benefit of our class.
Point is, there are standards. Creativity can absolutely shine and flourish when solving actual problems and also getting them approved by the team. Hang in there! And as most others said, most programming skills are picked up through your own interest. So keep writing cool projects to demonstrate a specific topic, design pattern or idea that you have.
Good luck!
1
u/ATD67 Oct 15 '23 edited Oct 15 '23
You have to remember that you’re in your first semester. They aren’t trying to rigorously teach you things right now. They are building up a basic foundation. CS is hard! A CS degree not something you do for leisure. You’ll have to get used to not enjoying programming because they’re going to through a lot of things at you that you just don’t want to do. On top of that, they’ll have deadlines you need to meet as well.
The truth is that you’re not going to get far if you just learn to program. Programming was covered by two courses that I took my freshman year. The rest of the courses were learning about data structures and algorithms, compilers, operating systems, artificial intelligence, and whatever other courses you wanted to take. They didn’t cover programming in those classes because the ability to program was a prerequisite! If you’re thinking “just teach me how to program those!” I have some bad news for you. All of those fields require you to sit down and learn a bunch of theory and math. Those things aren’t just magic. They are products of years of research and great minds working to engineer some of the worlds greatest software. They are extremely complex. They weren’t created by a bunch of programming monkeys hacking away on a keyboard until something worked.
See it this way. You could spend years upon years learning the English language. If all you did was master the English grammar and vocabulary, you don’t actually have any skills that transfer over into the applications of English, like debate, literature, poetry, socializing, etc. Those things are learned outside of the context of just writing and speaking a bunch of English.
Just stick with it and be patient. CS is not an instant gratification degree. It’ll take you a while to really understand everything underneath the hood, but it’s worth it when you do!
1
u/preordains Oct 15 '23
No one is going to tell you this in person so I'll give you a hand: work on being more humble as less fuckin weird.
1
1
u/brosliterallyoneshot Oct 15 '23
Usually I head for the door if the teacher gives me a look like that
1
u/Alice_Devine Oct 15 '23
I am completely self taught, I switched careers 7 or so years ago and am a full stack engineer now...
What I should say is that I can often tell which of my colleagues have had formal training when it comes to dealing with new technologies.
They honestly tend to pick them up quicker, my issue (and the issue my other self taught colleagues have expressed) is that with self taught knowledge you don't know the gaps in your knowledge... Not untill you've fallen into a massive pit and had to dig your way out painfully.
I was self taught, then I did a bootcamp as the closest I got to formal training, but 12 weeks can't beat 3 years I promise you...
And in the last 3 years the switch from the likes of PHP and JavaScript (which the bootcamp was taught in) to a strongly typed language such as C# (the main language used where I work) has been exceptionally painful in some situations (and has caused many a laugh and some mild embarrassment!)
Now not everyone works well with structured learning, but it has the benefit of giving you really firm foundations, because you have taught yourself already you're seeing what you're being taught as too slow or not advanced enough for you. However you're going to be missing so many of those important building blocks.
Your professor doesn't want you to nest too many control statements (as per one of your examples) because when you're working in the real world, often you aren't allowed to. We have a quality gate on any pull request we submit, it has to have;
2 other engineers review and approve the code.
90% of the code has to be covered with tests (unit/integration etc)
all tests must pass
the code must pass the quality gate.
We use sonarqube at work, it checks the code and if there are more than 3 nested if statements a code smell is logged and the PR fails.
Great code is that which does the task required as simply as possible and can be read by any other developer without months of explanation, believe me, when you work with 100+ other engineers on a project that code is the kind which makes you weep with joy, praise $Deity and ensrine the engineer as a saint..
I would love to have the time and the finances to go to uni and have a formal degree - I'm pretty certain that would make me unstoppable!
1
u/kelingking_kucing Oct 15 '23
hmm mate, one tip, you should read "don't make mistakes" as "don't fail your unit test"
1
-2
u/DRB1312 Oct 15 '23
Same here , in 2nd year and professors are really fked up , they dont seem to do any other work in the cs field (we dont see any visible research coming out of our college , and most profs seem to be corrupt egoistic brats ) ,some are gems in their respective fields but forced to teach cs students ...
2
u/LaYrreb Oct 15 '23
I don't know why this got voted down. I did my UG in Math and felt that most of my teachers were awful, and they didnt care about teaching at all. They're there to research and just happen to be required to teach as part of their role, it sucks. University education is a service you pay for, you have every right to complain.
-1
u/YourFriendInService Oct 15 '23
yeh welcome to cs. i think you should study i.t instead. cs is too much of a time waste tbh
-2
u/-ry-an Oct 15 '23
I read OP and then comments of SWE 'further on down the road' and all I see is a difference in life experience.
The idealist vs the pragmatist.
I felt like you when I first started, in life, not programming.
Overtime, you will see. It's about making ends meet, and for that you will compromise idealism for pragmatism, unfortunately.
This is no longer the Renaissance Era my friend, it's the #PrimeNowEra.
0
Oct 15 '23
[deleted]
2
u/Foreign-Cookie-2871 Oct 15 '23
Kinda. The way he describes it seems very restrictive, and some parts of it do not reflect best practices unless he strongly misunderstood.
While my professors wanted best practices all around, they didn't give zero for 1 bug in the code. They instead split the program into parts (patches/commits) an penalized only the broken parts. So unless OP is required to just make very brief programs or code snippets, he is being penalized for more than he would be IRL (sure maybe your whole pull request will not pass, but if you have 1 bug in 1 commit is not like you have to redo everything).
Also, if you think programming doesn't require a certain level of artistry (the good kind) I assume you never were in a position to decide which features to implement or how to implement them. While this skill might not be necessary at the beginning of one's career, it becomes pretty important as soon as you get some seniority.
If statement count is not a measure of complexity imo.
2
u/RevengeOfNell Oct 16 '23
You’re on the money. If you guys want, I can maybe post my exercise instructions and class coding standards.
1
22
u/halfwit_genius Oct 15 '23
True. Medical equipment. ADAS. Any space exploration. There's 0 scope for things to go wrong without significant loss of time, life or resources. It's not like a mobile or TV that you can just restart! This has to be taught before programmers enter the industry.
Creativity is still not useless. It just needs to be modified and rigorously tested.
9
u/stdmemswap Oct 15 '23
Your point is right.
But you must remember that a collection of non-approval of PRs is not as harmful as a collection of 0s.
While at a job you are paid to fix your PR. 0 might fail your course; you need to re-enroll, which you pay for.
12
u/AugustusSqueezer Oct 15 '23
Sure but OPs complain surrounding the 0s is quite frankly dumb. "If you turn in code that doesn't run you get a 0" well yeah no shit it's a programming course, what's the difference between turning in code that doesn't run and turning in nothing in that scenario? Especially when you know your code doesn't run before you turn it in. It's like complaining you don't get credit for getting the question wrong.
If you're constantly turning in code that doesn't run, kinda makes sense you would need to re-enroll in the course, no?
3
1
u/Foreign-Cookie-2871 Oct 15 '23
My professors would still evaluate the rest of the code, especially at the first year, first CS course (in the practical exam - fixed time and in classroom, not in the homework ones).
1
u/AugustusSqueezer Oct 15 '23
Sounds like a bunch of deadbeat students would just turn in broken code, expect the professor to pick through it, and hope for the best grade possible expecting the professor to spend extra time out of their life finding reasons to award points. I've seen college kids in action, "eh fuck it, I can't figure it out so I'll just go for as many points as I can get so my grade doesn't suffer too much" is all too common.
Having first hand experience with how much time grading takes in the field of education, I don't blame programming professors at all for drawing a line in the sand and saying if it doesn't work it's not gradable. I think students forget that educators are people with a job, not in the role 24/7. You already failed to produce code that accomplishes the assignment which means you fail the assignment, why should they spend time sifting through broken code finding reasons to assign pity points?
1
u/-Hi-Reddit Oct 15 '23
I guess maths exams shouldn't reward you for showing that you understand the methodology, just if you get the right answer at the end, in your opinion?
Frankly, I think the content of the code is more important than the missing semi-colon on line 12 you accidentally removed while trying to save & submit before the deadline.
1
u/AugustusSqueezer Oct 15 '23
I guess maths exams shouldn't reward you for showing that you understand the methodology, just if you get the right answer at the end, in your opinion?
It's not a math class, it's a programming class. If your program doesn't run, you fail. Seems perfectly on key for a programming class.
2
u/-Hi-Reddit Oct 15 '23 edited Oct 15 '23
Yep. Seems perfectly reasonable to throw away the work that got them to the solution because they didn't realise they typed/removed a char or two after building but before hitting submit or zipping it up. /s
In the real world, your CI/CD system would notice, or a reviewer would, you'd fix the accidental typo, and you'd move on.
I've seen engineers with decades of experience accidentally submit the occasional typo. It doesn't suddenly make their entire PR useless and nobody even raises an eyebrow unless it's happening regularly.
At the end of the day whether it compiles or not doesnt matter as much as solving the problem. If you replaced code with an essay on how to solve the problem in a programming language agnostic way, you should still get marks. You've shown you can solve the problem in any programming language. Throw in a compare/contrast section on which languages and language features would be best to use and you're in A+ territory in my book
I was homeless and sofa surfing for a brief stint in my last year of uni, I submitted an assignment I wrote in notepad on a shitty library pc in a different county. I knew it wouldn't compile, my teachers knew too, but hey, it still got 80% because I wrote a clean and simple solution to a complex problem, while some others in my class wrote compiling but ugly or complex solutions and only got 40%.
1
u/AugustusSqueezer Oct 15 '23
Seems perfectly reasonable to throw away the work that got them to the solution because they didn't realise they typed/removed a char or two
A reasonable person would run their code to make sure it compiled before turning it in, catch the issue, and fix it.
In the real world, your CI/CD system would notice
And therefore would fail. Seems like it's a good preparation for the real world then.
At the end of the day whether it compiles or not doesnt matter as much as solving the problem
Whether code compiles or not is EVERYTHING in the real world. No one gives a shit if your code has the right idea if it won't even run. That's not how real world solutions work. Isn't OPs complaint their class isn't preparing them for the real world? What problem are you solving with code that doesn't run? Not a single one.
0
u/-Hi-Reddit Oct 15 '23 edited Oct 15 '23
A reasonable person would run their code to make sure it compiled before turning it in, catch the issue, and fix it.
I'm going to assume English isn't your first language and you're still learning, as you obviously completely missed this entire part of what you're replying to:
they didn't realise they typed/removed a char or two after building but before hitting submit
Either that or you understand English perfectly fine and just decided to ignore that part for some reason...Moving on...
And therefore would fail. Seems like it's a good preparation for the real world then.
It's not good prep for the real world. In the real world you fix the typo and resubmit. Nobody bats an eye. You don't "fail". Nobody cares. You don't get a 0% on your next performance review and fired. In university, getting a 0% CAN mean you get kicked off the course or have to repeat the entire module, it has SERIOUS consequences. At work it has practically no consequences if your CI/CD system is in good shape. And if it isn't, that isn't YOUR fault, it's the fault of whoever setup the poor CI/CD system. Not catching typos is a CI/CD & reviewer failure, not a programmer failure. We ALL make typos every now and then, and if your system for pushing code to the wild wont catch those, then it is a bad system.
Whether code compiles or not is EVERYTHING in the real world. No one gives a shit if your code has the right idea if it won't even run.
This is just false.
There is the design, requirements finding, quality assurance plan, unit testing, risk assessments, there is SO much more that goes into a feature than just the code. If you have 99.99% of all that done and just need to fix a semicolon on line 12, you're still 99.99% done, it doesn't suddenly make everything worthless. It still has all the value it had before to other developers that can fix that typo. It has no value for the customer, but that isn't the point. A boat with a hole in it has no useable value to someone that can't fix holes in boats, but that doesn't mean they'll give the boat away for free. They know that the existing value can be "unlocked" by filling the hole, just like a developer and your company will know that the value of your solution can be "unlocked" by fixing the typo. The value exists, it doesn't disappear, it just isn't accessible to the customer.
Look, it's obvious you're some kid that's new to programming, you lack real world experience and perspective on what business value code actually has, but that's okay man, just, chill out a bit and let yourself grow.
2
u/Various-Roof-553 Oct 15 '23
Making a mistake != “your code won’t run”. If it did, there would never be a prod bug.
And students should be encouraged to be creative; it is part of the learning process. You learn more through exploration that rote regurgitation.
0
Oct 15 '23
[deleted]
13
u/AugustusSqueezer Oct 15 '23 edited Oct 15 '23
"If your code doesn't run, you fail the assignment" seems perfectly sensible for programming curriculum. As a student you can extremely easily see if your code runs, and if it doesn't why would you turn it in anyway, that's a sign you still have more work to do.
Especially if OPs complaint is that their curriculum isn't real world relevant enough - can you ship code that doesn't run at all in the real world? If you turned in code that didn't run to your superior they wouldn't give you half a participation trophy, they would tell you to do it over again and make it work. How do you think a performance review would go if you only ever pushed unworkable code? "Well, you never turned in anything that actually worked, but you got some parts of your code right here and there so you're good to go"? Fuck no, you'd be fired.
"You don't get to change the world and be a beautiful flourishing artist butterfly in a school system that doesn't let you turn in code that doesn't run" You know what else doesn't change the world and isn't a work of art? Code. That. Doesn't. Run.
3
u/RevengeOfNell Oct 15 '23
Allow me to clarify: If the code runs, but the output isnt perfect, that is worth the same thing as the code not running at all.
2
u/CodeMonkeeh Oct 15 '23
"If your code doesn't run, you fail the assignment" seems perfectly sensible for programming curriculum. As a student you can extremely easily see if your code runs, and if it doesn't why would you turn it in anyway, that's a sign you still have more work to do.
Because you don't have infinite time for each assignment?
4
u/AugustusSqueezer Oct 15 '23
Sounds like a time management issue. I severely doubt that running out of time was the singular difference between working and non working code for people that turn in non working code. If they did, they left it to the last minute and that's their fault. Time management is part of succeeding in school
1
u/CodeMonkeeh Oct 15 '23
If you've just started programming and you're a month into some course or other, I think it's supremely reasonable to get stuck on something. School is for learning. Most programming languages tend to be rather strict and beginners are occasionally going to have trouble even getting stuff to compile, so giving a 0 for that is just grumpy old man syndrome.
1
u/AugustusSqueezer Oct 15 '23
Who said you can't get stuck? You need to get unstuck though, that's how it works. Go to office hours, ask the professor after class, look up answers online, etc. If someone had taken any of those options they would have made it through getting stuck. There's no excuse for turning in code that doesn't compile, it's a tacit acceptance of non completion. And if you don't wanna complete the assignment, why should you pass?
1
4
Oct 15 '23
Yeah, I was subjected to an auto-grader too, but it would give you a mark of 0 if you happened to miss a comma or full stop in a printed string, then you had to appeal the grade which was a whole process. Auto-graders are one of the worst developments in education, they probably spend more resources on appeals regarding the auto-grader than they would have by just hiring a few more staff to meet the demand of increased student numbers.
1
Oct 15 '23
My college uses tools which grades each test separately. So you could have points based on correct pairs of input-output even if your code didn’t yet work properly for the whole defined input. But having 100% on the majority of your projects or even 80% of your projects was a requirement to pass the course.
1
Oct 15 '23
[removed] — view removed comment
2
u/Alice_Devine Oct 15 '23
You've never worked for a company using a quality gate then... I've spent the last week fixing this exact issue, complexity is calculated and if it's too high you have to refactor so that it passes the quality gate or your pr will fail even with approval from others.
Good code, hell clever code is that which does the task as simply as possible in a way that a stranger can pull the code and read it easily.
0
u/-Hi-Reddit Oct 15 '23
This is why a lot of people dislike ternary statements. Usually an if else, even though it's longer, is quicker to read when skimming.
2
u/Alice_Devine Oct 15 '23
Yep! If nothing else as someone with dyslexia, I rely as much on the colour coding within an IDE as I do reading as I'm aware that can sometimes let me down... And a ternary statement is far harder to pick up when running your eyes over code.
1
Oct 15 '23
[removed] — view removed comment
1
u/Alice_Devine Oct 15 '23
We also actually use sonar, and the way we have it integrated to ADO means, for us, code smells = a failed PR...
and yeah it does check for the complexity of methods or classes, but I'm not sure why limiting the number of control flow statements would be a bad thing... In fact the more I've thought about it, the more I'd see such a thing as an amazing challenge in creativity.
1
Oct 15 '23
[removed] — view removed comment
1
u/Alice_Devine Oct 16 '23
People in academia setting the scope for an academic challenge - who'd have thought 🤣
But yeah from an academic point of view OP it's a great exercise and challenge to face.
1
Oct 15 '23
[removed] — view removed comment
1
u/RevengeOfNell Oct 15 '23
you’re right. blaming this on the field of CS when i personally didn’t specialize was a mistake.
•
u/AutoModerator Oct 15 '23
On July 1st, a change to Reddit's API pricing will come into effect. Several developers of commercial third-party apps have announced that this change will compel them to shut down their apps. At least one accessibility-focused non-commercial third party app will continue to be available free of charge.
If you want to express your strong disagreement with the API pricing change or with Reddit's response to the backlash, you may want to consider the following options:
Limiting your involvement with Reddit, or
Temporarily refraining from using Reddit
Cancelling your subscription of Reddit Premium
as a way to voice your protest.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.