<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: why java records aren&#8217;t quite immutable	</title>
	<atom:link href="https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/</link>
	<description>Java/J2EE Software Development and Technology Discussion Blog</description>
	<lastBuildDate>Sat, 20 Aug 2022 22:13:56 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-304223</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sat, 20 Aug 2022 22:13:56 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-304223</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-304090&quot;&gt;Dave&lt;/a&gt;.

Sure. But a built in API meets needs in this case.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-304090">Dave</a>.</p>
<p>Sure. But a built in API meets needs in this case.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dave		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-304090</link>

		<dc:creator><![CDATA[Dave]]></dc:creator>
		<pubDate>Fri, 19 Aug 2022 16:03:52 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-304090</guid>

					<description><![CDATA[Another option would be to use an Immutable List implementation like https://www.javadoc.io/static/io.vavr/vavr/0.10.4/index.html?io/vavr/collection/List.html]]></description>
			<content:encoded><![CDATA[<p>Another option would be to use an Immutable List implementation like <a href="https://www.javadoc.io/static/io.vavr/vavr/0.10.4/index.html?io/vavr/collection/List.html" rel="nofollow ugc">https://www.javadoc.io/static/io.vavr/vavr/0.10.4/index.html?io/vavr/collection/List.html</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-295909</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Wed, 13 Apr 2022 12:59:05 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-295909</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-292895&quot;&gt;Srdjan Mitrovic&lt;/a&gt;.

And remember to ake an immutable copy.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-292895">Srdjan Mitrovic</a>.</p>
<p>And remember to ake an immutable copy.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-295905</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Wed, 13 Apr 2022 12:55:50 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-295905</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-295015&quot;&gt;John Morrison&lt;/a&gt;.

Agree. Hence the need to code carefully]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-295015">John Morrison</a>.</p>
<p>Agree. Hence the need to code carefully</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: John Morrison		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-295015</link>

		<dc:creator><![CDATA[John Morrison]]></dc:creator>
		<pubDate>Sat, 02 Apr 2022 12:05:32 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-295015</guid>

					<description><![CDATA[Exposing mutable state is dangerous.]]></description>
			<content:encoded><![CDATA[<p>Exposing mutable state is dangerous.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Srdjan Mitrovic		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-292895</link>

		<dc:creator><![CDATA[Srdjan Mitrovic]]></dc:creator>
		<pubDate>Tue, 01 Mar 2022 13:29:00 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-292895</guid>

					<description><![CDATA[You should use List chapters
as parameter so it would not allow you to add new chapters but you could read the chapters.]]></description>
			<content:encoded><![CDATA[<p>You should use List chapters<br />
as parameter so it would not allow you to add new chapters but you could read the chapters.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Jeanne Boyarsky		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-273926</link>

		<dc:creator><![CDATA[Jeanne Boyarsky]]></dc:creator>
		<pubDate>Sun, 01 Aug 2021 15:22:40 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-273926</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-273924&quot;&gt;isopov&lt;/a&gt;.

@isopov Good point. Fixed both. Using List.copyOf now]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-273924">isopov</a>.</p>
<p>@isopov Good point. Fixed both. Using List.copyOf now</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: isopov		</title>
		<link>https://www.selikoff.net/2021/08/01/why-java-records-arent-quite-immutable/comment-page-1/#comment-273924</link>

		<dc:creator><![CDATA[isopov]]></dc:creator>
		<pubDate>Sun, 01 Aug 2021 15:10:16 +0000</pubDate>
		<guid isPermaLink="false">https://www.selikoff.net/?p=15178#comment-273924</guid>

					<description><![CDATA[&#062;Making the record actually be mutable
Seems to be misprint - &quot;actually immutable&quot; supposed?

And unfortunately this does not make record truly immutable - original chapters variable may be modified after record creation and record will be changed.]]></description>
			<content:encoded><![CDATA[<p>&gt;Making the record actually be mutable<br />
Seems to be misprint &#8211; &#8220;actually immutable&#8221; supposed?</p>
<p>And unfortunately this does not make record truly immutable &#8211; original chapters variable may be modified after record creation and record will be changed.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
