5 Weeks of Go by urielin programming
[–]kamatsu 0 points1 point2 points 1 day ago
I should chuck in Xavier Leroy as well.
[–]kamatsu 1 point2 points3 points 1 day ago
I think a better approach is something like mix-fix syntax which lets you make your own syntactic sugar. Otherwise there'll always be another abstraction that could use some (e.g Haskell could really use some nice sugar for applicative functors)
Sci-Fi Show Commonalities (x-post from r/scifi) by kracovin startrek
Would like to see B5 here too.
Favorite Star Trek villain? by aflargein startrek
Weyoun.
Damar: "Are you at all different? you believe the founders are Gods."
Weyoun: "Oh, but that's entirely different - the founders are Gods."
I liked Dukat as well, but I prefer villains who are sly and friendly, not antagonistic.
Even Ross let S31 get away with their shenanigans with the romulans.
And First Minister of Bajor.
Mostly due to the fact that the federation is trying to maintain peace.
Combs played a semi-sympathetic character once in B5. It was quite hard for me not to think of him as an evil, or at least antagonistic (Shran) guy.
[–]kamatsu 11 points12 points13 points 1 day ago
Either does automatically bubble up the stack.
[–]kamatsu 3 points4 points5 points 1 day ago
So? Haskell was the first language with monad infrastructure, so it makes sense that most of the languages with monad infrastructure descend, at least in part, from Haskell.
So? You just asked "Who is better than them to create a new language". And I answered.
If you want more alive people, how about Don Syme? Or Bob Harper? Or Martin Odersky? All of whom have a great deal more experience in programming languages work than those two you mentioned.
[–]kamatsu 13 points14 points15 points 1 day ago
Simon Peyton Jones? Robin Milner? Dennis Ritchie? Dijkstra? Wirth?
[–]kamatsu 2 points3 points4 points 1 day ago*
You can easily use monads for side-effects with strict evaluation. Hell, Haskell has strict Cont monads and IO is also strict. Lazy evaluation and separation of execution and composition are different things.
There are plenty of Haskell inspired languages, such as Idris, Agda, Clean and Disciple.
Consumer confidence tells us 'the vibe' - that's about it - Greg Jericho by iheartralphin australia
I'm reminded of an amusing scene from the Castle.
[–]kamatsu 7 points8 points9 points 1 day ago
Lazy evaluation is hardly necessary for monads modelling exceptions. Disciple is an example of a strict language where monads might be useful for this (we don't have exceptions, yet, but I assume we'll get them at some point).
Do notation is minimal syntactic sugar. Lots of haskell-inspired languages have it, and Scala has for comprehensions which work reasonably well for monad stuff.
(Scala is notoriously bad at optimising that stuff though, it doesn't like lots and lots of lambdas)
Was classical BASIC ever used for commercial software development? by Rachel53461in programming
Even Haskell has a type based definition of equality (Eq), and a more direct, definitional equality that can't be directly reified in Haskell code.
Even mathematics doesn't really understand equality - are the functions f(x) = x + 1 and g(x) = 1 + x equal? They are defined differently, yet they are equal extensionally. Whether or not extensionality should be part of equality is an open question in some circles, such as type theory.
[–]kamatsu 12 points13 points14 points 1 day ago
They are not the best of the best, by any measure.
[–]kamatsu 10 points11 points12 points 1 day ago
That's exactly what I mean by "monad infrastructure"
Sum types are fine replacements for exceptions if you have all the monad infrastructure to back it up.
Quotes about programming languages by shenglongin programming
[–]kamatsu 26 points27 points28 points 4 days ago
Remember that the BASIC Dijkstra was referring to here is nothing like MS QuickBasic or Visual Basic.
When Will Software Verification Matter? by quietsquarein programming
[–]kamatsu 7 points8 points9 points 4 days ago
It's a functional abstract spec. We prove functional correctness via refinement from this spec through Haskell and down to C.
We define bugs as errors in the program. The spec is at least consistent, but the exact notion of what even constitutes an error in the spec is difficult to nail down - the spec could be said to be incorrect because it doesn't specify what you expect, but what you expect is not necessarily correct either.
In any event, we use the guarantees from the spec to prove higher level security properties and other more immediately useful things. Even if there are "errors" in the spec, we have shown various higher level properties to be true about the kernel as it is implemented. If we have proven that a program matches an "erroneous" spec, then that erroneous spec still implies useful high level properties, so I don't see the problem.
My two best friends just got married and I'm so happy for them! by PeterJeromein atheism
[–]kamatsu 1 point2 points3 points 4 days ago
That's not Jesus, Rom, Cor are Paul. Lev is some ancient jewish pharisee.
Found this beautiful pic the other day... by apotheosis970in startrek
[–]kamatsu 2 points3 points4 points 4 days ago
This only affirms my belief that Takei really is the best looking member of the original cast.
[–]kamatsu 4 points5 points6 points 4 days ago
We just don't verify software that needs them. If we really needed to represent fractions, ratios of integers might be better.
Think you can make a cool language? Last chance to sign up to be eligible for Nathan's University Programming Language Design and Implementation Contest. by nwhitehein programming
[–]kamatsu 3 points4 points5 points 4 days ago
Yup. screw that.
view more: next
all it takes is a username and password
create account
is it really that easy? only one way to find out...
already have an account and just want to login?
login
5 Weeks of Go by urielin programming
[–]kamatsu 0 points1 point2 points ago