Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codygman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
421.
▲
by
codygman
11y ago
How so? I'd appreciate you expanding on it, as well as responding to the existence of these: Teaching Haskell to a 10 year old[0] Realm of Racket[1] Land of lisp[2] 0: https://superginbaby.wordpress.com/2015/04
422.
▲
by
codygman
11y ago
I feel learning one Algol derived language such as Python followed by Haskell is a good solution. Perhaps even better (of not more painful) would be to learn C followed by Haskell.
423.
▲
by
codygman
11y ago
> Yep, when I see "flat management" I really hesitate to apply. Especially as a minority in tech, I would rather find a hierarchical place with good managers who value good arguments than trust the herd. If I were a minority or
424.
▲
by
codygman
11y ago
> and none of the above have solved preserving types across machine boundaries (or at least not in a stable/non-experimental let's-bet-the-bank-on-this release). What about Static Pointers[0]? Do you feel the solve the problem
425.
▲
by
codygman
11y ago
Can you provide some examples where the readability of F# is better than Haskell? I know F# is a descendant of Ocaml and many times I find Haskell code much cleaner and more readable than Ocaml.
426.
▲
by
codygman
11y ago
I feel like xsi and art mean something domain specific that might be obvious to a domain expert.
427.
▲
by
codygman
11y ago
To be fair it looks to be a relatively complex operation. Do you know how any other languages implement this?
428.
▲
by
codygman
11y ago
> Haskell doesn't give an imperative programmer many outs. What do you mean? Check these out: http://www.haskellforall.com/2012/01/haskell-for-c-programme... http://www.haskellforall.com/20
429.
▲
by
codygman
11y ago
> If your program has state, it doesn't matter if it's mutable or immutable state, you will still run into the same problems when working with concurrency. You either have to use locks, make sure functions are executed in the r
430.
▲
by
codygman
11y ago
> Haskell code is not yet written in large amounts in large companies (or anywhere else). Haskell code isn't written in large amounts anywhere? Define large amounts. For instance the GHC codebase itself is pretty large.
431.
▲
by
codygman
11y ago
In my Python code I find that readability and naming conventions are very important. Usually in my Haskell code I'm writing more abstract functions where a good specific name isn't possible or it's obvious what it's refe
432.
▲
by
codygman
11y ago
First of all, great work! That is an impressive journey. Secondly, what was your Haskell experience like? I'm always looking to see what others experiences are so I know how I can help make future experiences better.
433.
▲
by
codygman
11y ago
> But Elixir will probably take over back-end web development. That's a very large claim, can you give some more reasons as to why you think so?
434.
▲
by
codygman
11y ago
A useful way to think about it for me coming from imperative/OOP programming was that a Monad is like a well behaved (governed by laws) interface. I found solace in telling myself "The word Monad is meaningless except for the fact
435.
▲
by
codygman
11y ago
No problem. You can also find my email in my profile. Feel free to email me with specific questions. I'm interested in helping people see how Haskell applies or finding cases where it doesn't apply to their real world use cases. I
436.
▲
by
codygman
11y ago
> With that in mind, there is not much I can do in my code and have a functional app without side-effects. Not quite. Let's take one of those side effects as an example... say accessing system state. You probably aren't just
437.
▲
by
codygman
11y ago
> Hopefully some day it clicks. While you wait for that, try writing useful code despite not fully understanding it. Tell me what you think of the following code examples: > sum . take 2 $ [1,2,3,4,5] 3 > -- now lets
438.
▲
by
codygman
11y ago
You don't do away with them, you differentiate between side effectful functions and pure functions. One way to do this is tag them with the type IO. This would be a great pain if there weren't helpful ways (see Monad, Functor, and
439.
▲
by
codygman
11y ago
> For a long time I've been looking for a guide to functional programming, applied to common real-world web examples, but still can't find one. http://realworldhaskell.org/ (sometimes code is too old to compile
440.
▲
by
codygman
11y ago
> Everything else is niche, Niche isn't always a bad thing. > recommended by people drinking too much Kool-Aid. Sure, it's just because of Kool-Aid that people choose to use C, Lisp, Haskell, Python, Ruby, etc for projects
441.
▲
by
codygman
11y ago
There are also remote jobs in the "cool" languages.
442.
▲
by
codygman
11y ago
Have you seen this Haskell tls[0]? "This library provides native Haskell TLS and SSL protocol implementation for server and client." 0: http://hackage.haskell.org/package/tls EDIT: This Github issue provides
443.
▲
by
codygman
11y ago
I was never trying to prove "the world believes that Haskell's is totally practical language". My response was purely a rebuttal to: "Haskell's perceived as an impractical language because it is one" The "
444.
▲
by
codygman
11y ago
> some people from IRC got me to try the Code Jam. I thought I'd use Haskell, being very familiar with it, and the experience was a most illuminating disaster. On the other hand, C++ worked out pretty well, even though I was a total
445.
▲
by
codygman
11y ago
> It's a lot simpler to change code that is written in terms of for loops and accumulator variables, than it is to change code written in terms of maps, folds, intercalates, whatever. for loops are less structured than maps or fold
446.
▲
by
codygman
11y ago
Well, you can avoid most problems by remembering the following quote: "you usually want your data structures to be as strict as possible, but your control flow to be as lazy as possible" Here's something else that might be of
447.
▲
by
codygman
11y ago
> Haskell's perceived as an impractical language because it is one †. Theoretically maybe ;) The real world disagrees with you however: https://www.fpcomplete.com/business/haskell-industry/ https:/&#
448.
▲
by
codygman
11y ago
> No web page after 2016 will be user readable anymore But webassembly is going to be user readable.
449.
▲
by
codygman
11y ago
Haskell - A purely functional programming language that is a general purpose language. It's often cited to be best for making language parsers using Parsec or Attoparsec, but I've found with Snap/Yesod/Scotty it is great
450.
▲
by
codygman
11y ago
Why both C and C++? I'm guessing because some standard mobile apps use C++?
More ›