!SlMumQZnFjwLRjWFbW:nixos.org

Nix + Doom Emacs

226 Members
Running Doom Emacs with Nix | You probably want https://github.com/nix-community/nix-doom-emacs47 Servers

Load older messages


SenderMessageTime
12 Oct 2022
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
having to look up types in my head kind of breaks my flow

Yeah, I mean nowadays I like to have some kinda of typing

I just feel that most type systems are to restrictive

19:43:30
@ckie:ckie.devckie (they/them)rust takes an interesting direction with that19:43:45
@k0kada:matrix.orgk0kada (he/him)I actually kinda like mypy for typing Python19:43:45
@ckie:ckie.devckie (they/them)like from that pov it's very restrictive but it seems the more restrictive it is the freer it is in another way19:44:02
@k0kada:matrix.orgk0kada (he/him)Or for Clojure I like spec/schema19:44:10
@ckie:ckie.devckie (they/them)like it's more expressive because it doubles down on forcing you to use it19:44:23
@ckie:ckie.devckie (they/them)still not there imo, but is a neat experience to have19:44:39
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
like it's more expressive because it doubles down on forcing you to use it
I don't like exactly that part, sometimes I kinda like to say "f*** the type system, let me do what O want"
19:46:38
@k0kada:matrix.orgk0kada (he/him)* I don't like exactly that part, sometimes I kinda like to say "f*** the type system, let me do what I want"19:46:59
@ckie:ckie.devckie (they/them)yeah sometimes i also feel like that and then i write horrible javascript for a week or two before running back to rust19:47:17
@k0kada:matrix.orgk0kada (he/him)
In reply to @ckie:ckie.dev
yeah sometimes i also feel like that and then i write horrible javascript for a week or two before running back to rust
The point is that this is controlled, for example, in only one private function
19:47:48
@k0kada:matrix.orgk0kada (he/him)Kinda of marking the block as unsafe, you know something sketchy is happening there 19:48:08
@k0kada:matrix.orgk0kada (he/him)So I generally just review it with more attention 19:48:20
@ckie:ckie.devckie (they/them)c and js are oddly meditative for me while im using them19:50:12
@k0kada:matrix.orgk0kada (he/him)Can't speak for JS19:50:57
@k0kada:matrix.orgk0kada (he/him)But I concur with C19:51:02
@ckie:ckie.devckie (they/them)all the problems seem silly sometimes but they're very real like it just crashes if i try to run it no big type error19:51:08
@ckie:ckie.devckie (they/them)then i can ask the computer to show me what it was up to!19:51:29
@ckie:ckie.devckie (they/them)then i can find out i have to recompile mesa with debug symbols so i can figure out why vulkan bork! (a current thing on my todo)19:51:58
@k0kada:matrix.orgk0kada (he/him)C is a really powerful scripting language that ends up generating assembly lol19:52:02
@k0kada:matrix.orgk0kada (he/him)In a actual scripting language, miss a type and you have an exception 19:52:19
@k0kada:matrix.orgk0kada (he/him)In C, miss a type and you have something 19:52:29
@k0kada:matrix.orgk0kada (he/him)Maybe your program work by mistake? Maybe it explodes your computer19:52:45
@k0kada:matrix.orgk0kada (he/him)Still, it is kinda fun depending on your state of mind19:53:01
@ckie:ckie.devckie (they/them)yeah i guess it doesn't need your effort spread out, it's just one simple line of thinking19:53:02
@ckie:ckie.devckie (they/them)can just wget a single-file header library and i'm good to go, relaxing19:53:35
@ckie:ckie.devckie (they/them) fmouse was like that 19:55:41
@ckie:ckie.devckie (they/them)it was so boring to write! was great19:55:50
@k0kada:matrix.orgk0kada (he/him)Still, really need to learn one more systems language while I still like programming lol 19:56:00
@k0kada:matrix.orgk0kada (he/him)Either Rust or Zig19:56:07

Show newer messages


Back to Room ListRoom Version: 9