<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>kihyun_180days.log</title>
        <link>https://velog.io/</link>
        <description>Feeling of disconnection</description>
        <lastBuildDate>Thu, 15 Aug 2024 18:41:22 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <image>
            <title>kihyun_180days.log</title>
            <url>https://velog.velcdn.com/images/kihyun_180days/profile/f4483341-42da-4981-af10-685467df80ce/social_profile.jpeg</url>
            <link>https://velog.io/</link>
        </image>
        <copyright>Copyright (C) 2019. kihyun_180days.log. All rights reserved.</copyright>
        <atom:link href="https://v2.velog.io/rss/kihyun_180days" rel="self" type="application/rss+xml"/>
        <item>
            <title><![CDATA[for-each와 전통적 for 루프 차이 ]]></title>
            <link>https://velog.io/@kihyun_180days/for-each%EC%99%80-%EC%A0%84%ED%86%B5%EC%A0%81-for-%EB%A3%A8%ED%94%84-%EC%B0%A8%EC%9D%B4</link>
            <guid>https://velog.io/@kihyun_180days/for-each%EC%99%80-%EC%A0%84%ED%86%B5%EC%A0%81-for-%EB%A3%A8%ED%94%84-%EC%B0%A8%EC%9D%B4</guid>
            <pubDate>Thu, 15 Aug 2024 18:41:22 GMT</pubDate>
            <description><![CDATA[<h3 id="전통적인-for-루프">전통적인 for 루프</h3>
<pre><code>for (int i = 0; i &lt; array.length; i++) {
    // array[i]에 접근
}</code></pre><p><strong>특징</strong></p>
<ol>
<li>인덱스를 사용한다.</li>
<li>배열의 요소를 직접 수정이 가능하다.</li>
<li>복잡한 루프 제어가 가능하다.</li>
<li>때때로 더 높은 성능을 발휘할 수 있다. (특히, 인덱스에 대한 연산을 최적화할 수 있는 경우)</li>
</ol>
<h3 id="for-each-루프">for-each 루프</h3>
<pre><code>for (Type element : array) {
    // element에 접근
}</code></pre><p><strong>특징</strong></p>
<ol>
<li>코드가 간결하며, 루프 인덱스를 직접 관리할 필요가 없다.</li>
<li>배열의 요소를 수정할 수 없다.
읽기만 가능하고, 직접 변경하는 것은 불가능하다.</li>
<li>내부적으로 인덱스 관리를 자동으로 수행하므로, 코드 오류를 줄일 수 있다.</li>
<li>배열 뿐만 아니라 <code>List</code>, <code>Set</code>, <code>Map</code> 등 다양한 컬렉션에서 사용할 수 있다.</li>
</ol>
]]></description>
        </item>
        <item>
            <title><![CDATA[[Troubleshooting] Could not connect to Redis at 127.0.0.1:6379: Connection refused]]></title>
            <link>https://velog.io/@kihyun_180days/Troubleshooting-Could-not-connect-to-Redis-at-127.0.0.16379-Connection-refused</link>
            <guid>https://velog.io/@kihyun_180days/Troubleshooting-Could-not-connect-to-Redis-at-127.0.0.16379-Connection-refused</guid>
            <pubDate>Fri, 09 Aug 2024 23:09:44 GMT</pubDate>
            <description><![CDATA[<h3 id="현상">현상</h3>
<p>Redis에 접속 시, 접속이 불가</p>
<blockquote>
<p><span style="color:red;">Could not connect to Redis at 127.0.0.1:6379: Connection refused</span></p>
</blockquote>
</br>

<h3 id="원인">원인</h3>
<p>Redis 서버가 실행되지 않음</p>
</br>

<h3 id="해결">해결</h3>
<p><code>redis-server</code> 명령어 실행</p>
]]></description>
        </item>
    </channel>
</rss>