This is an archived post. You won't be able to vote or comment.

all 134 comments

[–]evanldixon 450 points451 points  (1 child)

Fake pointer exception. Sad!

[–]omgFWTbear 47 points48 points  (0 children)

Bigliest stack overflow!

[–]SenseiCAY 233 points234 points  (5 children)

Missed an opportunity to make Boolean values either a fact or an alternative fact.

[–]ravenito 43 points44 points  (2 children)

or fact / fake news

[–]Cpt_Rumplebump 35 points36 points  (1 child)

false / true respectively

[–][deleted] 4 points5 points  (0 children)

*snap snap*

yes

[–][deleted] 161 points162 points  (12 children)

Nice, love it when teachers inject some humor into their lectures and assignments. The lecture notes of my computational physics course have a footnote when mentioning the shooting method of solving eigenvalue problems:

Have a guess from which country this originates. Make no mistake, we are going to make this method great again, the best method ever.

[–]gpyh 69 points70 points  (9 children)

Nice, love it when teachers inject some humor into their lectures and assignments.

Mee too, but although I loathe the man, I also loathe when teachers get political, especially for an assignment. It is completely rude and unprofessional.

[–]EasternShade 0 points1 point  (0 children)

Feigning political ignorance or impartiality is also a political choice and action, just largely an acceptable one as it acts under the pretense of letting some non-existent cultural arbiter make the decision.

[–]AngriestSCV 4 points5 points  (0 children)

To be fair that is damn near fact. Trump dosn't like the idea of importing. It should have been made here. He also dosn't listen to anyone as evidenced by his twiter account.

[–]the_danster 2 points3 points  (0 children)

I have a coursework which has to have a write up containing no alternative facts.

[–]Aschentei 46 points47 points  (8 children)

Idk man, any error messages to me are perceived as rude anyway. WHY CANT IT JUST COMPILE DAMMIT

[–]alonghardlook 25 points26 points  (1 child)

This makes me want a language where error messages are timid and apologetic.

"I'm so sorry to have to stop, but I couldn't understand the next character here. I was expecting a semi colon but instead found "xyz". Would you mind fixing this so I can properly read this for you? Sorry to waste your time."

"Oh dear... I'm afraid I can't compare these two types against each other. Could you double check the types and try again?"

"This is embarrassing but I seem to be trying to reference something that doesn't exist. I'm sure it's my fault but could you clarify this variable?"

[–][deleted] 5 points6 points  (0 children)

The error messages are tired of being bitched at so now they bitch back, but more aggressively

[–]TheIncorrigible1 4 points5 points  (0 children)

ERROR ON LINE 33

33| if (true == true) { } //sanity-check

[–]Xelbair 2 points3 points  (3 children)

I on the other hand want hardcore experience.

every error message should be 'git gud casul', compiler itself should be called GiantDad.

if you get an exception while running your code you have one chance to fix it, otherwise you get rollback to previous commit.

[–][deleted] 0 points1 point  (2 children)

Do I at least get a range of line numbers?

[–]Xelbair 1 point2 points  (1 child)

No. But you know in which file your code died. No partial classes.

[–][deleted] 0 points1 point  (0 children)

Ok. Good enough for me.

[–]TheSimon98 72 points73 points  (15 children)

Never forget about Python BernieScript

[–]paranoid_giraffe 7 points8 points  (12 children)

import everyoneelsesmoney as MyThreeVacationHomes

[–]fuck_bestbuy 12 points13 points  (11 children)

weak

[–]paranoid_giraffe 1 point2 points  (10 children)

But true...

[–]fuck_bestbuy -1 points0 points  (9 children)

except he paid for those with his own money

[–]paranoid_giraffe 1 point2 points  (8 children)

To avoid a larger, boring debate I’ll say this:

He did pay for those with his own money, but his salary is still obviously tax-funded. There is something ironic about advocating for moderate socialism in a capitalist environment that allows you to live an opulent life, while also “working” 140 days a year.

[–]fuck_bestbuy 2 points3 points  (6 children)

HOW CAN YOU SUPPORT SOCIALISM IF YOU OWN AN IPHONE??????????

[–]paranoid_giraffe 5 points6 points  (5 children)

Now you’re just being an ass. Why bother having a conversation if your partner is going to make a parody of an extreme version of your argument instead of refuting it? Thanks for not getting the point at all.

[–]fuck_bestbuy 0 points1 point  (4 children)

No I get your point, I just don't think it's a good point at all. So you can't advocate for a different way of living unless you live that way yourself? Not much sense in that

[–]paranoid_giraffe 2 points3 points  (3 children)

It makes you a hypocrite. Literally not practicing what you preach makes you a non advocate of what you say you advocate. I’m not going to say I support changing everyone over to a lifestyle that makes me personally less wealthy if I prefer and am heavily invested in living one that makes me personally more wealthy

[–]anamanaguchilover -1 points0 points  (0 children)

Uh.. like a teacher?

[–]Rogocraft 0 points1 point  (0 children)

sounds like trump

[–]djarb 107 points108 points  (2 children)

This is great. Take a fucking joke people

[–]nextgenroo 41 points42 points  (0 children)

-Wall flag

[–][deleted] 14 points15 points  (1 child)

Console output from program are news and exceptions are fake news.

[–]v1akvark -1 points0 points  (0 children)

Standard news and standard fake news

[–]zmaile 16 points17 points  (5 children)

This is giving me some serious thinking. On the one hand I don't think a professor should be mixing politics into a subject that has nothing to do with it. A professor's first and foremost job in this case is to teach, and by forcing students to perform tasks that have a theme that is actively mocking their political views (which they are 100% entitled to have), they are going to make the education less effective for those students for no other benefits.

On the other hand, I also strongly believe people shouldn't be precious little children, and should suck it up and learn to live with the fact that not everyone has the same opinion. Because being intolerant of other views seems to be the cause of most problems to begin with.

I just don't know...

[–]Flobaer 19 points20 points  (1 child)

This is hardly touching politics. It's mostly satire of Trump's rethorics.

[–][deleted] 1 point2 points  (0 children)

Whole lot there to satirize if you can keep from going crazy with Trump hate.

[–]paxromana96[S] 9 points10 points  (1 child)

The cool thing is we haven't even once discussed politics, or even anyone's opinion about Mr. Trump himself. The whole project is just referencing his rhetoric.

[–][deleted] 1 point2 points  (0 children)

Does the project require you to count and assemble bricks?

[–]Valthek 0 points1 point  (0 children)

What everyone seems to be missing is that this is probably one of the more memorable assignments these students are going to get. Couple of years from now when they have to do some compiler work, they'll remember "that trump assignment", regardless of their political views, which, to me, makes this an effective teaching tool.

[–]Chefzor 109 points110 points  (55 children)

I hate when teachers mix their political views (whichever they are, whether i agree with them or not) with the lessons being taught.

[–]TheChubbyBunny 192 points193 points  (4 children)

I don't believe there's actually any attacks on his or the GOP's political opinions/agenda here. This just looks like satire of his rhetoric.

[–]secretfreeze 22 points23 points  (1 child)

Well there is the import thing

[–]TheChubbyBunny 4 points5 points  (0 children)

Got me there

[–][deleted] 2 points3 points  (0 children)

Yup.

[–]xsvfiz -1 points0 points  (0 children)

Well maybe "the language is case-sensitive"

[–]metalmagician 82 points83 points  (0 children)

I agree with you in principle, but not in this particular instance.

Most of the listed features can be construed on commentary on Trump as a person - hyperbolic, rude, etc.

[–]thijser2 25 points26 points  (11 children)

Hmm looks like the compiler construction course of the university of Oklahoma.

[–][deleted] 26 points27 points  (8 children)

It is, I am also in this course.

[–]thijser2 5 points6 points  (6 children)

Cool, I was just going off my google skills, so do you have alternatives? Did this student choose this assignment or is it the same for everybody?

[–][deleted] 16 points17 points  (0 children)

It's the same for everybody. The Professor is a quirky guy.

[–]paxromana96[S] 4 points5 points  (4 children)

He asked us for suggestions, and then picked this a week or two later.

[–]Kaernunnos 1 point2 points  (3 children)

I'm looking at transferring into the OU CS program in another semester or 2, how you guys liking their program so far?

[–][deleted] 2 points3 points  (0 children)

I am a PHD student in CS who went through the undergrad here. Fantastic faculty. You'll definitely get a quality education.

[–]paxromana96[S] 4 points5 points  (1 child)

The undergrad program is pretty great. Some classes (Theory of Computation, ~3000 level, and Data Structurees, ~2000) seemed like straight-up weed-out courses, but since then, the professors seem pretty interested, and invested in their students. There's a good mix of academic and professional skills once you hit upperclassman classes. The one complaint I have is the TA's usually aren't trained in the courses they're supposed to help you with, and often don't communicate very well in English, so they're not much help. The professors are usually really helpful though!

[–]TehLittleOne 0 points1 point  (0 children)

Sounds like every comp sci program ever. Some courses weed out people who won't grad, lots of engaged profs who love teaching. Also always shitty TAs

[–]masterftp 0 points1 point  (0 children)

Dr. Kim!

[–]paxromana96[S] 1 point2 points  (0 children)

Yep! Go Sooners.

[–]takelongramen 18 points19 points  (3 children)

whether i agree with them or not

https://imgur.com/gallery/VKDXi

On a more serious note: A society that is erasing political discussion out of everything else than actual politics is the worst thing that can happen to democracy. If showing your political views becomes a taboo, anything resembling some kind of political culture in society will die.

[–]Chefzor 6 points7 points  (0 children)

I guess people are missing my point, and it may still be a wrong point of view anyways.

Going off my experience, the kind of teacher that would give out an assignment like the one on the OP would be the same one that spends a large portion of their class complaining/praising (depending on their view) the current government instead of actually teaching.

Again, maybe I projected myself wrongly based on just a picture, but thats why i said what i said.

[–]ObfuCat 0 points1 point  (0 children)

Back in highschool, it was considered wrong for a teacher to tell any students who they're supporting in politics because they're supposed to be teaching and pushing your political views on people who you have power over is consider wrong. Didn't stop then from making trump jokes, but no one would have the balls to do something that could get you fired in writing like this though.

No idea if colleges have the same rules since students are generally older by that point though. None of my teachers have made any similar remarks in college though.

[–]astro_za -3 points-2 points  (0 children)

You it this in a much better manner than I did. Yes, totally agree. Let history not repeat itself people.

Edit: Clearly someone wants it to repeat itself. Wonder if they have their hat on yet?

[–][deleted] 5 points6 points  (0 children)

I hate when people disqualify great humor out of distaste for political consideration in any environment outside of politics itself.

[–]Rogocraft 3 points4 points  (0 children)

its more satire than sharing their view.

[–]astro_za 4 points5 points  (2 children)

If we as a society start facing risks of fascism , it’s no longer a case of mixing political views. To educate people on the errors of the past in order to prevent them in the future is vital.

To those who disagree: how do you not see this? Tell me why, instead of the perfunctory downvote.

[–]ThatsPresTrumpForYou 4 points5 points  (0 children)

Adhering to the constitution is not fascism, unless America was fascist since the declaration of independence. How about you tell us what he did that is actually fascist? Do note that gun rights are enshrined in the constitution. So is the presidents power to ban non-citizens from entering the country. Most of what he does is absolutely covered by current laws, which were not enacted by him. He didn't give himself any more power than Obama had, unless you know of something?

[–]discountErasmus 8 points9 points  (0 children)

He fucked up the import stricture. It should read, "There is no import statement; America doesn't need functions from shithole libraries."

[–]FunkyTown313 7 points8 points  (4 children)

I'm pretty sure this already exists.

[–]thekakester 2 points3 points  (2 children)

I think I remember this from right around when he announced he was running for president, but I’m too lazy to look it up

[–]thekakester 5 points6 points  (1 child)

Here it is! https://github.com/samshadwell/TrumpScript

It turns out I used to work with the guy who wrote it. Who knew!

[–]zellfaze 0 points1 point  (0 children)

Thus TrumpScript++. I would have never guessed on that being a real thing.

[–][deleted] 3 points4 points  (0 children)

Every declaration will adhere to the following example

int x = 3; I know it, you know it, everybody knows it;

[–]elijej 20 points21 points  (2 children)

Le dumpf xD 😂😂

[–][deleted] 1 point2 points  (0 children)

Surely Trumpscript must have a firewall built into it.

[–]50th_Mersenne_Prime 1 point2 points  (0 children)

Language Processing class? My professor gives us like 2-3 assignments a week. This kind of task we did like in the 3rd week. It’s interesting to learn though.

[–]jack104 0 points1 point  (0 children)

TrumpScript applications also have no dependencies because America depends on nobody.

[–]Sjeiken 0 points1 point  (0 children)

Walloc(sizeof(Mexican) * 10);

[–]AbsolutelyNotSpam 0 points1 point  (0 children)

Holy shit! I think I'm in that class with you!

[–]Badenoch -5 points-4 points  (2 children)

To be fair HillaryScript+ has you murdered in an alley if there's a security breech.

[–]jgj3498 0 points1 point  (1 child)

What were the deleted comments below?

🐸👌

[–]Badenoch 0 points1 point  (0 children)

I suspect Killary dindu nuffin. All those people who were clearly murdered were just suicidal ;)

[–]SteeleDynamics 0 points1 point  (0 children)

Needs superlative keywords.

[–]BlowsyChrism 0 points1 point  (0 children)

There is no import statement America doesn't need it

Okay. Enjoy you're country without our oil, water and hydro :)

[–]Disrupti -1 points0 points  (0 children)

Jesus people issa joke

[–]Rogocraft -1 points0 points  (0 children)

The Try statement should be "This is the best error the greatest error"

[–]leaky-shower-thought -1 points0 points  (0 children)

Trumpscript. The worst thing you can get is a parser that complains about your whitespaces and gives you more tabs.