samth changed the topic of #racket to: Racket v7.7 has been released: https://blog.racket-lang.org/2020/05/racket-v7-7.html -- Racket -- https://racket-lang.org -- https://pkgs.racket-lang.org -- Paste at http://pasterack.org
badkins has quit [Ping timeout: 256 seconds]
notzmv has quit [Ping timeout: 246 seconds]
badkins has joined #racket
notzmv has joined #racket
acarrico has quit [Ping timeout: 260 seconds]
catonano_ has joined #racket
badkins has quit [Remote host closed the connection]
catonano has quit [Ping timeout: 240 seconds]
catonano_ is now known as catonano
badkins has joined #racket
badkins has quit [Remote host closed the connection]
badkins_ has joined #racket
badkins_ has quit [Read error: Connection reset by peer]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
evhan has quit [Quit: De IRC non curat rex...]
evhan has joined #racket
epony has quit [Quit: reconfigure]
epony has joined #racket
Batzy has joined #racket
tilpner_ has joined #racket
tilpner has quit [Ping timeout: 256 seconds]
nullman has quit [Ping timeout: 256 seconds]
tilpner_ is now known as tilpner
ephemera_ has quit [Ping timeout: 256 seconds]
juanfra has quit [Ping timeout: 256 seconds]
dataangel has quit [Ping timeout: 256 seconds]
dataangel has joined #racket
juanfra has joined #racket
ephemera_ has joined #racket
pounce has quit [Ping timeout: 264 seconds]
pounce has joined #racket
nullman has joined #racket
_whitelogger has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
endformationage has quit [Quit: WeeChat 2.7.1]
Batzy has quit [Quit: Leaving]
bocaneri has joined #racket
nebunez has quit [Ping timeout: 260 seconds]
orivej has quit [Ping timeout: 256 seconds]
YuGiOhJCJ has joined #racket
Sgeo has quit [Read error: Connection reset by peer]
FreeFull has joined #racket
justsomeguy has joined #racket
badkins has joined #racket
justsomeguy has left #racket [#racket]
notzmv has quit [Ping timeout: 256 seconds]
badkins has quit [Ping timeout: 256 seconds]
orivej has joined #racket
orivej has quit [Quit: orivej]
hendursa1 has joined #racket
hendursaga has quit [Ping timeout: 240 seconds]
badkins has joined #racket
badkins has quit [Ping timeout: 246 seconds]
winny has joined #racket
winny has quit [Changing host]
notzmv has joined #racket
orivej has joined #racket
TCZ has joined #racket
badkins has joined #racket
badkins has quit [Ping timeout: 244 seconds]
nullcone has quit [Quit: Connection closed for inactivity]
notzmv has quit [Remote host closed the connection]
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #racket
badkins has joined #racket
YuGiOhJCJ has quit [Quit: YuGiOhJCJ]
badkins has quit [Ping timeout: 260 seconds]
badkins has joined #racket
orivej has quit [Ping timeout: 260 seconds]
acarrico has joined #racket
orivej has joined #racket
phwalkr has joined #racket
Batzy has joined #racket
<Batzy> why does the syntax for lispy languages look so bad
<bremner> that sounds like a weak attempt at trolling. Do you have a real question?
TCZ has quit [Quit: Leaving]
<nisstyre> why does the syntax for C look like a bunch of random asterisks and semicolons?
<vejetaryenvampir> why do we use letters to write code?!
<vejetaryenvampir> just punch card everything already :P
<Batzy> C syntax looks pretty decent
<Batzy> there's not parenthesis overload
<nisstyre> until you try to declare a function pointer
<vejetaryenvampir> lol
<vejetaryenvampir> Every language has its pros and cons. The good thing about "Lispy" languages is that because of everything is expression, it is so easy to read code (everything is my opinion, though).
orivej has quit [Ping timeout: 265 seconds]
Sgeo has joined #racket
TCZ has joined #racket
<Batzy> vejetaryenvampir, I'm new to Lisp
<Batzy> I guess you could tell
<Batzy> I wanted to get more familiar with functional programming
<vejetaryenvampir> (Everything is my very own thoughts) Functional programming is so simple to understand. That's why I like it. It is pretty much like math with longer variable names and more types.
nullcone has joined #racket
orivej has joined #racket
<nisstyre> don't become one of those people who posts the "OOP is so dumb lol" stuff on twitter though, please
<nisstyre> that is cringey
<nisstyre> very often they think OOP = "classes and inheritance"
<vejetaryenvampir> nisstyre: are you talking to me?
<nisstyre> vejetaryenvampir: no
<nisstyre> Batzy
<vejetaryenvampir> very well
<Batzy> vejetaryenvampir, well I'm a mathematician so
<Batzy> I was looking at haskell syntax...and it was nice
orivej has quit [Ping timeout: 265 seconds]
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
TCZ has quit [Quit: Leaving]
badkins has joined #racket
caltelt has joined #racket
MetaHertz has joined #racket
MetaHertz has quit [Ping timeout: 246 seconds]
MetaHertz has joined #racket
MetaHertz has quit [Remote host closed the connection]
MetaHertz has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 256 seconds]
CodeSpelunker has joined #racket
msiism has joined #racket
orivej has joined #racket
<msiism> I'm doing a little experiment concenring recursion vs. iteration and the recursion part is giving me headaches. Here's the code: https://paste.debian.net/plainh/166d5d9b/
<msiism> There are two problems with that, obviously: 1. The recrusion counts down, not up. 2. I don't actually want the value of the exit case to be visible.
<bremner> msiism: try moving the printf
<msiism> Ok, let me think about that.
<bremner> i.e. you want to print the current case _after_ all the smaller cases are recursively solved
ephemera_ has quit [Quit: No Ping reply in 180 seconds.]
TCZ has joined #racket
ephemera_ has joined #racket
<msiism> bremner: Thanks for the tip. I'll try to figure it out.
<msiism> Okay, putting the printf at the end solved both problems… I think I get how it solved the first problem. Oh, and I think I also get how it solved the second one. Only the evaluation of the last expression in a function is returned, right?
<bremner> right
* msiism makes some notes
nebunez has joined #racket
endformationage has joined #racket
CodeSpelunker has quit [Quit: CodeSpelunker]
<msiism> Another question I had about this: I "naturally" implemented the recursive function as one that counts down. And I have a feeling that that is the way to go and trying to count up instead would not really work.
CodeSpelunker has joined #racket
<bremner> msiism: you can also pass extra parameters, perhaps to a helper function to preserve the "interface". A simple example would be to pass the stopping count as an extra parameter
<bremner> and define an inner function with one more parameter
<msiism> Right, I was just going to say: counting down makes it a bit easier to set a limit, as it seems.
<bremner> yep
<msiism> I see.
Batzy has quit [Ping timeout: 244 seconds]
bocaneri has quit [Remote host closed the connection]
<msiism> bremner: Thanks again for your help. Have a nice day.
msiism has left #racket [#racket]
TCZ has quit [Quit: Leaving]
badkins has joined #racket
badkins has quit [Ping timeout: 260 seconds]
winny has quit [Ping timeout: 256 seconds]
aeth is now known as `\
winny has joined #racket
`\ is now known as aeth
badkins has joined #racket
MetaHertz has quit [Ping timeout: 256 seconds]
TCZ has joined #racket
CodeSpelunker has quit [Quit: CodeSpelunker]
phwalkr has quit []
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
badkins has joined #racket
TCZ has quit [Quit: Leaving]
nebunez has quit [Ping timeout: 264 seconds]
krjst has quit [Remote host closed the connection]
krjst has joined #racket
badkins has quit [Remote host closed the connection]
badkins has joined #racket
badkins has quit [Ping timeout: 264 seconds]
badkins has joined #racket
ullbeking has quit [Ping timeout: 246 seconds]
ullbeking has joined #racket
iyzsong has quit [Quit: ZNC 1.7.5 - https://znc.in]
iyzsong has joined #racket