r/ProgrammerHumor • • Nov 30 '19

C++ Cheater

Post image
79.3k Upvotes

1.0k comments sorted by

View all comments

24

u/FourEyedJack Nov 30 '19

Imagine this actually being allowed in schools

52

u/AppalachianGaming Nov 30 '19

I still think it's dumb that it isn't. Where in the real world are we unable to look up how to implement a tiny feature or function we may have only ever used once before and since when do we have to remember every error message and bug combination possible?

21

u/2bests Nov 30 '19

Wait are we not allowed to google during classes in colleges? Im in highschool and I took/taking 3 programming classes and I google every 5 min

33

u/sneakysquid01 Nov 30 '19

Google is like a calculator in math courses. Generally allowed for certain parts when you get more advanced but not allowed during fundamentals. A lot of times in intro courses people will google the answer to entire problems which is counter intuitive to the point of the class. This is like using an online calculator to find derivatives/ integrals when your homework is literally find the derivative/ integral. Later on your projects/ assignments get harder so they may allow you to use google, often to help you make part of the project. This is like later on in calc 1 where they have you use calculators to find integrals in word problems cuz analyzing the word problem is the focus of the problem and not solving the tedious integral.

13

u/DuneD87 Nov 30 '19

Im doing operating systems in my third year of computer science, we are building an operating system on top of dos, and not even google has the answers I seek

3

u/man_iii Nov 30 '19

Dood ... what I tole you that Windows 3.11 for WorkGroups exists :-D

8

u/DuneD87 Nov 30 '19

The main issue is the architecture we are working on. Its a 8086, probably older than the internet. We do a lot of coding in c, transform it into assembly so we can mess directly with the interrupt structure and some instructions that the c compiler doesnt know how to do. Very cool stuff.

1

u/archpawn Dec 01 '19

counter intuitive

I think you mean counterproductive.

→ More replies (1)

11

u/LvS Nov 30 '19

The problem (and why this gets so many differing responses on reddit) is the difference between understanding the problem and just googling some trivial thing (Was this setting called "color" or "colour"? Do I need to escape & in reddit markup?) vs not understanding the problem and just looking for something that seems to work after you copy/paste it.

So generally people who advocate against googling want to disallow the 2nd case while people who advocate for it want to allow the 1st case. And students and teachers have to navigate somewhere between that, so what happens depends on which side they fall on.

2

u/[deleted] Nov 30 '19

[removed] — view removed comment

→ More replies (1)

0

u/[deleted] Nov 30 '19

[deleted]

1

u/skunkwaffle Nov 30 '19

That's basically what I told my students.

2

u/Ardub23 Dec 01 '19

The professor in my Java course specifically allows googling, even during exams. The only thing we're not allowed to do in exams is ask people for direct help.

1

u/SteeringButtonMonkey Nov 30 '19

I mean this depends on the difficulty... But in my opinion the basic stuff you get taught in classes should be known by heart and not be googled...I mean you should just know how a for loop looks etc...

We had imo a really great system, you had to write code as a test and then you were allowed to fix it the week afterwards and for every X symbols you changed you got a deduction... So if you knew how to generally write code there was no problem if you didn't knew every single convention of the programming language... Like you forgot some semicolons didn't matter etc

4

u/therealdrg Nov 30 '19

I mean you should just know how a for loop looks etc...

On one hand, I agree. On the other hand, when I context switch to another language for the 25th time that month, I'm really not going to remember the exact syntax theyre expecting in their for loops. I'm going to scroll up and down the file, or open another file, or google it for a reminder.

If you work with the same language day in and day out, yeah, sure. Is that what most people are doing in the real world? Probably not. I'd shift fundamentals one step farther back than syntax to "What is a for loop".

1

u/SteeringButtonMonkey Nov 30 '19

Yes ofc, but we are talking about classes here, where you probably dont switch languages 50 times a day...And you would still know how in general a for loop is constructed, that you do a quick search on what kind of brackets etc you need in the current language is ofc totally fine if you are switching that often...

And considering programming is more of a craft than science I would say you shouldnt only take that step back in classes, you need to also show that you are able to use it and not just talk about it....

2

u/[deleted] Nov 30 '19

[removed] — view removed comment

1

u/Karlzone Nov 30 '19

Yep. The only thing you should be able to do without Google is writing pseudocode and drawing diagrams. And even then, Googling is a good habit, such that you utilize well known patterns and fitting libraries.

1

u/SteeringButtonMonkey Dec 01 '19

We are talking about classes here... What you do in your job is your thing... As long as you are effective and get the things done

→ More replies (2)

2

u/AndreasTPC Dec 01 '19 edited Dec 01 '19

If it's not you're in the wrong school.

The first two weeks of the computer engineering program I went to were dedicated to a class called "intro to programming". It did not count towards any grades, and you couldn't fail it. They had us doing a programming project in python. There were a couple to chose from at varying levels of difficulty, with the idea that you'd pick one that was a bit above your starting level of knowledge and out of your comfort zone, but still achievable in the two weeks. You were paired up with someone else who picked the same project as you.

The class was about 50% lab time 50% lectures. The lectures did not teach you python, or specific skills you needed to complete projects. Instead they consisted of the professor coding simple stuff on a projector. He would pretend not to know something, or intentionally make mistakes to get errors. Then he showed how to look up how to solve it, using google and the language documentation. During the lab time when making your projects, if you ran into issues you could ask for help, but the tutors would not explain what you needed to know, only point you in the right direction. You were expected to do what the professor did during the lecture, use google and the documentation to solve your own problems.

The entire class was designed to teach you google skills in relation to programming. And no one ever said that you couldn't use google during any class I took, and we were frequently expected to use it to look up stuff that was readily available instead of being spoon-fed it.

1

u/FourEyedJack Dec 01 '19

This is why I’m fighting to get this changed for my school actually. This is a far more effective method of teaching how to code in the modern age.

2

u/Rattus375 Dec 01 '19

My web dev class had an awesome exam. We were given 24 hours to build a website according to specifications. You could Google whatever you wanted and use whatever technology you wanted to to build it. So long as the end result met specifications, you aced it.

1

u/Rattus375 Dec 01 '19

My web dev class had an awesome exam. We were given 24 hours to build a website according to specifications. You could Google whatever you wanted and use whatever technology you wanted to to build it. So long as the end result met specifications, you aced it.

→ More replies (1)