[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

>Intro to program class >It's racket (functional programming

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 27
Thread images: 1

File: raw.gif (2MB, 200x200px) Image search: [Google]
raw.gif
2MB, 200x200px
>Intro to program class
>It's racket (functional programming class)
>show my code to my teacher
>IT's basically procedural code using global variables and shit
>He tells me I shouldn't use variables in FP
>Ask him how should I code without variables
>he tells me to use function returns
>Ask him if that doesn't have bad performance
>he tells me yeah, but that's the point of FP
>mfw
>>
hasklel
>>
>>59517360
so your professor tries to show you some concepts and you are to retarded to get the point of it ?
since it's only your second semester you can still drop out, because you are only wasting your and the universities resources
>>
>>59517409
I have several years programming in OOP languages, so It was natural for me to think in "java/C# terms"

plus is just the first semester.
>>
>>59517360

But racket ( and lisps in general) is not a functional programming language.
>>
>>59517444
what the fuck is lisp then?
>>
>>59517427
>first semester
i hate it when universities do their intro to programming classes in fp languages. there should be a class dedicated to functional programming because otherwise retards will only get confused
>>
>>59517455
I got told it was to weed out the java kids who entered the college thinking they're hot shit.
>>
>>59517470
>weed out
Uh, what? That is the first time I have heard of a CS program wanting to get rid of people, usually they'll go for easier and easier languages and gimp exams just to not lose people because their department looks so shitty otherwise.
>>
>>59517470
isn't retards and java kids synonymous ?
you got a point there, but FP is too much for people who never programmed in their whole life as well.
>>
Sufficiently clever compiler.
Tail-recursion.
Etc.
>>
>>59517497
they don't want to get rid of people, It was a joke bro.

>>59517502
I dunno, I got told it was because the students already came thinking they knew how to code because they can code with OOP languages.
>>
>>59517497
nah, we try to weed then out in our intro to programming class as well, ours is in java though. we have a drop out / fail rate of ~70%
>>
>>59517528
lol, my first uni had a java oop intro course. It was so shit i didnt bother with and switched universities. It didnt "weed out" me, just made me realise my initial unis cs department was shit house
>>
>>59517360
>It's racket
I dropped out and went to a better uni because of that shit
>>
>>59517360
Are you that tard that keeps shitting up the /dpt/ with stupid racket homework?
>>
>>59517455
>>59517497
>>59517518
Fun fact: they are doing this for real in some Unis in Germany because they get money for every new student
>>
>>59517580
>>59517598
>>59517528
It's a good uni (I'm OP).

We got calculus I (which i canceled because I can't remember shit about math, going to retake it next semester) and some introductions.

My college follows the european and american CS classes.

Actually, they told us is basically CS but they can't legaly put CS because the degree is known as software engineering in my country.

>>59517629
kek
yup.
>>
>>59517580
most universities do their intro classes in java.
but our students really fail or drop out after they failed their first assingments / exams
>>
>>59517668
Well then I hope you learned how to format your Lisp by now.
>>
>intro to programming
>it's python
>high failure rate anyways
>>
>>59517785
well, python is the worst language for a beginner, so you could consider the dropouts lucky.
>>
>>59517785
Python is shit.
>>
shit like this makes me glad my 100 level class was C written with vim and gedit in linux. but that is just one benefit of going to a school that gets money from the nsa
>>
i love racket. so much fun.
>>
My introduction language in the university was Pascal.
>>
>>59517633
>be in german uni
>so many people in CS the stairs and even the space behind the actual lecturer is completly crowded
>first programming class is haskell
>70% dropout rate
Thread posts: 27
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.