[ 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: 990 KB, 1920x1082, 1430409839968.jpg [View same] [iqdb] [saucenao] [google]
7376755 No.7376755 [Reply] [Original]

>write program in python that can identify compounds that kill cancer in humans
>irregular style conventions
>runs in O(n^3)
>gets mocked and ridiculed by CS majors

>write a prime factorizer for the 20th time in haskell
>runs in O(n) time
>praise and adulation from CS majors

Programming should be a tool, not an end unto itself.

>> No.7376757

This faggot probably also thinks pure math is pointless.

>> No.7376759

>>7376755
fuck you and everyone else who writes shitty python code, literally the easiest language to not look like unreadable garbage.

>> No.7376786
File: 69 KB, 500x332, image.jpg [View same] [iqdb] [saucenao] [google]
7376786

>>7376759
>Python
>Not Caml

>> No.7376840

>>7376759
nah c# is the prettiest language

>> No.7376844

>>7376840
This. People talk shit about C# because hurr durr microsoft, but C# really is very elegant.

>> No.7376858

>>7376844
the hate doesn't even make sense either. .net is great

>> No.7376869

>>7376755
>write a prime factorizer for the 20th time in haskell
>runs in O(n) time

You do know that the Internet would go to shambles if someone managed to do that that? 20th time? What the fuck are you talking about?

>> No.7377980

>>7376869
>yfw matrix multiplication in O(n)

>> No.7377989

>>7377980
>yfw SAT can be solved in constant time

>> No.7378017

In my experience C++ is superior is most cases. Java is a more like a Duplo language but C# does combine the power C++ has, with the ease of Java in a nice .NET kind of way. Started with C# a few months ago, don't regret it one bit.

>> No.7378035

>not writing in C[++], Java, Perl or ASM
>being straight

Pick one.

>>7376786
>>7376840
>>7376844
>>7376858
Confirmed for never actually proceeding past newbie programming.

>>7376759
This. You >>7376755 are the cancer that should be cured.

>> No.7378315

>>7378035
>Java
dropped

>> No.7378362

>>7378315
Looking past the meme-y nature of Java hate, you really do have to include it in every list of major languages. It's enterprise through and through.

That being said, fuck Java.

>> No.7378402

>>7376755
>quotes "The Big Lebowski"
I know already that would hate you.

>> No.7378444
File: 22 KB, 631x367, if-this-was-any-more-stylized-it-would-be-the-actual-lego-programming-language.png [View same] [iqdb] [saucenao] [google]
7378444

>>7378017
>Java is a more like a Duplo language

No, LabVIEW and Simulink are more like Duplo languages. (pic related)

>> No.7378450
File: 193 KB, 800x533, 1300589775492.jpg [View same] [iqdb] [saucenao] [google]
7378450

>>7378444
Trips speak the truth

>> No.7379685
File: 150 KB, 500x333, 1415633428895.gif [View same] [iqdb] [saucenao] [google]
7379685

>>7378402
Have you even seen The Big Lebowski?

>> No.7379778

>>7379685
Yeah, unfortunately

>> No.7379801

>>7379778
It's not the movie's fault you have autism.

>> No.7379809

>>7379778
At what point in the movie did they say anything that even remotely resembles something in the OP?

>> No.7379855

Since when are cs and script kiddies allowed on /sci/. Dont they have a shitty engine to make for a game that will never be released?

>> No.7380792

>>7379855

>cs
>computer science
>computer /sci/ence

its in the fucking name faggot

>> No.7380799

>>7376755
>write program in python that can identify compounds that kill cancer in humans
>O(n^3)
Tell me, what is n?

>> No.7380964

>>7380799
You mean what is O(n^3)?
Basicly, it is the number of iteration an algorithm will make with n inputs

>> No.7380967

>>7380964
what's your measure of input

>> No.7380994

If you create a poorly made tool, and then show it to professional tool makers, they will mock it. It doesn't matter how important the job you're doing with it is.

You could save the world with a sword made of cardboard and a coat hanger but swordsmiths are still going to call your sword a piece of poorly made shit.

>> No.7381009

>>7380964
I'm pretty sure he meant "what is n?".
I was going to ask the same, it isn't that clear what' the input of "a program that can identify compounds that kill cancer in humans".

>> No.7381022
File: 19 KB, 500x500, 1431442052791.jpg [View same] [iqdb] [saucenao] [google]
7381022

>>7376755

>write epic post on sci
>get laughed at

>> No.7381049

>>7376755
>shit that never happened
besides everyone already knows bioinformaticians dont give a flying fuck about algorithmic efficiency

>> No.7381051

>>7381022
He chose an absolutely horrible example of what should have been an irrelevant CS problem. This mistake completely undermines his point.

>> No.7381131

>>7381051

epic as in complete shite

>> No.7382152
File: 1.11 MB, 4000x2250, bite the pillow.jpg [View same] [iqdb] [saucenao] [google]
7382152

>write fizzbuzz in brainfuck
>win a turing prize

>cure using an unexpertly written program
>ignored by CS community

>> No.7382173
File: 5 KB, 262x292, cs.png [View same] [iqdb] [saucenao] [google]
7382173

>>7376755
>>runs in O(n) time

top kek

>> No.7382403

>>7378362
I'm >>7378035
And you >>7378315
Really have to consider that Java is not hard, but a must, if you want to go into any enterprise type of shit, so why not just pick it up while doing other stuff?

Other than that. Yeah, fuck Java.

>> No.7382728

>>7376755
Hey, I'm a CS major and O(n^3) sounds just fine to me. It's still in polynomial time, and I bet it's appropriate for your input size.

>> No.7382736

Lots of Java hate here today.

I really like object oriented design, so Java is perfect for me. Yes it's tedious to use and not as fast as languages that are closer to the processor, but it always has what I want pre-written and easy for me to visualize.

I'm also a big fan of C when I need absolute power. I just so rarely need absolute power.

>> No.7382746

>>7376869
Depends on what <span class="math">n[/spoiler] means. If bit length yes. Otherwise no.

>> No.7382770

>>7376869
>prime factorizer that runes in O(n) time
>goes to Wikipedia prime numbers page
>takes 1st second to check first prime number
>takes 2nd second to check second prime number
>...
>takes nth second to check nth prime number

>> No.7382772

>>7382736
>Yes it's tedious to use and not as fast as languages that are closer to the processor

tired of this meme tbh

>> No.7382830

>>7376755
>CS majors

The majority of CS majors are a bunch of faggot future code monkeys jacking off over their favorite sorting algorithm (even though they just end up calling their language's standard library's sort function anyway). They regurgitate estimates for run times, and bitch and moan because they have to take one or two classes where they actually have to prove these.

Also, programming IS a tool. It's just that most schools are churning out code monkeys rather than computer scientists because it's what they industry wants.

Imagine studying in murica, and playing 4+ years of tuition just to get a programming job. I think things are going to change here with all the trade schools that teach you industry-relevant skills in half that time that keep popping up. Good ones will appear, and nobody will go through a 4 year degree just to become a programmer. Schools will go back to teaching CS to people who care more about CS than about "coding", and everybody will be happy.

>> No.7383156

>>7382772
I'm not even aware of the meme, I'm almost never on this board.

That being said, Java is run in a virtual machine that is simulated by your processor. The fact that it's a computer on a computer on a computer makes it not as fast.

Also, the print function is the definition of tedium, even though it is well designed for the consistency of the object oriented model.

>> No.7383161

>>7376755
>Lets spend 30 more hours an writing program so you can cut 30 minutes of a 9 hour optimization run!

I have better things to do, there's a reason we pay cheap programmers to do most shit for us.

>> No.7383215

>>7383156
>what is JIT compiling
are you running Java 1.2 or what?

>> No.7383322

>>7383215
Wouldn't Just in Time compiling make it even slower since it happens during runtime?

>> No.7383371

>>7382770
Lol

>> No.7385284

>>7378315
Java may be insecure and often retarded as fuck, but there's a reason it's ubiquitously used in massive coebases almost everywhere.

People who talk shit on OO and expect the entire world to build software in procedural C are delusional and probably unemployed.