Advertisement
logicmoo

Untitled

Mar 18th, 2020
2,826
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. [21:43] <gilbert9> what about prolog appeals to you? Considering you seem to favor the lower end of the stack :)
  2. [21:57] <dmiles> i can say what appeals to me.. after a year of writting graphics libs in 6809 assembly code and realizing that everything i was about to do was going to be mentally challenging as the previous thing i just did.. my tollerance got so high i'd felt i could take on pretty much any challenge no matter how much hobbbling my language did to me
  3. [21:59] <dmiles> now writting in prolog i _could_ often feel just as screwed over trying to do "typical things".. but in ASM there was never any light.. In prolog there is the fact that i am writting 100s of processing macros .. and there is light the whole time
  4. [22:00] <dmiles> sort of the way OO or languages like Haskell bring about some comfort on this front
  5. [22:01] <dmiles> the difference though is in prolog there is less stupid busy work to get there
  6. [22:03] <dmiles> example, of the pain that is inflicted in OO .. I was writting a mesaging system between a robot and a robot controller.. Each type of message had a verb and some args.. There was this stupid busy work to make each type of message corispond to an Object with fields that could be verified
  7. [22:04] <dmiles> and of course methods to send these messages and of course pull them off TCP
  8. [22:04] * python476 (~user@i16-les04-th2-62-35-93-236.sfr.lns.abo.bbox.fr) has joined ##prolog
  9. [22:04] <dmiles> and turn them back and forth into objects
  10. [22:05] <dmiles> once an object, they had to do whatever on thhe robot such as move a servo to a position etc etc
  11. [22:06] <dmiles> all of this had nothing at all to do with anything usefull
  12. [22:06] <dmiles> it was like pain for the sake of pain
  13. [22:07] <dmiles> in prolog I ended up doing all the same code (networking and all) in about 100th the ammount of code
  14. [22:08] <dmiles> only 10% of that code was BS to please the language
  15. [22:09] <dmiles> vs in Scala 98% was BS
  16. [22:09] <dmiles> that didnt do anything other than please some pendantic language designer
  17. [22:12] <dmiles> i feel the same way about almost every language except maybe lisp and ASM
  18. [22:13] <dmiles> just with ASM I felt it never cut me slack the way prolog can
  19. [22:14] <dmiles> ASM there was no free lunch.. and you work hard the entire time.. Prolog if you expect to work _that_hard_ you are the happiest person ever
  20. [22:14] <python476> dmiles: what's the context ? (topic seems interesting)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement