Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codygman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
181.
▲
by
codygman
10y ago
If you aren't planning on submitting that to those docs I will. In fact I'm sure many would find you adding examples along those lines to the most popular but math inspired Haskell libraries.
182.
▲
by
codygman
10y ago
Those two books sound like an excellent strategy.
183.
▲
by
codygman
10y ago
How does Haskell fare with large projects that use APIs that are inherently stateful, like OpenGL? Don't things get messy and ugly as the pure world of Haskell is being tainted? The pure world of Haskell does not get tainted. Monads he
184.
▲
by
codygman
10y ago
You can probably get a Haskell job if relocating is an option. Also checkout eta since it's Haskell but interops with the JVM: https://github.com/typelead/eta You are a haskeller writing Java, I'm a haskeller
185.
▲
by
codygman
10y ago
> List all the programs used for something that isn't writing code that were written in haskell. As smugly as possible and with a huge grin: Purescript Some I can think of off the top: - PostgREST - hoodle - Microsoft Bond - git-ann
186.
▲
by
codygman
10y ago
> That's the problem, there's no getting over the learning curve when it comes to languages like Scala or Haskell. How did you come to this conclusion? Based on your own experiences? If so, why do you find it reasonable to asse
187.
▲
by
codygman
10y ago
You pay the price of getting the bugs and edge cases out regardless of whether you have compile time assurances. The complexity is inherent and you can either choose to make it implicit and play the losing game of ensuring it doesn't f
188.
▲
by
codygman
10y ago
> The ok is optional, if omitted and the assertion fails, you'll get a runtime panic. Great, now my enums can panic because I have to play "be the typechecker", instead of focusing on something actually important like bus
189.
▲
by
codygman
10y ago
> I'm going to dodge the breaking changes discussion, since it's a huge tangent, How is it a tangent? One of the biggest reasons to want exhaustiveness checking is to avoid the even uglier problem of "compiling but semanti
190.
▲
by
codygman
10y ago
> In my experience either IO absorbs everything but the most trivial trinkets that I wouldn't ever mess up anyway, Almost all business logic is pure, and it can get pretty complex in my opinion.
191.
▲
by
codygman
10y ago
> Another programmer finds myObject.doExplicitThingToWorld() far more expressive and easy to understand and is very familiar with the mocking tools/practices they need to test that. Well hopefully said programmer knows their mocking
192.
▲
by
codygman
10y ago
If you can provide the python version, please do. This seems like it could be a useful comparison.
193.
▲
by
codygman
10y ago
> Haskell's claim "If it runs then it's likely correct" is a deception because no compiler can catch logical errors. Yes it can, see dllthomas' updated examples. > Finally, the still unresolved Cabal hell spea
194.
▲
by
codygman
10y ago
The type system can verify values as well, but can do so more exhaustively than you can practically test.
195.
▲
by
codygman
10y ago
> Performance of a tiny code sample is not why people select one language over another. It's not how people should choose a language, but I'd wager it plays a non-trivial part even if only from laziness alone. We have to reme
196.
▲
by
codygman
10y ago
Have you used the ghci debugger?
197.
▲
by
codygman
10y ago
> What about all those people who came to Go from Python, JavaScript, Ruby and whatnot? They are mostly content with the current status quo, As a counter-example, I'm not sure this is true.
198.
▲
by
codygman
10y ago
> Of course they are. The people who are not comfortable with the current implementation aren't using Go. Not true. What about those who write Go at work for instance?
199.
▲
by
codygman
10y ago
> There is no such thing as "the best" programming language for any given task. I think there is definitely a language that is the best "general" language, however general differs for everyone. I'm not sure it&#x
200.
▲
by
codygman
10y ago
Sorry, I meant to say you could pretty easily make quicksort using the techniques in that link.
201.
▲
by
codygman
10y ago
In regards to WordPress in haskell, I wish for the same! I've been following clckwrks off and on for a few years, I wonder if it's secure plugin API was ever finished... https://github.com/clckwrks/clckwrks E
202.
▲
by
codygman
10y ago
Highly recommend http://Haskellbook.com
203.
▲
by
codygman
10y ago
I think it's a few different reasons: - There is a lot about Java elsewhere - Java isn't so interesting and is probably used at a lot of HNers for work. - Java doesn't represent the future of programming to many, though it&#x
204.
▲
by
codygman
10y ago
> the type-level approach with type classes and type families has increased the compilation time and forces me to use `-freduction-depth=0`. Are you on OSX by any chance? I have some similar issues but they don't seem to happen on L
205.
▲
by
codygman
10y ago
https://github.com/Microsoft/bond
206.
▲
by
codygman
10y ago
I use Vinyl[0], though be warned it uses advanced Haskell many seem disgruntled with in this thread. You may be alright with vanilla Haskell records now that duplicate record fields are allowed in GHC 8. I think something like rawr[1] might
207.
▲
by
codygman
10y ago
Do notation isn't cheating! For instance see these tips on writing g readable Haskell: http://www.haskellforall.com/2015/09/how-to-make-your-haskel... One of the big ones is always using do notation.
208.
▲
by
codygman
10y ago
http://www.haskellforall.com/2013/05/program-imperatively-us...
209.
▲
by
codygman
10y ago
I wouldn't be surprised if the Python solution were shorter than Haskell version that doesn't use lens. If you link me the example maybe I can provide a Haskell version using lens.
210.
▲
by
codygman
10y ago
> (SQL Server is one of the systems that has almost 0 support anywhere in our ecosystem, but I know of more than one person who'd like to see it). Add another to the list. I've had to resort to using hs-odbc who's forced
More ›