>Object-oriented programming is eliminated entirely from the introductory curriculum, because it is both anti-modular and anti-parallel by its very nature. -CMU professor, upon realizing OOP is unsuitable for modern computer science
You don't as long as you're happy being a code monkey
John Jones
ok so working on nis. i have set my install to main server, but i see in the vids that people setup another host when they do this. so should i setup another host to handle client server interaction or will it be ok with my install being the master server?
Isaac Campbell
5th for Go
Austin Turner
I don't get the need for all the books on performance. Just add a simple caching layer and you are good 95% of the time.
Grayson Williams
if you're no good at math, you think you don't need it because you don't know what you're missing and how crippled you are
if you know math well, you can recognize the situations where you need to use specific math knowledge to come up with an elegant solution for a particular problem
Jason Flores
shig
Nathan Nelson
kys
Charles Campbell
What languages does android natively run. Is there a way I can compile java code to run on an android console?
Nathaniel Morales
C
Andrew Cox
>What languages does android natively run android has different java VMs, so it can run ARM code and java bytecode.
Cameron Jones
>tfw code monkeys try to convince me prolog is useless
Joseph Foster
what are you using prolog for
Carter Torres
I signed an NDA. That's why that question is so annoying.
Ayden Jackson
Control of effects through linearity, monads, etc. is better. Encapsulation to prevent the user meddling and leading to "invalid state" is BTFO by dependent types.
It's only useful for hiding implementation details and maintaining an ABI. In that case, just use PIMPL or a closure, you don't need a special public/private/whatever language feature.
Jackson Watson
so maybe it's useful for some le sekrit club stuff but it's probably not useful for general-purpose programming
kys sperg every language except c and java is a meme and only used by retarded trap fags
Parker Myers
...
Wyatt Parker
Was it a good impression?
Jeremiah Diaz
You don't. You need very very limited math. And if you need math it's because it's domain specific (if you're doing graphics you'd need the graphics related math).
William Walker
>every language except c is a meme Fix'd.
Jayden Gutierrez
>kys sperg >java
:^)
Nathaniel Jackson
>is eliminated entirely from the introductory curriculum >entirely
it's C++ and java, C is mostly irrelevant in this day and age, Ctards only like it because they're too stupid to understand OOP and use features that transcend fizzbuzz-tier babby programs
Dylan James
>what is embedded development
Easton White
I'm learning assembly and I bet I'll someday be better than you could ever be with your Java shit.
Jaxon Davis
You know, you can understand OOP and dislike it. Actually, I'd say liking OOP stems from a misunderstanding of how useless and harmful it is as a paradigm.
Eli Moore
...
Josiah Price
Question for those of you still studying: who do you bitch to about your grades when all your friends have worse ones that you do? I feel like every time I complain they just think I'm a prick because I had much more than them, but I need to talk about it to someone.
Josiah Walker
Bitch to /dpt/, but show us your tits first you pathetic little girl.
Caleb Robinson
Just smoke a joint man
No one cares about grades anyway
Dylan Cooper
What's your favorite paradigm?
Nolan Reyes
Procedural and pure functional. Imperative can be modeled in pure functional using linearity/monads.
Dominic Ortiz
I care about my grades to an unhealthy point. I didn't choose to be like this and I can't just turn it off.
Brody Allen
>Procedural and pure functional.
How did I know this would be your response? How did I know?
Lincoln Lopez
What's your point?
Juan Myers
...
Levi Wilson
C++
std::vector points_list; // ...
bool matrix = new bool[number_of_points];
for (size_t i = 0; i < points_list.size(); i++) { if ( is_point_in_list(points_list[i], global_list) ) { matrix[i] = true; } }
gives this error error: invalid types ‘bool[int]’ for array subscript
i can't use int because points_list.size() is a size_t
what do?
Logan Perez
>OSGTP >expecting an argument I'm sorry for you.
Tyler Bailey
cast to int or use a better language
Jace Howard
I'm trying to find a talk that was from some old guy at MIT (I think) where he basically gives a rundown of what computer science is, has been and should be and how the current aims in academia are far to short sighted.
I remember it being a very nice talk/lecture with tons of good ideas but I can't remember who it was.
Jack James
Functional and procedural fags are utterly full of themselves and hopelessly delusional.
Leo Ward
use size_t, you dumbass
Tyler Wilson
>assigning an array to a bool variable
Ayden Robinson
>bool matrix = new bool[]; That shouldn't compile.
Robert Long
...
Caleb Jenkins
>posting steban bobydeux
Not an argument
Josiah Peterson
>matrix translation values are M[3][0],M[3][1],M[3][2] >not M[0][3],M[1][3],M[2][3]
Fucking why do people do this?
Ayden Nguyen
I've never programmed before (besides some light bash and python scripting) and I'm going to try and force myself into Haskell.
Wish me luck, and I hope I don't hit a brick wall.
Ayden Robinson
It's an old af convention
Hunter Clark
this
Colton Lewis
Not him but I really like the Steban meme. Less pointless discussion where opinions pose as arguments.
Ian Morris
>use size_t, you dumbass what part of error: invalid types ‘bool[int]’ for array subscript you don't understand? >That shouldn't compile. you wot >assigning an array to a bool variable
what
Justin Kelly
Good luck user. What's your plan of attack btw?
Andrew Powell
bool[] matrix = new bool[number_of_points]; new bool[] returns an array, not a bool.
Jack Smith
you're just another brick in the wall.
Dylan Johnson
row major is best major
Carter Watson
new bool[number_of_points];
Returns a bool*. You're declaring a bool. Yet you're saying "error: invalid types ‘bool[int]’ for array subscript". As if the type mismatch wasn't an issue. Fix that first.
Angel Hughes
Use:
bool *matrix = new bool[number_of_points];
or
bool matrix[number_of_points];
or
std::vector matrix(number_of_points);
Christopher Walker
...
Anthony Anderson
>Not him but I really like the Steban meme.
I've come to like it, too, actually. It made me realize that very few statements are really arguments.
Instead of trying to use an array of bools, why don't you use an int array with 1s and 0s instead? It might be a bit more code, but it's less likely you'll fuck that up.
Isaiah Cook
Well.. You can index your array now. bool*[int] is ok.
Kevin Myers
if you have a translation vector at mno why wouldn't you store it contiguously in memory
Carson Bell
c++, java, even python now
Jordan Hughes
If Haskell is so good, why do Haskell programmers use git instead of something written in Haskell?
Luke Adams
Your question is retarded. Please go be retarded somewhere else.
Gabriel Moore
indeed, haskell is not good
Brandon Baker
He should be using an int for every 32 slots in the array. Just unsigned int* boolReplacement=new unsigned int[(numberofBools/33)+1]; for(int i=0;i
Jordan Rodriguez
I have no experience with Haskell, nor do I give a shit about Haskell, but your question is still retarded. You're fishing for an argument which makes you part of the problem of these threads.
So again:
Matthew Gonzalez
Should have used sizeof and not assumed int is 4 bytes. Also missed the i++. Clumsy me.
Wyatt Rodriguez
If Python is so good, why do Python programmers use libraries written in C?
If Python is so good for prototyping, why do Python programmers go out of their way to use 3rd party libraries, rather than writing stuff themselves?
Levi Sanchez
because bool is 1 byte and int 4 bytes. so , less memory consumption
i don't want to optimize that bad. thanks tho
David Rivera
does gcc 5+ default to c99? since when?
Colton Thomas
You can store 32 bools in 1 int
Lincoln Garcia
These are good questions. The only thing I use python for is scripting because I'm on windows frequently and batch sucks ass.
Seems a bit arbitrary to just be 4x as good when you could be 32x as good. But whatever. Do what you like. It's not like the performance of this code matters right? Nobody would write it like that if they cared lol.
Elijah Flores
>If Python is so good for prototyping >why do Python programmers go out of their way to use 3rd party libraries, rather than writing stuff themselves? because that's exactly what makes it so good for prototyping
Jason Lewis
>Seems a bit arbitrary to just be 4x as good when you could be 32x as good. >But whatever. Do what you like. It's not like the performance of this code matters right? Nobody would write it like that if they cared lol.
yeah it doesn't matter. it's just a simple graph problem
Adrian Ortiz
thanks
Eli Collins
>it's good because someone's already done the work for me, fuck optimising or coming up with solutions better suited to _my_ code This is why everyone hates Python kids.
Evan James
...
Cooper Turner
self.kill = True
Landon Scott
>You can store 32 bools in 1 int
>you can store 1 byte in 1 bit
Christian Miller
It's made me come to realize that arguments do not actually exist
Isaac Murphy
a bool only stores 1 bit of information
Alexander Cook
>He fell for the functional programming meme
There doesn't exist an optimal programming methodology for all problems, Boris. OOP won't die off.
Nathaniel Lewis
wat
Ryder Rivera
>the operator . is not defined
Carson Wilson
Well. That's the Stephan 'philosophy'. Disagreements exist. Arguments are just a sophist word for disagreement. Given perfect information we'd have all the answers through philosophy. But we don't have that.
Stephan is rather dishonest in all this because he's making major leaps just like everyone else. Except he's taking smaller leaps than most.
Xavier Mitchell
>Given perfect information we'd have all the answers through philosophy. 1) Not necessarily 2) Wouldn't perfect information already include the answers?
3) Pretty poor philosophy on your part.
Nathan Scott
I mean, I was having a giggle, but we could roll with that too