|
Arcsech posted:this but everything
|
# ? Apr 12, 2015 04:04 |
|
|
# ? Jun 2, 2024 16:03 |
|
Symbolic Butt posted:I'm bad at posting so here's a paper by professor tbc: https://courses.cs.washington.edu/courses/cse590n/10au/hanenberg-oopsla2010.pdf even i know that this is terrible
|
# ? Apr 12, 2015 04:08 |
|
i agree with this paper inasmuch as i think methodology is basically irrelevant for stupid throwaway projects, which is literally the only conclusion that can be drawn from it
|
# ? Apr 12, 2015 04:09 |
|
MALE SHOEGAZE posted:even i know that this is terrible sure it's not a definitive study that kills the issue but I still think it has a few interesting points like most people saying itt that static typing is obviously a great cognitive handhold, if that was absolutely true maybe that'd be immediately apparent in the study?!??!?!??!?!?!?! Symbolic Butt fucked around with this message at 04:18 on Apr 12, 2015 |
# ? Apr 12, 2015 04:14 |
|
dijkstra posted:I am faced with a basic problem of presentation. What I am really concerned
|
# ? Apr 12, 2015 04:24 |
|
One developer? 27 hours over 4 working days? No maintenance coding or extension? Why would you expect static typing to produce a tangible benefit in this scenario. The single developer wrote everything themselves, and did so without having to accommodate changes in specification half way through development. This is absolutely best possible scenario for not needing static typing, ESPECIALLY the fact that the outcome was set from the get go.
|
# ? Apr 12, 2015 04:29 |
|
Symbolic Butt posted:sure it's not a definitive study that kills the issue but I still think it has a few interesting points i dont buy that it is a great cognitive handhold -- assuming what you mean is that it helps with the design and implementation of programs. it does not. but it's absolutely critical in dealing with large, old, multi-developer codebases.
|
# ? Apr 12, 2015 04:44 |
|
In none of these measured points the use of a static type system turned out to have a successful impact. In the first case, the use of a statically typed programming language had a significant negative impact, in the latter one, no significant difference could be measured. DAAAAAMMMNNNNN
|
# ? Apr 12, 2015 05:09 |
|
Maluco Marinero posted:One developer? 27 hours over 4 working days? No maintenance coding or extension? wtf are you talking about there were 49 developers
|
# ? Apr 12, 2015 05:10 |
|
anyway sure maybe it's not a perfect study but given that i have literally seen zero evidence of any benefit to static typing, ever, i feel like the ball is pretty solidly in sperg-typing court now
|
# ? Apr 12, 2015 05:11 |
|
49 teams of one you loving idiot
|
# ? Apr 12, 2015 05:33 |
|
VikingofRock posted:I didn't mean to imply that good langs shouldn't be used for short scripts. I actually started semi-seriously learning haskell after I saw someone in this thread post some of their haskell CJ scripts. i do my scripting in haskell. it owns
|
# ? Apr 12, 2015 05:51 |
|
fleshweasel posted:49 teams of one you loving idiot
|
# ? Apr 12, 2015 05:58 |
|
keep going, i'm sure that this time you'll convince tbc
|
# ? Apr 12, 2015 06:26 |
|
fleshweasel posted:49 teams of one you loving idiot oh ok i guess that means we should just ignore this and focus on all of the hard evidence for the superiority of static typing, like
|
# ? Apr 12, 2015 07:33 |
|
i find the hand-holding of a good type system is really helpful even when i'm the only one working on a code base. recently i had to make a small-to-medium scale scientific application in python and it was hell.
|
# ? Apr 12, 2015 10:23 |
|
focal ischemia posted:i find the hand-holding of a good type system is really helpful even when i'm the only one working on a code base. recently i had to make a small-to-medium scale scientific application in python and it was hell. mega agreedo
|
# ? Apr 12, 2015 10:27 |
|
I'm wondering whether people's preferences about static typing because that's what one knows the best and how someone has learned to reason about programs. Like how a programmer that grew up with smalltalk can't stop thinking about sending messages to objects whenever possible.
|
# ? Apr 12, 2015 11:26 |
|
i basically learned programming with python. i had used java and basic and stuff before, but everything really started clicking for me with python. i used it almost exclusively for about 7 or 8 years, until i learned haskell and now i can barely stand python. a lot of that is because i grew to really see the benefits of haskell's type system
|
# ? Apr 12, 2015 11:49 |
|
i love static type systems where you don't have to write the types of local variables i wish Java proper get it someday
|
# ? Apr 12, 2015 12:06 |
|
Y'all should read How Do Types Affect Productivity and Correctness? which evaluates a bunch of papers on statics vs. dynamic typing and figures out:quote:Of the controlled experiments, only three show an effect large enough to have any practical significance. The Prechelt study comparing C, C++, Java, Perl, Python, Rexx, and Tcl; the Endrikat study comparing Java and Dart; and Cooley’s experiment with VHDL and Verilog. Unfortunately, they all have issues that make it hard to draw a really strong conclusion.
|
# ? Apr 12, 2015 12:56 |
|
MononcQc posted:Y'all should read How Do Types Affect Productivity and Correctness? which evaluates a bunch of papers on statics vs. dynamic typing and figures out: please keep your science out of my religion tyvm
|
# ? Apr 12, 2015 13:41 |
|
you can post studies and metastudies about students inverting matricies in perl all you want. i've spent years of my life writing perl and ruby and i will never get those years back of my own volition, i will never choose to do a project in a "scripting language" ever again. give me static typechecking or give me death ok just give me death
|
# ? Apr 12, 2015 15:03 |
|
leave dynamic types to the "Rockstar" devs imho
|
# ? Apr 12, 2015 15:11 |
|
actually, science and facts support that my favorite language is objectively the best and your favorite language is a piece of poo poo. why would i, a rational actor, willingly use a bad language?
|
# ? Apr 12, 2015 15:12 |
|
two can play this dumb game
|
# ? Apr 12, 2015 15:18 |
|
Notorious b.s.d. posted:two can play this dumb game needs some overlap between the proponents like in my experience dynamic typing is good for prototyping and for small solo projects that are unlikely to require long-term maintenance, while static typing is useful when working on larger projects, stuff that's going to need long-term maintenance, and stuff that's going to be worked on or used by many people currently I use Python for the former and Java for the latter and they're both good within their limits e: every time this comes up I start thinking that really what I want is optional typing, is that mainstream yet
|
# ? Apr 12, 2015 15:40 |
|
Soricidus posted:e: every time this comes up I start thinking that really what I want is optional typing, is that mainstream yet use scala i guess
|
# ? Apr 12, 2015 15:45 |
|
focal ischemia posted:i find the hand-holding of a good type system is really helpful even when i'm the only one working on a code base. recently i had to make a small-to-medium scale scientific application in python and it was hell. yeah there's never just one developer. "yourself, four hours ago" is a second developer.
|
# ? Apr 12, 2015 16:13 |
|
Soricidus posted:e: every time this comes up I start thinking that really what I want is optional typing, is that mainstream yet optional typing devolves to no typing, because programmers are assholes scala and groovy let you have your static type system on the jvm without spending time typing out boilerplate. flexible like a scripting language, typechecked like java
|
# ? Apr 12, 2015 16:15 |
|
i like scala a little better than groovy but who gives a poo poo just give me a repl and static type checking in the same language, i'm happy
|
# ? Apr 12, 2015 16:17 |
|
i just want a repl for c#
|
# ? Apr 12, 2015 16:17 |
|
Soricidus posted:e: every time this comes up I start thinking that really what I want is optional typing, is that mainstream yet this is why i was playing with kotlin saying val todolist = ArrayList<Butt>() is much better than ArrayList<Butt> todolist = new ArrayList<Butt>()
|
# ? Apr 12, 2015 16:19 |
|
Blinkz0rz posted:i just want a repl for c# third-party repls exist for c#, and even for java. but i want more. i want a repl to be core to the language, every language i want everyone all the time to be using their programming languages interactively. i want to run c# code as a script and deploy it with no dependencies
|
# ? Apr 12, 2015 16:19 |
|
Shinku ABOOKEN posted:this is why i was playing with kotlin i haven't tried kotlin yet but it looks like it would also fit my criteria i had scala and groovy forced on me by job requirements
|
# ? Apr 12, 2015 16:20 |
|
Notorious b.s.d. posted:third-party repls exist for c#, and even for java. but i want more. i want a repl to be core to the language, every language ya that's what i mean. people who enjoy plangs like them because they can pop open a text editor write some code then run it
|
# ? Apr 12, 2015 16:22 |
|
Blinkz0rz posted:ya that's what i mean. people who enjoy plangs like them because they can pop open a text editor write some code then run it and that is a 100% reasonable thing to demand from a programming language but don't stop there we can have typechecking and soundness and correctness AND interactivity
|
# ? Apr 12, 2015 16:34 |
|
Notorious b.s.d. posted:and that is a 100% reasonable thing to demand from a programming language i want it
|
# ? Apr 12, 2015 16:53 |
|
Blinkz0rz posted:i want it what if i told you this language already exists
|
# ? Apr 12, 2015 17:02 |
|
|
# ? Jun 2, 2024 16:03 |
|
Notorious b.s.d. posted:we can have typechecking and soundness and correctness AND interactivity if you write Hack in checked mode, you get a lot of that
|
# ? Apr 12, 2015 17:08 |