The points about encapsulation are pointed at immutable fields (which are
public) and don't hold for mutable fields, which are provided as an
advanced mechanism for building higher-level constructs.
The deftype docstring says:
Fields can be qualified
with the metadata :volatile-mutable true
This is my roughly-annual check-in to see if there are new good
editing/execution options for me to use in my Clojure teaching and coding.
My requirements are:
- Simple installation/setup, even for new programmers, on Mac/Win/Linux
- Usable by new programmers without significant training or lea
I think Atom and VSCode are probably the two additional ones you might want
to look into?
On Monday, August 27, 2018 at 8:45:34 AM UTC-5, Lee wrote:
>
> This is my roughly-annual check-in to see if there are new good
> editing/execution options for me to use in my Clojure teaching and coding.
>
Thanks Alex.
I've tried Atom periodically and just updated/reinitialized to try again.
Unfortunately, I don't see syntax-aware re-indentation, which may be what
has always prevented me from using this in the past. Am I just missing it?
VSCode is a new one for me, and I've just tried it. Not gr
I find intellij + cursive to be pretty darn easy to use, and the repl has
an option to turn off parinfer. That said, I'm not a beginner. The only
drawback that I can think of other than price is that the clojure
functionality is mostly put under a single menu and it's sometimes awkward
to navigate
Thanks Rick.
Just tried Cursive again but it still seems to fail pretty badly on newbie
setup and usability, which is what has hung me up in the past.
tldr: A half hour or so after a fresh install and going through the Getting
Started instructions I still don't have a REPL (confused about Run
Yeah, I actually just create projects with lein. If you right click on a
project.clj you can just fire up a repl via lein and it works really well.
There's 3 choices for parenthesis, there's again a little button on the
bottom right to switch between parinfer/paredit and off. You can customize
all
Probably true that my requirements are a bigger challenge for
multi-language IDEs. I thought Eclipse/Counterclockwise did a reasonable
job of it back when that was an active project, but it was a bit rough too,
since there was a lot of incidental and distracting complexity in dealing
with Ecli
I haven't tried it, but
https://atom.io/packages/clojure-indent ?
Aria Media Sagl
+41 (0)76 303 4477 cell
skype: ariamedia
On Mon, Aug 27, 2018 at 5:30 PM, 'Lee' via Clojure wrote:
>
> Probably true that my requirements are a bigger challenge for
> multi-language IDEs. I thought Eclipse/Cou
I see, actually that makes a lot of sense. I always kind of disagreed with the
encapsulation is folly mentra. But if you add to it, of immutable data, it
makes more sense.
A few more related questions.
1) I gathered the fields are made package restricted. Is that correct?
2) It seems methods d
Maybe a good new approach would be to combine working with CLI and some
minimal or existing editor that just supports bracket-matching and
re-indentation?
I'm led to this from listening to David Nolen's "Embracing Simpler Tools"
(https://www.youtube.com/watch?v=F0Lv53lop2g), although I'm takin
Have you tried maria.cloud? Its only ClojureScript, but in the Jupiter style
seems to meet your needs.
Though you can't add dependencies to it as far as I know.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clo
Interesting.
I've now installed clojure-indent and it looks like it improves indentation
when you type a newline, but doesn't provide a way to re-indent the current
line or selection, which is the key feature. Maybe it's there but I don't
see it?
I guess one could delete and then re-enter eac
Thanks Didier -- I have checked that out and it's cool!
But what I'm looking for has to be able to handle ordinary projects, with
files and dependencies, etc.
-Lee
On Monday, August 27, 2018 at 2:44:36 PM UTC-4, Didier wrote:
>
> Have you tried maria.cloud? Its only ClojureScript, but in the
It’s under one of the code or refactor menus, you can auto-format or
auto-indent.
> On Aug 27, 2018, at 11:30 AM, 'Lee' via Clojure
> wrote:
>
>
> Probably true that my requirements are a bigger challenge for multi-language
> IDEs. I thought Eclipse/Counterclockwise did a reasonable job of i
Ah -- thank you!
Now I can re-indent in Cursive, although it doesn't do the right thing
after defn, etc. What do Cursive users do to get standard indentation?
Playing a bit more I see some other with basic editing, even in "Structural
Off" mode. Like if you type "(defn foo" and hit return, th
On Monday, August 27, 2018 at 1:39:29 PM UTC-5, Didier wrote:
>
> I see, actually that makes a lot of sense. I always kind of disagreed with
> the encapsulation is folly mentra. But if you add to it, of immutable data,
> it makes more sense.
>
> A few more related questions.
>
> 1) I gathered t
On Monday, August 27, 2018 at 2:56:37 PM UTC-5, Alex Miller wrote:
>
>
>
> On Monday, August 27, 2018 at 1:39:29 PM UTC-5, Didier wrote:
>>
>> I see, actually that makes a lot of sense. I always kind of disagreed
>> with the encapsulation is folly mentra. But if you add to it, of immutable
>> d
Lee,
Perhaps https://atom.io/packages/atom-beautify will do what you want.
With Parinfer disabled, I can select and shift-tab all code to the left
margin, removing all indentation. Then when I run Atom Beautify on the
file, all indentation is restored.
Aria Media Sagl
+41 (0)76 303 4477 cell
s
Have you had a look at Nightcode?
https://sekao.net/nightcode/
Erik.
--
i farta
> 27. aug. 2018 kl. 22:00 skrev Nando Breiter :
>
> Lee,
>
> Perhaps https://atom.io/packages/atom-beautify will do what you want.
>
> With Parinfer disabled, I can select and shift-tab all code to the left
> m
Aha -- atom-beautify does seem to work!
Excellent.
This will lead me to consider Atom further.
Would you recommend it for editing only, or also for REPLs etc? I just
tried proto-repl but this leads to errors and confusion. Still, if it works
well as just an editor then perhaps I could pair it
Alas, current Nightcode forces use of parinfer, unless something has
changed very recently.
Previous versions of Nightcode met all of my requirements and I used them
for teaching, and liked it quite a lot.
But parinfer is a problem. One of my requirements is that the editor acts
mostly like a
Not sure what errors you are seeing. I’ve found proto-repl to be reliable.
If I recall correctly, the project you are using proto-repl with has to be
the topmost. I will check this for you.
Aria Media Sagl
On 27 Aug 2018, at 22:51, 'Lee' via Clojure
wrote:
Aha -- atom-beautify does seem to wor
Ah -- after quitting and restarting Atom the error (which I was getting
from Start REPL), the error is gone, and it appears to work nicely.
Thanks again!
So Atom + atom-beautify + proto-repl might do much of what I need, with
relatively painless installation and setup.
I guess this still requ
24 matches
Mail list logo