<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Clojure Q&amp;A - Recent questions and answers in Beginner</title>
<link>https://ask.clojure.org/index.php/qa/beginner</link>
<description></description>
<item>
<title>Answered: Trying to extract vec from vec - conj not working?</title>
<link>https://ask.clojure.org/index.php/14838/trying-to-extract-vec-from-vec-conj-not-working?show=14840#a14840</link>
<description>&lt;p&gt;Thanks Harold. I see. &lt;/p&gt;
&lt;p&gt;For others coming here Harolds comment above is the answer (I don't know how to select it as the answer directly).&lt;/p&gt;
</description>
<category>Beginner</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14838/trying-to-extract-vec-from-vec-conj-not-working?show=14840#a14840</guid>
<pubDate>Mon, 15 Dec 2025 04:02:15 +0000</pubDate>
</item>
<item>
<title>Answered: Can you help me choosing a book?</title>
<link>https://ask.clojure.org/index.php/14693/can-you-help-me-choosing-a-book?show=14694#a14694</link>
<description>&lt;p&gt;Yes, that's still a fine choice, even though some things have been added since it was written.&lt;/p&gt;
&lt;p&gt;See &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojure.org/guides/getting_started#_how_do_i_learn_the_language&quot;&gt;https://clojure.org/guides/getting_started#_how_do_i_learn_the_language&lt;/a&gt; for some more resources.&lt;/p&gt;
</description>
<category>Beginner</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14693/can-you-help-me-choosing-a-book?show=14694#a14694</guid>
<pubDate>Tue, 26 Aug 2025 16:54:53 +0000</pubDate>
</item>
<item>
<title>Answered: How to call a function in another ns in lein repl?</title>
<link>https://ask.clojure.org/index.php/14330/how-to-call-a-function-in-another-ns-in-lein-repl?show=14331#a14331</link>
<description>&lt;p&gt;Using &lt;code&gt;adventofcode.2024.day7&lt;/code&gt;, you have to require it as &lt;code&gt;adventofcode.2024.day7&lt;/code&gt;, not as &lt;code&gt;adventofcode.2024&lt;/code&gt;. Tab completion might not work properly because the middle part of the namespace is a number, but I'm not sure - in any case, don't rely on tab-completion alone.&lt;/p&gt;
&lt;p&gt;So, suppose you have a function &lt;code&gt;f&lt;/code&gt; in that namespace. Require it as &lt;code&gt;[adventofcode.2024.day7 :as day7]&lt;/code&gt; or with some other alias that you prefer, and call &lt;code&gt;f&lt;/code&gt; from &lt;code&gt;adventofcode.core&lt;/code&gt; as &lt;code&gt;(day7/f)&lt;/code&gt;, that's it.&lt;/p&gt;
&lt;p&gt;The only problem with that naming is if you decide to use the generated classes from Java-the-language. It doesn't support numeric package segments, even though JVM does support them.&lt;/p&gt;
</description>
<category>Beginner</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14330/how-to-call-a-function-in-another-ns-in-lein-repl?show=14331#a14331</guid>
<pubDate>Sun, 12 Jan 2025 09:37:58 +0000</pubDate>
</item>
<item>
<title>Answered: Is learning java necessary before diving into clojure?</title>
<link>https://ask.clojure.org/index.php/14311/is-learning-java-necessary-before-diving-into-clojure?show=14312#a14312</link>
<description>&lt;blockquote&gt;&lt;p&gt;I've been advised that learning Java is necessary before diving into Clojure.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;That was a bad advice. Learning Java would be helpful, but it's not necessary. And &lt;em&gt;if&lt;/em&gt; you end up needing some Java, 95% of the time you need to know just the syntax, the behavior, and the specific functionality that you need - not the whole suite of things that Java offers in its standard library.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Java is vast and verbose, and mastering it can take years, not just a few months.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;There's Java-the-language and there's its standard library. The first is not an ocean by any means - it's still larger than Clojure, but is definitely doable. You can get comfortable with all its main features in under a week.&lt;br&gt;
And the standard library - just search online for a specific thing you need to do, when you need to do it. Knowing everything in advance would be helpful, but learning everything in advance is likely to be a waste of time.&lt;/p&gt;
&lt;blockquote&gt;&lt;p&gt;Is it possible to effectively learn Clojure without a deep understanding of Java? Any tips or resources to achieve this?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I used the official reference, docstrings, the source code, and examples at &lt;a rel=&quot;nofollow&quot; href=&quot;https://clojuredocs.org/&quot;&gt;https://clojuredocs.org/&lt;/a&gt;. Someone else would use books, tutoring, videos, etc. - it depends on what you prefer.&lt;/p&gt;
&lt;p&gt;The first time I used Clojure in any serious capacity was to implement a take-home task at a job I was applying to. Ironically, the job was in Java and I didn't know Java, but they accepted solutions in any language. I haven't read or written a line in Java or even about Java in order to implement that task and get accepted.&lt;/p&gt;
</description>
<category>Beginner</category>
<guid isPermaLink="true">https://ask.clojure.org/index.php/14311/is-learning-java-necessary-before-diving-into-clojure?show=14312#a14312</guid>
<pubDate>Wed, 25 Dec 2024 10:05:10 +0000</pubDate>
</item>
</channel>
</rss>