|
yes, but it's pronounced "clang", don't worry
|
# ? May 21, 2017 17:18 |
|
|
# ? May 22, 2024 16:28 |
|
Well, hot on the heels of Microsoft's plang announcement Martin Odersky has some good ideas for improving Scala as well. God bless.
|
# ? May 21, 2017 19:55 |
|
clang clang clang went the trolley,
|
# ? May 22, 2017 04:59 |
|
bing bing bing went the bell
|
# ? May 22, 2017 07:46 |
|
flang flang flang is for fortran
|
# ? May 22, 2017 12:49 |
|
and for monads you all use haskell
|
# ? May 22, 2017 17:32 |
JawnV6 posted:clang clang clang went the trolley, Wheany posted:bing bing bing went the bell pokeyman posted:flang flang flang is for fortran Uncle Enzo posted:and for monads you all use haskell
|
|
# ? May 22, 2017 18:51 |
|
|
# ? May 22, 2017 19:00 |
|
5
|
# ? May 23, 2017 17:29 |
|
Sagacity posted:Well, hot on the heels of Microsoft's plang announcement Martin Odersky has some good ideas for improving Scala as well. God bless. Will this work? code:
i may have messed up the indentation when copy-pasting, apologies
|
# ? May 24, 2017 03:56 |
|
Max Facetime posted:Will this work? I half-imagined that the "code in two columns" thing was for concurrency.
|
# ? May 24, 2017 20:45 |
|
Zemyla posted:I half-imagined that the "code in two columns" thing was for concurrency. http://www.linusakesson.net/scene/bitbanger/index.php
|
# ? May 24, 2017 23:41 |
|
Zemyla posted:I half-imagined that the "code in two columns" thing was for concurrency. omg there's two columns in that code when I rotate this phone sideways
|
# ? May 25, 2017 03:16 |
|
what's a good scala book or tutorial
|
# ? Jun 1, 2017 01:51 |
|
cis autodrag posted:what's a good scala book or tutorial I used https://www.manning.com/books/functional-programming-in-scala which got me far enough to start doing things on my own. e: also this is more intermediate but not a bad place to jump in once you've gotten past the basics. http://danielwestheide.com/blog/2012/11/21/the-neophytes-guide-to-scala-part-1-extractors.html DONT THREAD ON ME fucked around with this message at 05:09 on Jun 1, 2017 |
# ? Jun 1, 2017 04:44 |
|
cis autodrag posted:what's a good scala book or tutorial its not a book but most of my scala coworkers took Odersky's "Functional Programming Principles in Scala" course on coursera before they started working with it
|
# ? Jun 1, 2017 06:45 |
|
cis autodrag posted:what's a good scala book or tutorial Here are a bunch of books that just became free: http://underscore.io/books/
|
# ? Jun 1, 2017 09:09 |
|
someone who is in to languages tell me if this is bad or good, thanks https://danluu.com/empirical-pl/
|
# ? Jun 17, 2017 01:12 |
|
Thermopyle posted:someone who is in to languages tell me if this is bad or good, thanks haven't read the article yet but Dan Luu is a heckin smart guy so it's probably not total garbage at least
|
# ? Jun 17, 2017 01:20 |
|
Arcsech posted:haven't read the article yet but Dan Luu is a heckin smart guy so it's probably not total garbage at least
|
# ? Jun 17, 2017 02:14 |
|
refactoring code in an untyped language is a garbage experience that involves creating new code paths because you're afraid to change existing code paths lest it break existing code. but this works just fine for a year or two and produces reasonable looking code. after a few years of this practice you have a garbage heap.
|
# ? Jun 17, 2017 02:49 |
|
the only thing untyped languages are better for is dealing with system boundaries. but actually it sucks because now instead of things blowing up at the boundary like they should, they blow up deep inside your code where someone forgot to include the same type / null check boiler plate that is included in every single stupid method in your system DONT THREAD ON ME fucked around with this message at 03:17 on Jun 17, 2017 |
# ? Jun 17, 2017 02:50 |
|
"hey let's wait until runtime to find out if code is broken" -- an insane person
|
# ? Jun 17, 2017 02:54 |
|
MALE SHOEGAZE posted:the only thing dynamic languages are better for is dealing with system boundaries. yeah the system boundaries of the dumpster they belong in.
|
# ? Jun 17, 2017 02:54 |
|
i always type 'dynamic' language when i mean 'untyped' langue and it makes me look like a dummy
|
# ? Jun 17, 2017 03:17 |
|
"my view is obviously the correct one", said the yosposter right after being linked to a long report discussing how multiple scientific papers were unable to reasonably prove this very point.
|
# ? Jun 17, 2017 03:36 |
|
looks like...good programmers do well in whatever language while bad programmers do poorly?
|
# ? Jun 17, 2017 03:43 |
|
every single one of those studies is bullshit involving trivial tasks.
|
# ? Jun 17, 2017 03:45 |
|
everything in programming is driven by fashion and the disciple itself barely pretends to the level of rigor demanded in ornamental carpentry, let alone engineering. unless we're talking about safety-critical software for nuclear energy and aerospace applications. there we've somehow managed to figure out how to write software that isn't a dumpster fire.
|
# ? Jun 17, 2017 03:46 |
|
[quote Some notable omissions from the studies are comprehensive studies using experienced programmers, let alone studies that have large populations of “good” or “bad” programmers, looking at anything approaching a significant project (in places I’ve worked, a three month project would be considered small, but that’s multiple orders of magnitude larger than any project used in a controlled study), [/quote] conclusion: no one has every seriously studied this. therefore, until proven wrong, we can clearly assume typed languages are better than untyped languages for building non-trivial systems. but untyped langs are still clearly great for other things. like learning or writing simple programs where you can understand every line of code and therefore dont need a type system to help you DONT THREAD ON ME fucked around with this message at 03:55 on Jun 17, 2017 |
# ? Jun 17, 2017 03:52 |
|
since the study was inconclusive, the radium girls were told there were no occupational hazards, and kept painting watch dials with the "lip, dip, paint" method
|
# ? Jun 17, 2017 03:56 |
|
Here's interesting somewhat unrelated material that still fits into the current context: https://blog.acolyer.org/2017/05/29/an-empirical-study-on-the-correctness-of-formally-verified-distributed-systems/ where researchers compare formally defined distributed systems with widely-used ones that are not formally verified.quote:Formally verified systems, and figuring out how to make formal verification accessible and composable are very important building blocks at the most rigorous end of the spectrum. quote:The unverified systems all contained protocol bugs, whereas none of the formally verified systems did. This is interesting in the current context of "edge of the system bugs". Also some of the bugs are hilarious: quote:
Conclusions are reasonable though: quote:The answer is not to throw away attempts at formal verification (“we did not find any protocol-level bugs in any of the verified prototypes analyzed, despite such bugs being common even in mature unverified distributed systems“).
|
# ? Jun 17, 2017 04:13 |
|
Thermopyle posted:someone who is in to languages tell me if this is bad or good, thanks the variables were artificially named such that there was no type information encoded in any of the names, that there were no comments, and that there was zero documentation on the APIs provided. That’s an unusually hostile environment to find bugs in
|
# ? Jun 17, 2017 06:40 |
|
MononcQc posted:"my view is obviously the correct one", said the yosposter right after being linked to a long report discussing how multiple scientific papers were unable to reasonably prove this very point. otoh, the idea that science is the only way to know things is a mind poison
|
# ? Jun 17, 2017 14:06 |
|
Thermopyle posted:someone who is in to languages tell me if this is bad or good, thanks quote:The Unexpected Results From A Hardware Design Contest; Cooley, J hardware programmers: is this normal?
|
# ? Jun 17, 2017 14:24 |
|
Brain Candy posted:otoh, the idea that science is the only way to know things is a mind poison what
|
# ? Jun 17, 2017 14:41 |
|
Brain Candy posted:otoh, the idea that science is the only way to know things is a mind poison The idea that annoys me is rather that you have definitively more reliable studies regarding things impacting code quality such as organisational structure for one that comes to mind rapidly, than those about static/dynamic typing or TDD (as opposed to just iterative development) for example. So the thing is that you have a bunch of studies that more clearly highlight what actually matters, but developers keep debating things that do not really do so. It's optimizing whether i++ or ++i is better in that one code loop when the software is choking because all DEBUG logs synchronously go to disk.
|
# ? Jun 17, 2017 14:58 |
|
then again I'm pumping out notes into a book about property-based testing when for the most part all the 'proofs' of their effectiveness are based off commercial whitepapers by people selling tools and services about them
|
# ? Jun 17, 2017 15:01 |
|
MononcQc posted:The idea that annoys me is rather that you have definitively more reliable studies regarding things impacting code quality such as organisational structure for one that comes to mind rapidly, than those about static/dynamic typing or TDD (as opposed to just iterative development) for example. it's not just programmers; that sort of error seems to be baked into human cognition. i felt slightly less like an alienated crazy person after i had a name for it: https://en.wikipedia.org/wiki/Attribute_substitution posted:Attribute substitution is a psychological process thought to underlie a number of cognitive biases and perceptual illusions. It occurs when an individual has to make a judgment (of a target attribute) that is computationally complex, and instead substitutes a more easily calculated heuristic attribute.[1] This substitution is thought of as taking place in the automatic intuitive judgment system, rather than the more self-aware reflective system. Hence, when someone tries to answer a difficult question, they may actually answer a related but different question, without realizing that a substitution has taken place.[2] This explains why individuals can be unaware of their own biases, and why biases persist even when the subject is made aware of them. It also explains why human judgments often fail to show regression toward the mean.
|
# ? Jun 17, 2017 15:13 |
|
|
# ? May 22, 2024 16:28 |
|
Brain Candy posted:otoh, the idea that science is the only way to know things is a mind poison lol
|
# ? Jun 17, 2017 17:05 |