|
Shaggar posted:well thats also true. you should use java and you should never implement your own sort. in one class i had to write merge sort in scheme
|
# ? Jul 8, 2014 16:04 |
|
|
# ? May 16, 2024 18:55 |
|
i have the algos book and a big rear end java book and i gotta read more of both, but seriously gently caress that class
|
# ? Jul 8, 2014 16:07 |
|
yeah thats a lovely way to teach it. if its a common algorithm like quicksort or mergesort they should give you the code and let you step through it to observe the changes it makes. The point of the exercise is to examine what the algorithm is doing and if you tell people to also write the algorithm they will either learn nothing because they wrote a broken version or they'll just copy an existing implementation anyways.
|
# ? Jul 8, 2014 16:11 |
|
Shaggar posted:just copy an existing implementation anyways. pls dont reveal the secret of my college career
|
# ? Jul 8, 2014 16:18 |
|
Shaggar posted:yeah thats a lovely way to teach it. if its a common algorithm like quicksort or mergesort they should give you the code and let you step through it to observe the changes it makes. i am just bitching since the class does reflect this model, i suck at many things at once, and have learned to never start learning multiple things at the same time, which in this case is both java and algorithms.
|
# ? Jul 8, 2014 16:20 |
|
java is probably the best lang to learn you some algorithms n' data structures because collections is pretty good.
|
# ? Jul 8, 2014 16:24 |
|
Shaggar posted:java is probably the best lang to learn you some algorithms n' data structures because collections is pretty good. yes but the complete opposite if you make anyone learn anything conceptual with java, they already dont know what they are doing, then they end up on the oracle documentation website, and they will probably quit cs right then and there
|
# ? Jul 8, 2014 16:28 |
|
Shaggar posted:java is probably the best lang to learn you some algorithms n' data structures because collections is pretty good.
|
# ? Jul 8, 2014 16:31 |
|
Shaggar posted:well thats also true. you should use java and you should never implement your own sort. what if youre working on the java std library
|
# ? Jul 8, 2014 16:57 |
|
MeramJert posted:what if youre working on the java std library a bachelor's in CS isn't near enough preparation to work on java collections
|
# ? Jul 8, 2014 17:02 |
|
I really like Steven Skienna's book for algos and data structures
|
# ? Jul 8, 2014 17:18 |
|
MononcQc posted:I really like Steven Skienna's book for algos and data structures everyone recommended the MIT one, which is surprisingly easy to read, but is gigantic, so i got that one i also just found that ocw site and will probably make an attempt at that instead of the coursera/princeton one
|
# ? Jul 8, 2014 17:44 |
|
Shaggar posted:java is probably the best lang to learn you some algorithms n' data structures because collections is pretty good. http://www.youtube.com/watch?v=QMV45tHCYNI https://www.youtube.com/watch?v=QMV45tHCYNI
|
# ? Jul 8, 2014 18:06 |
|
Soricidus posted:it's not bad. I'm still not convinced they made the right call having things like Map.get() accept any object instead of typechecking it tho, p sure I've seen more bugs introduced that way than code that relies on equality between objects of different types yeah thats probably a pre generics backwards compat thing. Its dumb but I've never been tripped up by it before.
|
# ? Jul 8, 2014 18:18 |
|
Share Bear posted:everyone recommended the MIT one, which is surprisingly easy to read, but is gigantic, so i got that one CLRS owns but wouldn't be my first choice if I had to learn this all again
|
# ? Jul 8, 2014 18:23 |
|
we learned data structures in C which was a good choice because why abstract the computery poo poo when you're literally swapping around addresses
|
# ? Jul 8, 2014 18:30 |
|
Yeah the data structures and algorithms course I just had was in C++ and it was pretty good
|
# ? Jul 8, 2014 18:31 |
|
inb4 asm with only the most basicest instruction set allowed
|
# ? Jul 8, 2014 18:32 |
|
I helped a coworker with his data structures assignments a few weeks ago. It was taught using Java and drat near everything he did would leak memory like a sieve in a non-GC language. Seemed like a stupid way to teach data structures but whatever
|
# ? Jul 8, 2014 18:34 |
|
everything java would leak memory like a sieve because of it being impossible to call free()
|
# ? Jul 8, 2014 18:36 |
|
I guess I'm having difficulty describing how loving terrible his code was and I'll just leave it at that Glad his job doesn't require any programming because he loving sucks at it
|
# ? Jul 8, 2014 18:39 |
|
i just assume deep copying everywhere
|
# ? Jul 8, 2014 18:40 |
|
teaching DS in C++ is a good secondary C++ class too because it easily demonstrates the purpose of poo poo like copy constructors, overloaded assignment operators, RAII design, newer stuff like move semantics and smart pointers, and more stuff in the standard library -- all topics that an intro course probably wouldn't have time for but are critical to being competent at modern C++
Star War Sex Parrot fucked around with this message at 18:47 on Jul 8, 2014 |
# ? Jul 8, 2014 18:43 |
|
My algs and data structure lecturer from last year is well known in the field I think, and taught us using Java. His name is Patrick Prosser
|
# ? Jul 8, 2014 19:05 |
|
i've been coding in c# so long that i have completely forgotten how to manage memory guess i need to learn to manage my memory about memory management
|
# ? Jul 8, 2014 19:27 |
|
MononcQc posted:I really like Steven Skienna's book for algos and data structures pretend i emptyquoted this over and over for a page or three cormen et al is good for a lot of things, but "thinking about algorithms" isn't one of them
|
# ? Jul 8, 2014 19:42 |
|
ps if you're a cs major and not making heavy use of library genesis to at least preview texts, you done hosed up or you're super rich in which case bully for you
|
# ? Jul 8, 2014 19:44 |
|
re: exploring algorithms, and more generally building a visualization of a thing is a great way to try and understand it
|
# ? Jul 8, 2014 19:46 |
|
coffeetable posted:ps if you're a cs major and not making heavy use of library genesis to at least preview texts, you done hosed up im not im a script janitor and i purchase books legitimately when i need them the other links are cool and ill check them soon, i am envious of that visualization guy, where'd he get started, how did he learn this etc
|
# ? Jul 8, 2014 22:10 |
|
Share Bear posted:i am just bitching since the class does reflect this model, i suck at many things at once, and have learned to never start learning multiple things at the same time, which in this case is both java and algorithms. same it's a hard course on algorithms so trying to learn java at the same time was doomed for me. I'll try again next time, till then I'll try to get more familiar with java at my own pace and keep doing the machine learning and hardware software interface. comparatively those two other courses are being hella easy, I tried hsi before and C was so baffling to me. now I'm breezing it. it's fun to notice that I'm getting better at programming trivial poo poo.
|
# ? Jul 8, 2014 23:08 |
|
Shaggar posted:data structures and algorithms are the most important things they'll teach you in a comp sci program. the most important class is 'how to look at 20,000 lines of entirely undocumented code and figure out what it does' and it's taught implicitly by every professor being very bad at programming
|
# ? Jul 8, 2014 23:14 |
|
Share Bear posted:im not im a script janitor and i purchase books legitimately when i need them stanford, pat hanrahan + co dude literally wrote one of the best vis things (D3) and works at a place with tons of interesting datasets (interestint != big, usually) the nyt company all them cool datavis? bostock
|
# ? Jul 9, 2014 00:00 |
|
hm now the vis group is at uw... interesitng...
|
# ? Jul 9, 2014 00:03 |
|
Cold on a Cob posted:i've been coding in c# so long that i have completely forgotten how to manage memory raii and manual memory management were garbage, collected by your now-more-efficient brain
|
# ? Jul 9, 2014 00:24 |
|
Notorious b.s.d. posted:the hardest skills to develop pertain to professionalism itself. learning to keep cool under pressure. being a "team player." writing clear and concise documentation. hitting the right notes in a memo to management. Notorious b.s.d. posted:i have found it's much easier to work with nice people who aren't all that bright than to work with sharp guys with toxic personalities Notorious b.s.d. posted:see also: every "big data" project, ever, anywhere im the 'professional' who is literally smarter than everyone else
|
# ? Jul 9, 2014 02:01 |
|
syntaxrigger posted:im the 'professional' who is literally smarter than everyone else idgi
|
# ? Jul 9, 2014 04:55 |
|
Symbolic Butt posted:same the machine learning class was also really neat and v applicable when you have any sort of good linear algebra library available
|
# ? Jul 9, 2014 21:15 |
|
hitting the right notes in a memo to management
|
# ? Jul 10, 2014 00:21 |
|
BONGHITZ posted:hitting the right notes in a memo to management try the brown note
|
# ? Jul 10, 2014 00:22 |
|
|
# ? May 16, 2024 18:55 |
|
learn algos in python you'll hate life a lil less i cast smoke grenade POOF
|
# ? Jul 10, 2014 21:13 |