Skip Navigation
Using Ocaml to learn FP. What FP concepts should I touch on?
  • I would be lying if I said that I was a professional Ocaml developer.

    I do definitely think the Jane's library is very hard to read... But that might be my inexperience

    I personally think regular, procedural code is much easier to read ¯_(ツ)_/¯

  • Advice on where to begin with GUI programming?
  • Sorry to that guy, but Python is a terrible choice for GUI. It simply doesn't even exist in the wild, except in newbies' minds. You should pick something that allows you to* easily & immediately* reload your GUI in progress without restarting the program; AND also maybe think about how to distribute your GUI on other computers without requiring them to duplicate your python setup

  • I wish writing SQL queries was more popular than ORMs
  • Even something as ubiquitous as JSON is not handled in the same way in different databases, same goes for Dates, and UUID. I am not even mentioning migrations scripts. As soon as you start writing raw SQL, I pretty sure you will hit a compatibility issue.

    I was specifically talking about python, can't argue with golang. OK you have a valid point for performance, gotta keep an eye on that. However, I am satisfied for our CRUD api

  • I wish writing SQL queries was more popular than ORMs
  • You don't even mention the 2 main advantages:

    • ORM lets you to use plain objects over untyped strings. I take typed anything over untyped anything, everyday
    • ORM lets you to use multiple database backends. For ex, you don't need to spawn a local postgres server, then clean/migrate it after each test suit, you can just use in-memory sqlite for that. OK this has some gotchas, but that's a massive improvement in productivity
  • *Permanently Deleted*
  • It's not "every system" which proves all truth is inconsistent right? Propositional logic, and first order logics are both sound, and complete. The article talks about propositional logic, so in my understanding, it should be complete and sound too.

  • Stop using pandas in web development

    Are you doing data science? Statistics? No?

    Then for god's sake don't use pandas, you just look dumb af when you pull several MB of a package just to load csv. If you find yourself doing that, just stop programming and look for another job

    Thanks for attention

    7
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)KS
    kSPvhmTOlwvMd7Y7E @programming.dev
    Posts 1
    Comments 18