Readit News logoReadit News
usually commented on PFP: A Probabilistic Functional Programming Library for Haskell (2006)   web.engr.oregonstate.edu/... · Posted by u/alhazraed
usually · 6 months ago
It's interesting to see how much Haskell has changed since this was written. It feels weird not having every Monad be an Applicative Functor. (Sidenote, I really like that you can define a Monad instance in Lean 4 and automatically get those. I guess Haskellers derive this stuff anyway, so it's not the biggest deal)
usually commented on The Monospace Web   owickstrom.github.io/the-... · Posted by u/mrunseen
usually · 2 years ago
It looks nice, and I'm glad that it's semantic and responsive, but the fundamental problem is that monospace just isn't great for body text. I've read blog posts on multiple sites with monospaced body text, it's okay, but proportional really is the way to go in my opinion.
usually commented on Fortran is easy to learn   craftofcoding.wordpress.c... · Posted by u/Bostonian
BeetleB · 4 years ago
First: Very convenient to provide a numerical program to showcase.

Mainly:

> Certainly things like I/O are still problematic for the novice programmer in these languages.

Poor I/O basically killed my interest in programming in most languages when I was a novice. BASIC was great for this. QuickBasic was, and probably still is king. People new to programming want to do fun stuff, and it's very hard to do without I/O. Me and most of my peers spent a fair amount of their hobby programming writing very simple games, or doing fun graphics stuff (drawing lines, circles, etc).

After doing this for a while in BASIC and QB, "serious" languages like C/C++ were pure Hell. I could literally do none of the cool things I used to with only a rudimentary command of the language. Did not know about Perl/Python until much later.

In my opinion, if you want learning languages to be fun, provide one where:

- Text I/O are no-brainers

- You can easily respond to keypresses (i.e. detecting if a button was pressed and not having to wait till the user hits Enter).

- Rudimentary graphics: Plotting a point, drawing a line and circle. Coloring it as desired.

- Easy way to generate random numbers.

Teach people these things, and they can have a lot of fun with loops, conditionals, and functions.

usually · 4 years ago
Easy dependencies are also a huge boon for fun, I remember having a lot of frustration with python in that regard.
usually commented on My Many Girlfriends   thedailywtf.com/articles/... · Posted by u/BerislavLopac
speed_spread · 4 years ago
For all its political correctness, Rust still has Fat Pointers. Which might be put to good use when doing Response Body Shaming?
usually commented on Hacker Laws   github.com/dwmkerr/hacker... · Posted by u/maltalex
ximeng · 4 years ago
usually · 4 years ago
Surprising amount of hitler-related quotes in the last version, some of them are pretty funny, but considering there seem to be about 12365 quotes, they probably won't be missed. Diff if interested: https://svnweb.freebsd.org/base/head/usr.bin/fortune/datfile...
usually commented on How Dwarf Fortress is built   stackoverflow.blog/2021/1... · Posted by u/nsoonhui
detaro · 4 years ago
Dwarf Fortress goes into depth to a truly magnificent, ridiculous degree. (I guess also in the non-ridiculous degree of having a 3D world instead of 2D ;)) It simulates a lot more, and thus more is possible in game and more weird and wonderful chain reactions can happen.
usually · 4 years ago
Never thought I'd see a https://xkcd.com/541/ in the wild! I'll take it as a good omen for 2022.

u/usually

KarmaCake day45January 1, 2022View Original