Fork me on GitHub
#off-topic
<
2018-01-21
>
qqq02:01:50

anyone here writen raw postscript by hand before ?

qqq02:01:03

I'm fasicnated about how it differes from forth and how it supposedly has multiple stacks (beyond just instr and data)

akiroz03:01:36

Only for fun, made my school's printer do fractals once...

qqq03:01:23

@akiroz: what are your thoughts on postscript vs svg ?

qqq03:01:42

I'm building a little gfx library in cljs, and am tempted to write a mini postscript interpreter

akiroz03:01:26

hard to compare... SVG is not a programming language

akiroz03:01:44

I'd hate to use PS for any real work TBH, drawing instructions are not fun to read.

qqq04:01:04

isn't the theory that in a forh like languatge you build up 'primitive words' that act as functions

qqq04:01:12

so you build a 'vocab' dsl for the type of figures ou want to draw

noisesmith04:01:37

postscript has functions, but I think most ps in the world is terrible machine generated stuff not suitable for human consumption http://rigaux.org/language-study/syntax-across-languages-per-language/PostScript.html

fellshard05:01:52

That's the idea, qqq

qqq06:01:47

@noisesmith: the problem with that argument is that one can replace PS with ASM and the statements would still hold

matan14:01:55

Have you had experience teaching clojure to very novice programmers?

matan14:01:27

Were they better to pick it up than experienced ones used to other paradigms?

Drew Verlee18:01:55

I found that the person's experience wasnt a problem, time and stress were. Someone doesn't want to spend energy on a new way to do the same thing

Drew Verlee18:01:36

People that don't know any method, obviously don't have that issue

seancorfield19:01:01

@matan I have, as part of ClojureBridge -- http://clojurebridge.org -- and for the basics of Clojure, it doesn't really matter whether they have programming experience or not. Beyond the basics, I've seen folks with a purely OOP background have a harder time "getting" FP and immutability etc...

matan19:01:15

Question that remains is whether people without OOP background or much programming background are able to get up to speed. E.g. take the average data scientist who only knows some python.

sveri20:01:54

I once read a book about "intelligence" and knowledge and stuff like that. I dont remember much, but the main takeaway was that in general, people that are able to compare problems to other problems they already solved before (independent of domain) and are able to find similarities in these problems in general perform better and faster in solving new problems that have been unknown to them.

fellshard22:01:56

I've experienced this regularly. It affects how we internally model the problems and solutions. There's a flipside to this, though, in that this approach can also lead us to miss areas where problems differ from our experience; we can reach too easily for the known, and not discover the unknown. In general, when you see a solution model that just doesn't seem to 'fit' the problem you're working with (a la DDD), chances are you picked a problem model that wasn't as similar as you'd thought.

sveri20:01:37

So I would say you cannot divide people in to "know OOP" vs "dont know programming" but something else, whatever the name for this kind of adoption is.

tbaldridge21:01:57

People do come with biases, and I've found that in general the less biases they have in conflicting views of programming the easier it is. So teaching junior devs who learned about OOP last year is much easier than a intermediate dev who perhaps has been immersed in hard-core OOP for the past decade.

tbaldridge21:01:06

Same goes for types, and a lot of other things

tbaldridge21:01:31

But even that depends on how sold the person is on these concepts. Teaching someone FP when they don't have any problems with OOP isn't easy, because you'll have to constantly justify why something is "different" or "harder" than OOP.

tbaldridge21:01:23

In my case I listened to "Are We There Yet" and my head hit the desk because every problem Rich identitifed was something my employer was doing at that exact moment.

tbaldridge21:01:33

So FP was an easy sell to me.