Fork me on GitHub
#other-languages
<
2022-01-02
>
emccue23:01:35

^i made enough changes to that that it might actually be useful. At worst i lit a bit of a fire under existing packages

emccue23:01:42

One thing i’m not quite sure exactly how to do is error messages, though i wrote it so that it gives errors with context like ParsingList [ row = 0, col = 0 ], ParsingMap [row=4, col = 0], UnexpectedEndOfInput [row = 7, col = 0]

emccue23:01:50

but presumably something can be done with that

emccue23:01:37

I don’t know why but i’ve had a lot of energy lately so i’ve also been working on an “idiomatic” java wrapper for tools.build

emccue23:01:28

one thing thats been kinda interesting is how i have to translate “dynamic” patterns to static types

seancorfield23:01:59

Yeah, I've seen your posts about that -- what motivated that Java wrapper?

emccue23:01:35

the thought that there really isn’t much about deps.edn as a format/structure that means it has to be clojure only

emccue23:01:11

and my general frustrations with this

emccue23:01:08

its supposed to be like an “endorsed” place to learn java, but its written pretty incoherently and with strange focuses

emccue23:01:44

like why does half of the community page just tell you license information for jpegs? https://dev.java/community/

emccue23:01:40

and there is no method to contribute to it / change it

emccue23:01:56

which in a roundabout way led back to my memories of fielding questions about maven and gradle and how obtuse it is to understand what is happening

seancorfield23:01:31

TBH, that site is so, so, so much better than what the dev onramp used to be for Java...

seancorfield23:01:16

And folks used to criticize http://clojure.org for being a poor onramp too, just a few years ago. It's gotten better.

emccue23:01:25

One of those folks is me

emccue23:01:11

but im more invested in java’s onramp because it affects way more people

seancorfield23:01:44

That community page for dev.java is... terrible tho', I agree... I mean, it totally is not welcoming and makes the community sound very "gated" and distant to me...

emccue23:01:51

> Java is an object-oriented language. If this technical term does not mean anything to you, do not worry, all you need to remember at this point is that all the code you write must be held in a Java class. So then why did you mention it? You haven’t even told them what a class is yet

emccue23:01:31

its also not (really) a technical term. its also two terms

emccue23:01:36

> Just a word of warning: you should be using a plain text editor to create and save this file. Using a word processor will not work. The kind of person who will use a word processor by mistake does not know what a plain text editor is

emccue23:01:17

like yeah its not https://wozniak.ca/blog/2018/06/25/1/index.html - but its frustrating because it could be good

emccue23:01:42

> makes the community sound very “gated” and distant to me I have yet to see this proven false

emccue23:01:04

i am honestly still not sure where any sort of stable “community” lives