Details
-
Aboutmacroboi click
-
Skillsproud lisp hacker, vim nutjob, scheming thru the web an'beyond
-
Location/not/here
Joined devRant on 1/23/2024
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
@jestdotty definitely, but throw in typescript instead and it's a world of pain. In that sense I rather do it python or JavaScript and rewrite in Rust afterwards
-
And I never got to read wtf it was :/ so if anyone actually wanna give it a go, get CopilotChat for neovim. Read up the source and if you succeed, please 🙏🏻 let me know here
-
@jestdotty tbh I think equality is too dangerous and limiting on non-lisp languages, so I avoid it as much as possible.
I say dangerous cuz your average programmer will go on symbolic mode when doing it and most likely miss a fuckton of minutiae or come up with hard to maintain clusterfuck code.
In that sense, pattern matching like Rust, Ocaml, or, better yet, Haskell, tends to be less error prone. Though it kicks readability out the window, it does remove all that equality nonsense @Lensflare's pic shows ☝🏻😀
Bet then, if all languages were like that, we'd have a hard time finding programmers 😶👎🏻
I am NOT sure if THAT would be a bad thing though -
please forgive my bud, @Lensflare. He's been doing acid lately
-
I like how Haskell does it, a string is a list of characters and it's Begone Deimon!
-
well, if it's in canada, feel free to attach my CV to it
-
@netikras honestly, I have a hard time putting it into words. Once I tried implementing a pattern matching algorithm in typescript. It was like headbanging a wall. Until I decided to write it in JavaScript first and then write its .d.ts file. Things went so smooth I couldn't believe how fast I got it done. Since then, although I rarely write JavaScript, TypeScript feels a bit too patchy
-
@localpost yes, turn it up a notch, go typescript
-
@ars1 I thought Biden and trump were about the same age
-
@Chewbanacas no worries, we'll see it very soon 🤣 not even in my corruption ravaged country there has been a convicted felon running for presidency
-
@Ranchonyx types. I know template literal types could cover it, but, let's say `moms/${number}` has a searchParam with an append_to_response query whose value is a comma separated list of values of type "credits"|"details"|"town" which will have their respective `moms/${number}/${"credits"|"details"|"town"}` response added to `moms/${number}`'s response. We can obviously see there's a root object of which mom's derived but not its "children" URIs, or else they would not be there. It's doable, but, shit, what a chore, even with type manipulation since typescript's type system lacks introspection:/
-
@Ranchonyx how would you handle stuff liks /moms/{mom_id}/[credits|details|towns]?
-
well he could be bitching about how he could be pimping his son instead of raising him
-
obviously, unless I'm invited
-
@macfanpl I've found python to be a delightful language. Incredible stdlib, pattern matching through `match`, walrus operator. Superb typing library that's actually tangible. only thing better for APIs I think would be Erlang. Though a did very little Erlang in my life
-
xrist! Wtf
-
like, I'm sorry for pointing that out. It's just that the info asked on the form, nickname aside, is kind of a bit too valuable nowadays
-
It's the "choose gender" that bugs me, how's it relevant to your game?
-
why the fuck do these people still come here. It's literally the worse place for scamming, like, maybe even dangerous
-
@lorentz and now you've ruined it 🤣
-
that might just be the chilliest rant I've read in my life
-
@lungdart, as always, devops na veia 🤘🏻
-
Green Tea, lots of it. Daily,
-
I read ML and I start craving Ocaml
-
to gracefully fuck it up
-
@NeatNerdPrime a quick and dirty explanation would be languages that don't have their own runtime
-
@Wombat good idea, remember to paste the original license whenever you copypasta so you don't get fucked later on
-
author never looked at it again cuz they may consider it complete. Or, in the worse case scenario, the project's been architectured in a way that's really hard to maintain. Either way, I've 2 suggestions.
1. If the first case is true. Make an extension for that project. Don't add that feature directly.
2. If the second case's true. Make an extension for that project. Don't add that feature directly. -
Seen it, freaked me out. Kept dating her nonetheless
-
more like choosing to ask them for it