|
coffeetable posted:"all p langs are bad" isnt equivalent to "all things that aren't p langs are good"
|
# ? Apr 14, 2014 15:05 |
|
|
# ? May 24, 2024 22:48 |
|
I think it would be kewl to develop java assignments w/ maven. u could create archetypes for each project that the students start from. it could have spots for them to fill out the code and then tests they can use to verify their work before submission. you'd still have to read the code to figure out if their cheating or whatever, but it would be helpful from the students perspective and they'd passively learn bits of maven which you could later expand upon in higher level classes
|
# ? Apr 14, 2014 15:08 |
|
Shaggar posted:ruby is an honorary p-lang this is what i was going for
|
# ? Apr 14, 2014 15:09 |
|
is there ever a time in c where you want to be using c "objects" instead of just passing around pointers because passing around pointers sure seems a lot easier like i guess if you want to avoid passing by reference so that everything is nice and immutable that has value DONT THREAD ON ME fucked around with this message at 15:39 on Apr 14, 2014 |
# ? Apr 14, 2014 15:34 |
|
passing small structs by value tends to be faster then passing a pointer if you wanna be a SPEED DEMON also copying is safer from a mutability standpoint - the receiver can't grub around with your copy of the data
|
# ? Apr 14, 2014 15:37 |
|
SavageMessiah posted:passing small structs by value tends to be faster then passing a pointer if you wanna be a SPEED DEMON yeah mutability is the big thing that came to my mind.
|
# ? Apr 14, 2014 15:40 |
|
SavageMessiah posted:passing small structs by value tends to be faster then passing a pointer if you wanna be a SPEED DEMON i have a friend at work who always programs to be 2 FAST 2 FURIOUS and its infuriating
|
# ? Apr 14, 2014 15:41 |
|
something something premature optimization
|
# ? Apr 14, 2014 16:15 |
|
Shaggar posted:I think it would be kewl to develop java assignments w/ maven. u could create archetypes for each project that the students start from. it could have spots for them to fill out the code and then tests they can use to verify their work before submission. you'd still have to read the code to figure out if their cheating or whatever, but it would be helpful from the students perspective and they'd passively learn bits of maven which you could later expand upon in higher level classes this + unit testing for conformance however, this would require professors to actually be capable of good software engineering practices a few classes I took had this, but most of them were sample code + pdf +zip made in the 90s and never really updated.
|
# ? Apr 14, 2014 16:51 |
|
it's computer science vs. software engineering debate time!
|
# ? Apr 14, 2014 17:18 |
|
one should be taught in every school and the other should be taught in a handful of places that already have a tradition of research in the field.
|
# ? Apr 14, 2014 17:21 |
|
altho proper understanding of build management would help the comp sci crowd immensely
|
# ? Apr 14, 2014 17:22 |
|
felt relevant to this threadquote:Improper attention to the method of rounding can produce disastrous results. The Wall Street Journal (November , 1983, p. 37) reported on the Vancouver Stock Exchange, which created an index much like the Dow Jones Index. It began with a nominal value of 1,000.000 and was recalculated after each recorded transaction by calculation to four decimal places, the last place being truncated so that three decimal places were reported. Truncation to the fourth decimal place of a number measured to approximately 10^3 might seem innocuous. Yet, within a few months the index had fallen to 520, while there was no general downturn in economic activity. The problem, of course, was insufficient attention given to the method of rounding. When recalculated properly, the index was found to be 1098.892.
|
# ? Apr 14, 2014 17:34 |
|
oh, Canada
|
# ? Apr 14, 2014 17:36 |
|
coffeetable posted:felt relevant to this thread how did they let it drop by half over months, plural, without thinking something is bad
|
# ? Apr 14, 2014 17:41 |
|
Canadian inferiority complex.
|
# ? Apr 14, 2014 17:43 |
|
Shaggar posted:altho proper understanding of build management would help the comp sci crowd immensely no, don't teach them that; that's how i make money
|
# ? Apr 14, 2014 17:47 |
|
prefect posted:no, don't teach them that; that's how i make money Kids out of cs programs can do amazing things like make compilers and build neural nets but because I understand maven I will be infinitely more useful to a company and make a lot more money.
|
# ? Apr 14, 2014 20:30 |
|
exant posted:Kids out of cs programs can do amazing things like make compilers and build neural nets but because I understand maven I will be infinitely more useful to a company and make a lot more money. maven is a pos but then again all commercially available build tools dont really scale to managing thousands of individual contributors hth
|
# ? Apr 14, 2014 22:38 |
|
FamDav posted:maven is a pos this triggers the shaggaring
|
# ? Apr 14, 2014 22:49 |
|
i've never used a build tool that isn't garbage
|
# ? Apr 14, 2014 23:10 |
|
i just click build in the ide worksforme
|
# ? Apr 14, 2014 23:38 |
|
c owns
|
# ? Apr 14, 2014 23:44 |
|
man i am so sick of the plain color background. I think it's burning in my retina or smth is there a way to add a paper grain background to VS? or at least a program to add paper grain effect to the whole desktop? switching to dark theme didn't help much
|
# ? Apr 14, 2014 23:58 |
|
Shinku ABOOKEN posted:man i am so sick of the plain color background. I think it's burning in my retina or smth what the gently caress is wrong with you
|
# ? Apr 15, 2014 00:10 |
|
Bloody posted:what the gently caress is wrong with you the single colors backgrounds didn't you read the post???
|
# ? Apr 15, 2014 00:13 |
|
USSMICHELLEBACHMAN posted:i've never used a build tool that isn't garbage I used to have a hundred problems so I used maven now I have 101
|
# ? Apr 15, 2014 00:15 |
|
Shinku ABOOKEN posted:the single colors backgrounds sounds like it's time to switch to an apple computer
|
# ? Apr 15, 2014 00:17 |
|
USSMICHELLEBACHMAN posted:sounds like it's time to switch to an apple computer i am doing c# so no can do e: lmaaaaaaaaaaaaaao look at this http://visualstudiogallery.msdn.microsoft.com/9ba50f8d-f30c-4e33-ab19-bfd9f56eb817/showImage/86649
|
# ? Apr 15, 2014 00:34 |
|
FamDav posted:maven is a pos but then again all commercially available build tools dont really scale to managing thousands of individual contributors hth lmao. maven rules don't even front
|
# ? Apr 15, 2014 00:35 |
Shinku ABOOKEN posted:i am doing c# so no can do i'm the very slight hint of cleavage
|
|
# ? Apr 15, 2014 00:35 |
|
double sulk posted:i'm the very slight hint of cleavage yes i clicked on the link because of the word "cleavage"
|
# ? Apr 15, 2014 00:46 |
|
uncurable mlady posted:c owns
|
# ? Apr 15, 2014 00:50 |
|
code:
code:
(hint: one of these is from java.lang!)
|
# ? Apr 15, 2014 05:06 |
|
CPColin posted:
i guess number 1
|
# ? Apr 15, 2014 05:16 |
|
correct. I'm not sure which one is dumber, though
|
# ? Apr 15, 2014 05:26 |
|
the first is dumber because implicit conversions are bad and wrong
|
# ? Apr 15, 2014 05:32 |
|
~Coxy posted:open source hippy types like to make fun of decorators and factories and such because they've never worked on a real world project project large or complicated enough (or at all) that such patterns become useful it's not about using factories and teh like, it's about java programmers sitting there typing out ButtFactoryProxies manually like cavemen banging rocks together the python standard library uses plenty of 'factories', but no one gives it a second thought because it's just a callback, and every class is its own factory if your ButtFactory isn't just a function that returns Butts, you're doing something wrong (you're programming java)
|
# ? Apr 15, 2014 05:52 |
|
JewKiller 3000 posted:the first is dumber because implicit conversions are bad and wrong it's not even just a conversion. that syntactic sugar translates to this: code:
code:
|
# ? Apr 15, 2014 06:46 |
|
|
# ? May 24, 2024 22:48 |
|
suffix posted:it's not about using factories and teh like, it's about java programmers sitting there typing out ButtFactoryProxies manually like cavemen banging rocks together also, basic list operations appear to be a pain in the rear end in java, or at least they were before java 8. can't use java 8 at work yet so I don't have opinions about it, but it probably fixes some of this like, I had an object foo in a list today, and I wanted to take all the objects such that foo.bar == "hi", and get their indices in the list you know, like code:
code:
how do you do that in java? you do code:
|
# ? Apr 15, 2014 07:31 |