<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Daniel Peña</title>
    <description>The latest articles on DEV Community by Daniel Peña (@danielpena).</description>
    <link>https://dev.to/danielpena</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F858104%2Fcc782d7d-a77c-4e62-a851-6e4a055404ad.png</url>
      <title>DEV Community: Daniel Peña</title>
      <link>https://dev.to/danielpena</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/danielpena"/>
    <language>en</language>
    <item>
      <title>[Es] Por fin descubrí el secreto para programar ¡No lo podrás creer!</title>
      <dc:creator>Daniel Peña</dc:creator>
      <pubDate>Mon, 14 Nov 2022 01:23:06 +0000</pubDate>
      <link>https://dev.to/danielpena/es-por-fin-descubri-el-secreto-para-programar-no-lo-podras-creer-56no</link>
      <guid>https://dev.to/danielpena/es-por-fin-descubri-el-secreto-para-programar-no-lo-podras-creer-56no</guid>
      <description>&lt;p&gt;Hola de nuevo, de seguro viste el título y pensaste “es click bait” y la verdad es sí… y no, te explico, tiene click bait, porque no es secreto, todo aquel que domina el arte de codificar, seguro estará de acuerdo con lo que comentaré en esta entrada.&lt;/p&gt;

&lt;p&gt;En mi post anterior, comente que no era un ejemplo a seguir a la hora de ser aplicado en lo que a constancia y programación se refiere, pero como parte de mi cambio decidí transformar ciertas cosas para mejorar esto. En fin, no nos desviemos del tema, siempre fui malo en programación, en la universidad pase gracias a mis compañeros (lo que no me enorgullece) e incluso después abandone por completo la idea de volver a tocar código, no quería saber nada ¡pero nada! Pasaron los años (leíste bien, años) y por azares del destino, comencé a crear sitios web con mi amigo, él es lo contrario a mí, es como bob esponja a la hora de absorber conocimiento, con decir que en dos horas aprendió flexbox, lo que a mí me tomo mucho tiempo, mi interior se preguntaba ¿Cómo lo hacía? O le decía “También quiero vivir ese hermoso sueño, don pool”, lamentablemente, volvía a repetir las malas costumbres de antaño, de no hacer nada y dejar que los demás hagan todo por mí, esta vez no será así… Comencé con crear botones en HTML, CSS y antes que digas que usar estas tecnologías, no es programar, dame un momento y te explico. Cuando hablamos de programar viene a nuestra mente la terrorífica palabra «lógica» ¡uf! Odio eso, como sabrás a muchos nos cuesta y otros vienen de fábrica con ese privilegio ¿Eres de este exclusivo grupo? Si la respuesta es no, te diré que ellos usan su don, nosotros usaremos traspiración.&lt;/p&gt;

&lt;p&gt;Te comentaré cuál es el secreto, y es constancia y repetición ¿Qué? ¿Esperabas magia negra? Cuando lo descubrí pensé “cuanto tiempo perdido” ¡ahora! Es importante subrayar un inciso, cada uno es un mundo y existen muchas formas para alcanzar este objetivo, yo hablare de este, pero puedes optar por, diagramas de flujo, tutoriales, servilletas, etc.&lt;/p&gt;

&lt;p&gt;Yo sufrí del síndrome «Loop del tutorial», ¡es terrible! Ver y ver videos, algunos de ellos de horas de reproducción, ¿Los practicaba? No… ahora hago una serie de pasos, para mejorar mis hábitos y lógica de programación.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Constancia&lt;/strong&gt;: nada de esto ocurriría sin esta bendita palabra, será la llave del éxito, si practicas aunque sea una hora al día, verás que con el paso del tiempo y por acto de magia dominaras ciertos conceptos que ahora no manejas ¿Por qué? Por la…&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Repetición&lt;/strong&gt;: Soy un fanático de películas como “El señor de los anillos” e “interestelar”, las he visto muchas veces, tanto que sé qué dirán ¿Curioso? Seguro también te ha pasado, o con la música, o como crees que te sabes esos temones de reggaetón, en la programación no es diferente, cuando veía como hacer un “IF” creía ya saberlo, lo dejaba de lado pensando “ya lo sé”, qué equivocado estaba, cada vez que necesitaba de esta condicional, tenía que recurrir a san Google ¿que pasa si lo hubiera practicado día a día? ¡Bingo! Así es… serías un Yedi del IF, sabrías como escribirlo correctamente, sus trucos, y más.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bonus 1&lt;/strong&gt;: no te dejaré solo con eso, digamos que te gustan los tutoriales, lo realizas como te dicen en el video o artículo escrito, y te sale a la perfección, ¿Lo lograste? Sí, pero no ¿Volviste a repetir el ejercicio? Seguro que no, es importante que lo vuelvas a repetir, para acostumbrar tu cerebro a eso nuevo que estás aprendiendo, ¿Creaste un ejemplo similar pero con adiciones tuyas? Seguro, no es tu primer tutorial, y has aprendido otras cosas, es aquí donde debes hacerlo, no te quedes con lo aprendido del tutorial, agrega módulos nuevos, anota sentencias que desconoces de su origen, para investigarlo por tu cuenta.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Bonus 2&lt;/strong&gt;: cuando sigues un proyecto grande de un tutorial, ejemplo un login con registro de usuarios a una base de datos, uno lo sigue paso a paso, pasando por estilos y código extremadamente largo y tedioso, no digo que está mal, cuando te toque crearas más código, créeme, pero que pasa si haces un producto mínimo viable, crea un botón sin estilos con la funcionalidad de “inicio de sesión” ni más ni menos, después creamos un repositorio privado en GitHub con el título “inicio-sesión-simple”, o “conexión-base-de-datos-simple” ahora sabremos como hacerlo y como piezas de lego, unirlo a proyectos futuros que necesitemos de esta funcionalidad.&lt;br&gt;
Bueno, ya sabes como creo que se debe aprender a programar y desarrollar la lógica de programación, no dudes en dejar tus pensamientos en los comentarios, recuerda que nada está escrito en piedra, lo importante es que no pierdas las constantes ganas de aprender y te aseguro que terminaras trabajando para mí… perdón para Google, empresa TECH o sacar adelante tus proyectos personales.&lt;/p&gt;

&lt;p&gt;Nos vemos en el siguiente post, ¿por qué? ¿No te conté? Igual ocupó esta técnica para publicar domingo a domingo un artículo.&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>programming</category>
      <category>productivity</category>
      <category>spanish</category>
    </item>
    <item>
      <title>Discipline will defeat intelligence sooner or later.</title>
      <dc:creator>Daniel Peña</dc:creator>
      <pubDate>Mon, 30 May 2022 00:09:34 +0000</pubDate>
      <link>https://dev.to/danielpena/discipline-will-defeat-intelligence-sooner-or-later-4okg</link>
      <guid>https://dev.to/danielpena/discipline-will-defeat-intelligence-sooner-or-later-4okg</guid>
      <description>&lt;p&gt;Hello everyone, my name is Daniel and I live in Chile, this is my first post, and I wanted to develop it with a subject that I dominate, and no, it is not discipline, I characterize myself as a very restless person, when I start my activities in front of computer, I turn it on and my reflex is not to open my code editor, but to open YouTube and see what the cats are doing. The title is nice to read, but it's not mine, it's from Yokoi Kenji, A well-known youtuber of Colombian-Japanese nationality. But it couldn't be more exact, at least in my life, when I entered university to study programming analyst, I entered with a lot of illusion, typical of when one begins, but time put out the fire, perhaps because it would be overwhelming to know a lifestyle that I did not know in my day to day, I finished the degree... How? With the help of my friends and my intelligence, yes, I consider myself intelligent, but what is it worth? It's like seeing a talented soccer player, but he disappears, because he wasn't constant, and we have many examples, of course from that student stage, in terms of knowledge, I have nothing left.&lt;/p&gt;

&lt;p&gt;When I left I was living with my aunt and she saw that I was doing nothing for my life, she kicked me out of the house (I don't blame her, that's what anyone would do in her place) and this was a big turning point in my life... I decided to move to the capital, with two points against me, the first, I had no money, but nothing, only for the outward journey, second, I have a disability that forces me to stay in a wheelchair for life I did not mention it at the beginning, because I do not want this to become something to be sad about, but I mention it to put the context, well, with this against me, I decided to jump, because I'm not a coward, when I arrived I had to stay in a place for homeless people, at this point we could say that it would be terrible to face this reality, but I did not see it that way, and there is the word "Discipline", which had a great impact on my life, it had to come out every day at 5 in the morning, work as a street vendor and return before 9 in the night to eat and sleep, a day without work was very, very terrible and that thought gave me strength to get up day after day (I would love to tell you everything I lived, but it would be a long post, if you have any questions, do not forget write it in the comments).&lt;/p&gt;

&lt;p&gt;Already with the dose of reality and just having the discipline on my side, it helped me not to fall into drugs or delinquency, adding all this I was able to get ahead, how much did it cost me? The truth, a lot, remember that I told you that I passed my studies, without knowing anything, well, you could tell, I couldn't find work in my field, but that didn't stop me and I kept fighting, time has passed, I have a family that I love very much , today I work independently, I get up early for my girls to go to school and then I go to work, have I become an expert in discipline? Not at all, I keep wasting time watching videos of kittens and games in league of legends, but this is when discipline beats laziness, the past reminds me that I had no clear goals, but it's never too late, for you who are reading this much encouragement! You have a dazzling future, but without discipline it will be very difficult.&lt;/p&gt;

&lt;p&gt;This is my first post, so I apologize for the redaction and if I didn't express my ideas well, I will continue writing and helping, see you soon.&lt;/p&gt;

&lt;p&gt;Link of interest:&lt;br&gt;
&lt;a href="https://www.youtube.com/watch?v=0KFDWqRZJaQ&amp;amp;ab_channel=monstermaximo"&gt;https://www.youtube.com/watch?v=0KFDWqRZJaQ&amp;amp;ab_channel=monstermaximo&lt;/a&gt;&lt;/p&gt;

</description>
      <category>motivation</category>
    </item>
  </channel>
</rss>
