<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Jorge Tovar on Medium]]></title>
        <description><![CDATA[Stories by Jorge Tovar on Medium]]></description>
        <link>https://medium.com/@jorgetovar621?source=rss-8522e2c8caab------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*AOLRdSXwPb2xEJM38r_Y8g.jpeg</url>
            <title>Stories by Jorge Tovar on Medium</title>
            <link>https://medium.com/@jorgetovar621?source=rss-8522e2c8caab------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 09:11:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jorgetovar621/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Deep work is valuable, meaningful, and rare]]></title>
            <link>https://jorgetovar621.medium.com/deep-work-is-valuable-meaningful-and-rare-d1f6184f3d09?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1f6184f3d09</guid>
            <category><![CDATA[deep-work]]></category>
            <category><![CDATA[wealth]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Wed, 17 May 2023 14:50:47 GMT</pubDate>
            <atom:updated>2023-05-17T14:58:55.417Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*L8aBS8_yNXE0azsZbcl1Og.jpeg" /></figure><ul><li>Requires long periods of uninterrupted thinking</li><li>Shallow work in contrast is non-cognitively demanding</li><li>You must master the art of learning quickly complicated things</li><li>The real rewards are reserved for those who are comfortable building the innovative distributed systems that run the services that people want and don’t know how to get at scale</li></ul><h4>The idea 💡</h4><p>Valuable, High skilled workers. Once the market is made universally accessible, those at the peak of the market will thrive while the rest suffer.</p><p>Digital technology reduces the need for labor in many industries, and the proportion of the rewards returned to those who own intelligent machines is growing. 💻</p><h4>Two core abilities for thriving in the new economy</h4><ul><li>The ability to quickly master hard things</li><li>The ability to produce at an elite level, in terms of both quality and speed</li><li>You must learn to transform latent potential into tangible results that people value</li><li>To master your craft you have to embrace deliberate practice</li><li><em>Your attention is focused on a specific skill to improve or an idea that you’re trying to master</em></li><li><em>You receive feedback so you can correct your approach to keeping your attention exactly where it is more productive</em></li><li>High Quality work produced = time spent * intensity of focus</li></ul><h4>Deep work is rare 💶</h4><p>In the industrial age, productivity is measured by working hours, work is proportional to results (mostly linear)</p><p>Knowledge age productivity is measured by the outcome, not the inputs, and is not an assembly line.</p><h4>Deep work is meaningful</h4><p>Flow: when a person’s body or mind is stretched to its limits in a voluntary effort to accomplish something difficult and worthwhile</p><h3>The Rules</h3><h4>Rule 1: Work deeply 🏋️‍♂️</h4><p>You must add rituals and routines to your working life designed to maintain an uninterrupted state of unbroken concentration</p><ul><li>Discipline 1: focus on the wildly important, the more you try to do, the less you accomplish</li><li>Discipline 2: act on the lead measures</li><li>Discipline 3: Keep a compelling scoreboard</li><li>Discipline 4: create a cadence of accountability</li></ul><p>1–4 Hours of extreme concentration a day seems to be the limit.</p><p>You need to shut down and rest Committing to a specific plan for a goal may therefore not only facilitate the attainment of the goal but also free cognitive resources for other pursuits</p><p>Regularly resting your brain improves the quality of your deep work</p><h4>Rule 2: Embrace boredom 😴</h4><p>Minimize the number of times you give in to distractions and by doing so, you let the attention selection muscles strengthen</p><h4>Rule 3: Quit social media</h4><ul><li>Select the best tools to perform your craft and that all</li><li>Identify your main high-level goals in professional and personal life and select the tools that contribute to those goals</li></ul><h4>Rule 4: Drain the shallows</h4><ul><li>Shallow work is vastly overestimated</li><li>Adopt a result-driven approach -&gt; let me know when you have made a significant progress</li><li>It’s incredibly wasteful to pay a highly trained professional to send emails and attend meetings for 30 hours</li><li>You have to become hard to reach out</li><li>Finish your work at the same hour always, and create a routine</li></ul><h3>Conclusion</h3><ul><li>Focus is key, our ability to concentrate is a skill that gets valuable things done</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1f6184f3d09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The almanack of Naval Ravikant (Book Notes)]]></title>
            <link>https://jorgetovar621.medium.com/the-almanack-of-naval-ravikant-book-notes-85623297dcf3?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/85623297dcf3</guid>
            <category><![CDATA[enterpreneurship]]></category>
            <category><![CDATA[philosophy]]></category>
            <category><![CDATA[wealth]]></category>
            <category><![CDATA[money]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Fri, 22 Apr 2022 17:20:07 GMT</pubDate>
            <atom:updated>2022-04-22T17:20:36.270Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.navalmanack.com/">Almanack of Naval Ravikant</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IQfiiDoB8nuI7Yt29nDISA.jpeg" /></figure><h3>Wealth</h3><h3>Building Wealth</h3><ul><li>Getting rich is about knowing what to do who to do it and when to do it</li><li>The most important thing is to figure out what to work on</li><li>Seek wealth, is having assets that earn when you sleep</li><li>You must own equity</li><li>Play iterated games all returns in life whether, in relationships, wealth and knowledge come from compound interest</li><li>Specific knowledge is found by pursuing your interest curious and passion</li><li>Embrace accountability society will reward you with responsibility equity and leverage</li><li>Fortunes require leverage (Products and media with no marginal cost)</li><li>Programmers have an army of robots freely available</li><li>Leverage is a force multiplier for your judgment</li><li>Study Microeconomics, mathematics, computers, game theory, persuasion, psychology, ethics</li><li>Reading is faster than listening doing is faster than watching</li><li>Set and enforce an inspirational hourly rate of $1000</li><li>Productize yourself (Accountability, specific knowledge)</li><li>escape competition through authenticity</li><li>Learn how to learn</li><li>Figure out what you can uniquely provide at the scale</li><li>Without ownership, your inputs are very closely tied to your outputs</li><li>I only really want to do things for their own sake</li><li>Leverage = money, labor, products with no marginal cost, coding, writing books, reading podcasts, tweeting, and YouTubing</li><li>You’re never going to be rich by renting your time</li><li>Whenever you can in life optimize for independence rather than pay</li><li>You want to be as leveraged as possible so you can have a huge impact without as much time or physical effort</li><li>What do you want in life is to be in control of your time</li><li>Inputs don’t match outputs, especially for leveraged workers</li><li>If you have specific knowledge, accountability, and leverage, they have to pay what you are worth</li><li>knowledge workers function like athletes train on sprint then rest and reassess</li><li>Earn with your mind, not with your time</li><li>Leveraged magnifies difference even more being at the extreme in your art is very important in the age of leverage</li><li>I work through a burst of energy where I’m motivated by something</li><li>Figure out what are you good at and start helping other people with it give away pay it forward</li><li>Solving problems is more important than making money</li><li>What you want is freedom</li><li>Big decisions about where to live? who to live with? and what do you do?</li><li>Retirement is when you stop sacrificing today for an imaginary tomorrow</li><li>Find something that you feel like playing but is working for the others</li><li>Hold your lifestyle fixed and make your money in a giant lump sum</li><li>The single most important thing about the company is the alumni network you are going to build</li><li>How to get lucky: blind luck, persistence, hard work, hustle, and motivation, becoming very good at spotting luck, building a unique character, unique brand that causes luck to find you</li><li>Be a maker who makes something interesting people want to show your craft praise your craft and eventually the right people will find you</li><li>Love yourself. if you don’t love yourself who will?</li><li>Great people have great outcomes just have to be patient</li><li>Put yourself in a position with specific knowledge, leverage, accountability, and authentic skillset</li><li>Money solves money problems I’ll give you freedom</li><li>You can save money you can live below your means and you can find certain freedom that will give you time energy to pursue your internal peace and happiness</li></ul><h4>Judgment</h4><ul><li>My number one priority is health (physical, mental, spiritual, family)</li><li>Diet Palio and fasting</li><li>Exercise, meditation, cold showers, the brain needs rest</li><li>Choosing to build yourself</li><li>The greatest superpower is the ability to change yourself</li><li>Habits are everything commit yourself externally</li><li>Set up systems not goals</li><li>Free yourself from employment and thinking</li><li>Read about mathematicians and persuasion</li></ul><h3>Happiness</h3><h4>How to build happiness</h4><ul><li>Happiness is more important than health and health is more important than wealth</li><li>Happiness is the state when you remove the sense of something missing in your life</li><li>Happiness is just embracing the present reality is neutral</li><li>Every desire is chosen for happiness</li><li>Happiness is training without external validation</li><li>How to build happiness by not drinking alcohol not eating sugar, not social networks not playing video games no caffeine</li><li>Choose you’re your friends wisely</li><li>Happiness habits meditation, Sunlight, working out, awareness, minimizing cellphones, dropping caffeine</li><li>Find happiness in acceptance</li></ul><h4>Saving yourself</h4><ul><li>My number one priority is health (physical, mental, spiritual, family)</li><li>Diet Palio and fasting</li><li>Exercise, meditation, cold showers, the brain needs rest</li><li>Choosing to build yourself</li><li>The greatest superpower is the ability to change yourself</li><li>Habits are everything commit yourself externally</li><li>Set up systems not goals</li><li>Free yourself from employment and thinking</li><li>Read about mathematicians and persuasion</li></ul><h4>Philosophy</h4><ul><li>Live by your values</li><li>Life has no meaning</li></ul><h4>Formulas</h4><ul><li>Happiness equal to health and wealth and good relationships</li><li>Sleep with no alarms and circadian rhythms</li><li>Specific knowledge is knowing how to do something society cannot get easily train other people to do</li><li>Present above all else</li><li>Desire is suffering</li><li>Reading is a meta-skill</li><li>All greatness conference suffering</li><li>Benefits came from compound interest</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85623297dcf3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[VITE : Website using AWS, Terraform and CircleCI]]></title>
            <link>https://jorgetovar621.medium.com/vite-aws-terraform-eff962dfeef1?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/eff962dfeef1</guid>
            <category><![CDATA[vitejs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[terraform]]></category>
            <category><![CDATA[circleci]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Mon, 28 Feb 2022 17:48:10 GMT</pubDate>
            <atom:updated>2022-02-28T17:51:17.571Z</atom:updated>
            <content:encoded><![CDATA[<p>This repository is a getting started example about how to create a static website simply with IaC, compilation time of milliseconds, and CI/CD. The tech stack includes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z5enzxiNLF3NVi11BPTEAQ.png" /></figure><p>- [Vite](https://vitejs.dev/): Next Generation Frontend Tooling</p><p><a href="https://github.com/jorgetovar/vite-aws-terraform/tree/main/vite-aws-terraform-app">https://github.com/jorgetovar/vite-aws-terraform/tree/main/vite-aws-terraform-app</a></p><p>- [AWS](https://aws.amazon.com/): Hosting the website using S3 (In the future I will post an update with Cloudfront and Route53)</p><p><a href="http://vite-aws-website-bucket.s3-website-us-east-1.amazonaws.com/">http://vite-aws-website-bucket.s3-website-us-east-1.amazonaws.com/</a></p><p>- [Terraform](https://www.terraform.io/): Infrastructure as Code</p><p><a href="https://github.com/jorgetovar/vite-aws-terraform/tree/main/infra">https://github.com/jorgetovar/vite-aws-terraform/tree/main/infra</a></p><p>- [CircleCI](https://circleci.com/): Continuous integration and deployment</p><p><a href="https://github.com/jorgetovar/vite-aws-terraform/tree/main/.circleci">https://github.com/jorgetovar/vite-aws-terraform/tree/main/.circleci</a></p><h3><strong>Vite (Ultrafast hot-reload and build)</strong></h3><p>It can often take an unreasonably long wait to spin up a dev server. Component updates can take a couple of seconds or even minutes in some cases to be reflected in the browser. Vite aims to address these issues.</p><p><strong>“The slow feedback loop can greatly affect developers’ productivity and happiness.”</strong></p><p>```javascript</p><p>npm create vite@latest</p><p>npm run dev</p><p>npm run build</p><p>```</p><h4><strong>AWS</strong></h4><p>Amazon Simple Storage Service (Amazon S3) is an object storage service that offers industry-leading scalability, data availability, security, and performance.</p><h4><strong>Terraform</strong></h4><p>Terraform is an open-source infrastructure as code software tool that provides a consistent CLI workflow to manage hundreds of cloud services.</p><p>1. Create the remote backend to handle the terraform state (Information about what resources have been created)</p><p>2. Create the bucket and apply the policies and rules needed</p><p>```shell</p><p>terraform init</p><p>terraform plan</p><p>terraform apply</p><p>```</p><h4><strong>CircleCI</strong></h4><p>Fast, customizable, and reliable service to create pipelines and automate your deployments. The ORBs make it very easy to integrate and deploy in AWS and others providers.</p><p><strong>12 seconds to update the website.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eff962dfeef1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do Epic Shit — Book Notes]]></title>
            <link>https://jorgetovar621.medium.com/do-epic-shit-book-notes-b7360119b12f?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/b7360119b12f</guid>
            <category><![CDATA[money]]></category>
            <category><![CDATA[successful-entrepreneurs]]></category>
            <category><![CDATA[relationships]]></category>
            <category><![CDATA[self-awareness]]></category>
            <category><![CDATA[habits]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Tue, 25 Jan 2022 20:40:24 GMT</pubDate>
            <atom:updated>2022-08-06T15:18:51.818Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://www.amazon.com/Do-Epic-Shit-Ankur-Warikoo/dp/9391165486">Do Epic Shit</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/324/1*St1tuBUYFaZoG6lhgsmE5w.jpeg" /></figure><p><a href="https://medium.com/u/d26eaa667d4c">Ankur Warikoo</a> is an amazing entrepreneur, content creator.</p><p>Do epic sh*t is a book with a lot of takeaways. You probably need to read and reread to learn about habits, money, embracing failure, and having a meaningful life.</p><h3>Success and Failure</h3><ul><li>A year from now, you will wish you had started today</li></ul><p><strong>Start today! </strong>is probably one of the best pieces of advice in the book.</p><p>“The best time to plant a tree was 20 years ago. The second best time is now.”</p><ul><li>How we think of our problems is how the world will think of our problems</li></ul><p>Happiness is a decision, don’t allow the problems rule you</p><ul><li>Persistence isn’t a one-day miracle</li></ul><p>Everyone sees success as the result of luck, but the truth is that you need to create luck, hard-work yields results.</p><p>Think in the long-term of your actions, the second-order effect of every book, of doing exercise frequently</p><ul><li>We just have one life</li></ul><p>Why limit ourselves to only one profession. We can blog, play tennis, play chess and be extremely good programmers.</p><ul><li>Consistency + Authenticity</li></ul><p><a href="https://medium.com/u/67f5049293c7">Naval Ravikant</a> “You can escape competition through authenticity when you realize that no one can compete with you on being you”</p><ul><li>They don’t see the journey. Only you do</li></ul><p>No one sees how you overcome all the problems and your hard-work</p><ul><li>There is a temporary discomfort in doing the unconventional, there is a permanent discomfort in living life as a template.</li></ul><p><strong><em>Money buys freedom!</em></strong></p><p><strong>Hard work is important but most important is what you work on</strong></p><p><strong>Time is the only thing that matters! “Time is the new gold”</strong></p><h3>Habits</h3><p>Habits are about identity, exponential growth, and compound results</p><p>Three things that will tell you who/what you consider important in your life</p><ul><li>The first hour after you wake up (Exercise)</li><li>Last hour before you sleep (Read-Chess)</li><li>Your calendar (Free as possible- NO meetings)</li></ul><p><a href="https://medium.com/u/528e9a6004d8">James Clear</a> To create habits:</p><ul><li><strong>Clue</strong>: Make it obvious, context, trigger</li><li><strong>Desire</strong>: Identity</li><li><strong>Response</strong>: Execution</li><li><strong>Reward</strong>: It should become satisfying</li></ul><h3>Awareness</h3><ul><li>Make sure decisions in your life are made from a point of view of awareness and not ignorance</li><li>Your self-talk determines your self-worth: If you don’t believe in yourself then nobody will.</li><li>Most decisions in life are reversible: Give serendipity a chance</li><li>Authentic people don’t have any competition</li><li>We always have two choices: easy one vs right one</li><li>Explore as many things as you can before settling down what you want in life</li><li>Read books to learn.</li></ul><p><a href="https://medium.com/u/67f5049293c7">Naval Ravikant</a> “Reading is faster than listening. Doing is faster than watching.”</p><ul><li>Compounding is the biggest miracle of life</li></ul><p>“All returns in life come from a compound interest in long-term games”</p><h3>Entrepreneurship</h3><ul><li>Hiring for your startup? Attitude &gt;&gt; Experience &gt;&gt; Education</li><li>Entrepreneurship is the most brutal way to discover yourself</li><li>There are peace and wartimes CEOs</li><li>Show people who they can be instead of telling who they should be</li></ul><p>Value your time</p><h3>Money</h3><p>Income = Accountability + Leverage + Specific Knowledge</p><ul><li>Inflation is a thing</li><li>Liquidity is critical</li><li>Compounding rest on a very important element TIME</li><li><strong>Avoid Loans</strong></li><li>Avoid renting your time and owning assets</li><li><strong>Invest today</strong></li></ul><h3>Relationships</h3><ul><li>The most important relationship is with yourself</li><li><strong>Money and time are also a very important relationships of our life</strong></li><li>Nothing teaches you better than teaching others</li><li>Who you decide to spend your life is one of the biggest decisions you will make in your life</li><li>Your parents are first humans</li><li>We are the five thoughts we spend the most time with</li></ul><h3>Conclusion:</h3><p>Easy read, full of wisdom. A good gift for everyone</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b7360119b12f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hard Thing About Hard Things — Book Notes]]></title>
            <link>https://jorgetovar621.medium.com/the-hard-thing-about-hard-things-book-notes-363dab68fa26?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/363dab68fa26</guid>
            <category><![CDATA[ceo]]></category>
            <category><![CDATA[startup]]></category>
            <category><![CDATA[enterpreneurship]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[business-strategy]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 17:42:25 GMT</pubDate>
            <atom:updated>2022-08-06T15:19:02.103Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lxIWp-0UJ-nUMm-BJpwBOg.jpeg" /></figure><p>The Hard Thing About Hard Things is an excellent book full of lessons from an experienced entrepreneur.</p><p>Every business book focuses on how to do things perfectly and doesn’t screw them up, but what do you do when you have already had problems?</p><h3>Focus</h3><p>Sometimes the things that you are not doing are the things you should be focused on.</p><p>Sometimes as engineers we overemphasize improving things instead of thinking out of the box and looking for the things that we are missing.</p><h3>Struggle</h3><p>Some stuff may or may not help:</p><ul><li>Don’t put it all on your shoulders</li><li>Technology is extremely complex is like chess (There is always a move)</li><li>Play long enough and you might get lucky (Compound effect)</li><li>Don’t take it personally (Be too hard with you wouldn&#39;t help)</li></ul><h3>As a CEO you should be Transparent</h3><p>Sometimes good news travels very fast and bad news too slowly, making it almost impossible to resolve things</p><ol><li>Trust: Telling things as they are is a critical part of building this</li><li>The more brains working on the hard problems, the better. In order to create a great company you need to hire good people (Get things done, smart, good communication skills) and let them work on your biggest problem</li><li>A good culture needs that bad news travels fast: build a culture that rewards people for getting problems to the table where they can be solved</li></ol><h3>Layoffs</h3><p>Inevitable breaks the company culture</p><h3>Firing an executive</h3><ol><li>Probably your job definition is poor</li><li>You hired for lack of weakness rather than for strengths</li><li>You failed to integrate the executive (Onboarding process)</li></ol><h3>Nobody cares</h3><p>Spend zero time on what you could have done, and devote all your time to what you might do.</p><h3>Company</h3><p>Strive for a good place to work</p><h3>Why you should train your people</h3><p><strong>In a technology company, people are the most important asset.</strong> In any startup, the recruiting and interview process is one of the most important things that need to be executed properly.</p><ol><li>Productivity: Training is one of the highest leverage activities a manager can perform</li><li>Performance management: set expectations</li><li>Product quality: good design, easy to adapt to customer needs</li><li>Employee retention: usually people left their jobs because they hate their managers or they weren&#39;t learning anything</li></ol><p>What you should do first:</p><ul><li>The most relevant topics (knowledge and skills required to do their job)</li><li>Document architecture nuances maybe using Architecture Decisions Records (ADRs)</li><li>Hold regular one on one meetings</li><li>Train the managers: management state of the art in technology companies is extremely poor</li><li>Enforce Functional and Technical training</li><li>As a CEO you should teach the course on management expectations</li></ul><p><strong>Product managers</strong></p><ul><li>Good product managers take full responsibility and measure themselves in terms of the success of the product</li><li>Bad product managers have a lot of excuses (engineers, design, money)</li><li>Good product managers are responsible for the right time and the right product</li><li>Good product managers define the What,<strong> CEO defines the WHY</strong></li><li>Good product managers focus on revenue and customers</li><li>Good product managers are good communicators, take written positions on important issues</li></ul><h3>Little companies execution</h3><p>In a startup as an executive, nothing happens until you make it happen</p><ul><li>What will you do in your first month on the job?</li><li>How will your new job differ from your current job?</li><li>Why do you want to join a small company?</li></ul><p><strong>Aggressively integrate the candidate once onboard</strong></p><ul><li>Force them to create</li><li>Make sure they get it: bring comprehensive questions about everything</li><li>Put them in the mix: require a report from them on what they learned from each person</li></ul><h3>Management debt</h3><p>Make people accountable (schedule, design) who?</p><h3>Management quality assurance</h3><p><strong>Recruiting and Hiring</strong></p><ul><li>Sharply understand the skills and talents required to succeed in every position?</li><li>Interviewers are well prepared?</li></ul><p><strong>Compensation</strong></p><ul><li>Make sense for your company demographics?</li><li>Performance vs compensation</li></ul><p><strong>Training and integration</strong></p><ul><li>How long does it take to become productive</li><li>Expectations are clear</li></ul><p><strong>Performance management</strong></p><ul><li>Do your managers give consistent, clear feedback to their employees?</li><li>Quality of the written performance reviews?</li></ul><p><strong>Motivation</strong></p><ul><li>Are your employees excited to come to work?</li><li>Do your employees believe in your mission?</li><li>Why do employees quit?</li></ul><h3>Minimize company politics</h3><p>Politics: Advancing their careers by means other than merit and contribution</p><p>Avoid rewarding behavior that has nothing to do with advancing your business!</p><p>Hire people with:</p><ul><li>The right kind of ambition: view the world through the team prism</li><li>Process: Performance evaluation, organizational design, promotions</li></ul><h3>Titles and promotions</h3><ul><li>Employees want them</li><li>Eventually, people need to know who is who</li></ul><p>Be aware of the<strong> Peter principle (Be promoted to a position in which they are no longer competent)</strong></p><p>At the end titles cost nothing. :)</p><p>When smart people are bad employees</p><p>“If you hold the bus for everyone on the team, then you will be so late you will miss the game, so you can’t do that”</p><h3>Old people</h3><p>Hire old people to acquire knowledge and experience in a specific area</p><p>For executives is also important to measure performance:</p><ul><li>Results against objectives</li><li>Management:</li><li>Innovation: Long term vision</li><li>Working with peers</li></ul><h3>One-on-One</h3><p>Perhaps the CEO most important operational responsibility is designing and implementing the communication architecture for the company</p><ul><li>If we could improve in any way, how could we do it?</li><li>What’s the number one problem with our organization? Why?</li><li>What’s not fun about working here?</li><li>Whom do you admire?</li><li>If you were me, what changes would you make?</li><li>What don’t you like about the product?</li><li>What’s the biggest opportunity we’re missing out on?</li><li>What are we not doing that we should be doing?</li><li>Are you happy working here?</li></ul><h3>Programming your culture</h3><p>Embrace and rewards some shared values and behaviors</p><h3>Scaling your company</h3><p>Problems:</p><ul><li>Communication</li><li>Common knowledge</li><li>Decision making</li></ul><p>How to do it:</p><p><strong>Specialization</strong></p><p><strong>Organizational design</strong>:</p><ul><li>What needs to be communicated</li><li>What needs to be decided</li><li>Prioritize the most important communication and decisions paths</li><li>Decide who’s going to run each group</li><li>Identify the paths that did not optimize</li><li>Build a plan for mitigating issues</li></ul><p><strong>Process: </strong>the purpose of the process is communication</p><ul><li>Focus on the output first: What should the process produce?</li><li>Figure out how you will know if you are getting what you want at each step: measures</li><li>Engineer accountability into the system</li></ul><h3>Most difficult CEO skill</h3><p><strong>Focus on the road, not the wall</strong></p><h3>Great leaders</h3><ul><li>Articulate the vision: storytellers</li><li>Alignment of interest</li><li>Ability to achieve the vision</li></ul><p>Wartime CEO “All I have in this world is time, and you are wasting my time”</p><h3>CEO</h3><p>Does the CEO know what to do?</p><ul><li>Strategy: Story, Why?</li><li>Decision making: Speed and quality of the CEOs decisions</li></ul><p>Is easy for employees to contribute to the mission?</p><h3>Closing thoughts</h3><ul><li>We need to be better but we also need to be different</li><li>The only way to learn how to be a CEO is to be a CEO</li><li>In the absence of hands-on experience, you’d get killed at the moment you took the field</li><li>Embrace your weirdness, your background, your instinct</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=363dab68fa26" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pragmatic Programmer]]></title>
            <link>https://jorgetovar621.medium.com/pragmatic-programmer-c889fa5ab57d?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/c889fa5ab57d</guid>
            <category><![CDATA[design]]></category>
            <category><![CDATA[pragmatic-programming]]></category>
            <category><![CDATA[java]]></category>
            <category><![CDATA[development]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Mon, 24 Jan 2022 16:18:55 GMT</pubDate>
            <atom:updated>2022-01-24T16:23:18.441Z</atom:updated>
            <content:encoded><![CDATA[<p>[Pragmatic Programmer Book](<a href="https://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X">https://www.amazon.com/Pragmatic-Programmer-Journeyman-Master/dp/020161622X</a>)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gSHcSOyTfs-Rm8LFSqlhpA.jpeg" /></figure><h3><strong>Pragmatic philosophy</strong></h3><p>- Your life it’s your life<br> * Craftsmanship <br> * Early adopter <br> — Responsibility<br> * Offer options <br> — Software Entropy<br> * Simplicity<br> * Maintenance<br> — Good enough software<br> * Quality is a requirement<br> — Your knowledge portfolio:<br> * <strong>Investment in knowledge always pays the best interest</strong><br> * Read nontechnical books<br> * Read conceptual books<br> * Learn one new language every year<br> — Communicate<br> — Testability is key</p><h3>Pragmatic approach</h3><p>- The essence of good design: ETC<br> — DRY: Code, Data, Documentation (Knowledge)<br> * Don’t abstract too early, wait until you have copied and pasted a couple of times, examples are needed to create good abstractions<br> — Orthogonality:<br> * Eliminate effects between unrelated things<br> * Understandable, and easier to debug, test and maintain<br> * Design patterns<br> * SOLID<br> * Prefer composition and FP languages<br> — Reversibility:<br> * Flexible architecture<br> * Have options<br> — Tracer bullets:<br> * Code lean and complete<br> * Find the target<br> — Prototypes and post-it notes:<br> * Information gathering<br> * Is coupling minimized<br> * Collaborations between components well-defined<br> * Responsibilities<br> * Interfaces and data clear and available</p><p>- Domain languages:<br> * Program close to the problem domain<br> — Estimation:<br> * I’ll back to you<br> * optimistic, most likely and pessimistic<br> * model building: someone that already did it</p><h3>Basic Tools</h3><p>Be more productive with your tools</p><p>- The power of plain text:<br> * Self describing data<br> — Shell games <br> — Power Editing <br> — Debugging skills <br> * localhost test<br> * Explain to someone else<br> — Text manipulation<br> * Unix: sed, awk <br> * Scripting languages: Python<br> — Engineering daybooks</p><h3>Pragmatic Paranoia</h3><p>Validate all the information we’re given, assertions of bad data, and distrust data from potential attackers</p><p>- Design by contract<br> * Preconditions, postconditions: Clojure Specs<br> — Dead programs tell no lies<br> * Crash early<br> * Defensive programming is a waste of time let it crash! (Supervisor)<br> — Assertive programming<br> * Use assertions to prevent the impossible <br> — How to balance resources<br> * Release free resources<br> — Don’t outrun your headlights<br> * take small steps always</p><h3>Bend or break</h3><p>Make our code as flexible as possible, a good way to stay flexible it’s to write less code</p><p>- Decoupling<br> * Allow flexibility<br> * Shy code that promotes cohesion<br> * Law of Demeter: Depend on abstractions<br> * Avoid global data<br> * Avoid inheritance<br> — Juggling the real world<br> * Events<br> * Finite state machine<br> * Observer<br> * Publish/Subscribe (Channels)<br> * Reactive Streams<br> — Transforming programming<br> * Think in programs like Input Output and transformation of data<br> * Process of data<br> * find . -name ‘*.java’ | xargs wc -l | sort -n | tail -11 | head -10<br> * Programming is about code but programs are about data<br> — Inheritance tax<br> * Coupling<br> * Interfaces to express polymorphism<br> — Configuration<br> * Parameterize your app using external configuration</p><h3>Concurrency</h3><p>- Concurrency: Two pieces of code run at the same time using Fibers, Threads, and process<br> — Parallelism: Hardware that can do two things at once<br> — Breaking temporal coupling<br> — Avoid shared state<br> — Actor and process<br> — Blackboards<br> * Communication using Kafka or other streaming services</p><h3>While you are coding</h3><p>— Listen to your lizard brain<br> * Give time and space to your brains to organize your ideas<br> — Algorithm speed<br> — Refactoring<br> * Rethink<br> * Gardening<br> * Unit test<br> * (Duplication, Not DRY, Bad performance, Outdated knowledge, Test passing. Nonorthogonal)<br> * Redesign<br> * Refactor early and often is like a surgery<br> — Test the code<br> * Feedback<br> * Improve design<br> * Embrace TDD<br> — Property-based testing<br> — Security<br> * Authentication <br> * I/O data<br> * Principle of least privilege<br> * Up to date<br> * Encrypt sensitive information<br> — Naming<br> * <strong>At programming all the things have names and reveal the intent and belief of the system</strong><br> * Communication</p><h3>Before the project</h3><p>— Requirements Pit<br> * User doesn’t know what he wants<br> * Our job is to help businesses to understand what they want<br> * Improve the feedback loop<br> * BDUF is not a good thing<br> * Work with the user to think like one<br> — Solving de puzzle <br> * Think out of the box<br> * Make time to think in the unfocused mode<br> — Working together<br> * Pair programming<br> * Mob programming<br> — Agile<br> * It’s about values, context, and feedback loop</p><h3>Pragmatic Teams</h3><p>— Pragmatic Teams<br> * No broken windows<br> * Be aware of the environment and health of the project<br> * DRY <br> * Small teams<br> * Cross-functional teams <strong>Tracer bullets</strong><br> * Automation<br> * Create and identity (Team name)<br> * Schedule time to improve knowledge portfolio<br> — Context<br> * Use the right tools and practices<br> * Software delivery (When release flow is slow status meetings are high)<br> * Kanban<br> — The programmer starter kit<br> * Version control<br> * Ruthless testing<br> — Unit, Integration, Component, Performance<br> — If modules don’t work well as a unit, they won’t work well as a system<br> — Saboteurs: Chaos engineering<br> — Automate everything<br> * Software delivery es fully automated<br> — Delight your users<br> * What are your expectations<br> * Deliver quality not code<br> — Pride and prejudice<br> * Code that you feel proud<br> * Collective ownership</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c889fa5ab57d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[So good that they can't ignore you [Book Notes]]]></title>
            <link>https://jorgetovar621.medium.com/so-good-that-they-cant-ignore-you-book-notes-59a14994daf7?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/59a14994daf7</guid>
            <category><![CDATA[deliberate-practice]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[self-improvement]]></category>
            <category><![CDATA[career-capital]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Thu, 30 Sep 2021 23:56:20 GMT</pubDate>
            <atom:updated>2022-08-06T15:20:01.966Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m1JBY0PRq266iNWQXfnsTg.jpeg" /></figure><p>The book tells you about the importance of building rare and valuable skills to get something rare and valuable in return. This is a contradictory statement that goes against the passion hypothesis where you try to find a job that matches your current expectations and skills.</p><h4><strong>Rule #1: Don&#39;t follow your passion</strong></h4><p>The passion mindset focuses on the value that the world is offering to you, and this leads to many examples of the disappointment and stress that carry the constant search for a fulfilling job without enough knowledge and time involved in the field.</p><h4><strong>Rule #2: The importance of skill</strong></h4><p>Instead of the passion mindset, Cal Newport suggests the craftsman mindset that is mainly focused on the value you offer to the world. To build up career capital and create the work that you love, you have to gain skills that are rare and valuable as supply and demand states.</p><p><strong>Deliberate practice</strong></p><p>To build up a good amount of career capital is necessary to dedicate the time that will act as cash to exchange for the work with the traits that you want, in the book, the author mentions the 10.000-hour rule, described as the amount of time required to master a skill, but time per see is not enough you have to practice and invest your time wisely.<br>The book introduces the concept of deliberate practice, which consists of a series of tasks and exercises specifically designed to improve your current capabilities, seek out areas of weakness and challenge yourself.<br>Deliberate practice is structured and methodical and requires dedication measurement and feedback, rest and recovery, maybe a coach, and a lot of intrinsic motivation and focus. (it’s a deep topic).<br>Musicians, chess masters, and athletes know how to apply the deliberate practice, but knowledge workers generally don’t know how to invest the time and properly develop their skills, and that’s something to take advantage of.</p><p><strong>Rule #3: The importance of control</strong></p><p>Control is the dream job elixir, nothing more enjoy fully than having control over who, when, what, and where to work with.</p><p>You have two be aware of control traps like getting some much control without enough career capital that on occasions and otherwise the control trap two is about having enough career capital that your employer tries to prevent you from making changes, taking risks, and getting out of the comfort zone.</p><h4><strong>Rule #4: The importance of a mission</strong></h4><p>The importance of having a mission is to work with a unified goal for your career and maybe respond to the question: what should I do with my life?</p><p>To find our mission you have to learn a lot about your field to go beyond the current cutting edge, advance with little bets and get feedback and finally try to make something remarkable.</p><h4>Conclusion</h4><p>In my opinion, this is a terrific book and changed my perspective of sometimes blaming the world for the consequences and results that I got for my decisions in my career and occasions my life, and instead try to be a better person, programmer, improve my decisions making skills, build up career capital and contribute to the world to get the things that I want.</p><p>Deliberate practice is an amazing concept to put into practice! As a knowledge worker and as someone to try to read and improve in the computer science field, sometimes I feel overwhelmed and a little bit stagnated, but that kind of focus and the understanding of what and how to improve is just what I need.</p><p><strong>Links</strong></p><p><a href="https://www.amazon.com/Good-They-Cant-Ignore-You/dp/1455509124">https://www.amazon.com/Good-They-Cant-Ignore-You/dp/1455509124</a></p><p><a href="https://fs.blog/2021/04/deliberate-practice-guide/">https://fs.blog/2021/04/deliberate-practice-guide/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59a14994daf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure 101]]></title>
            <link>https://jorgetovar621.medium.com/clojure-101-fd43fa79d0d0?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd43fa79d0d0</guid>
            <category><![CDATA[pragmatic-programming]]></category>
            <category><![CDATA[simplicity]]></category>
            <category><![CDATA[clojure]]></category>
            <category><![CDATA[functional-programming]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Tue, 20 Oct 2020 15:38:03 GMT</pubDate>
            <atom:updated>2020-10-20T15:50:58.410Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>“We should aim for simplicity because simplicity is a prerequisite for reliability”<br> — Edsger W. Dijkstra</blockquote><p>How to become a 10x Developer?. What’s the secret to being one of the top performers in the industry?. The Software world is changing our environment and allow us as developers, to have different challenges from day to day, defying our imagination and skills of <strong>problem-solving</strong>.</p><p>Invest in knowledge has one of the biggest ROI, master the craft of software, and the tools that we use to build our world is an essential part of our career. The best way to solve software problems is with pragmatism, designing simple and maintainable solutions. To be effective we need the best tools (PC, IDE, terminal, programming language, cloud services, text editors, etc).</p><p>Talking about programming languages: I believe that Clojure is maybe the best solution for problem-solving with simplicity, data-driven, and functional programming in mind, Clojure makes emphasis in information, concurrency, and business logic without all the ceremony and unnecessary complexity imposed by the traditional languages, that lead us to a world of bad abstractions, rot and verbose code.</p><pre><strong><em>// Hello world in Java<br></em></strong>public class Main {<br> public static void main(final String[] args) {<br> System.out.println(“Hello world!”);<br> }<br>}</pre><pre><strong><em>; Hello world in Clojure<br></em></strong>(println “Hello world!”)</pre><p>One of the most important characteristics of Clojure is to be a dialect of Lisp; in this article, we are going to explore one of the most important elements of this language, the <em>Syntax</em>. -pending functions and data-.</p><h3>Syntax</h3><h4>Forms</h4><p>Clojure code has a uniform structure: Literal representations of data structures and operations.</p><blockquote>`;` Comment in Clojure</blockquote><pre><strong><em>;(operator operand1 operand2)<br></em></strong>(+ 1 2)<br>; =&gt; 3</pre><pre>(str “My fist article “ “in DEV”)<br>; =&gt; “My fist article in DEV”</pre><p>Clojure syntax is consistent in all the data structures, unlike Java where the syntax depends on the structure, class or data to be processed.</p><pre>System.out.println(1 + 2);<br>// =&gt; 3<br>System.out.println(“My first article “.concat(“in DEV”));<br>// =&gt; “My fist article in DEV”</pre><h4>Control Flow</h4><p>Clojure operators are expressions, because they return values, unlike sentences that have side effects and occasionally return values.</p><pre>(if (&gt; 3 1)<br> “3 is greater than 1”<br> “???”)<br>; =&gt; “3 is greater than 1”</pre><p>In languages like Java, we can return values if we use the *ternary*, the traditional way is a sentence.</p><pre>public String isGreaterThan() {<br> return (3 &gt; 1) ? “3 is greater than 1” :<br> “???”;<br>}</pre><h4>Immutability</h4><p>Clojure is a functional language with immutable data structures that allow us to share data without problems between threads and functions.</p><pre><strong><em>; Domain information, Clojure is data-driven!!<br></em></strong>(def person <br> {:first-name “Jorge”<br> :last-name “Tovar”<br> :age 30<br> :occupation “Programmer”})</pre><pre><strong><em>; Query<br></em></strong>(:occupation person) <br>; =&gt; “Programmer”</pre><pre><strong><em>; Update over immutable structures don’t change the initial definition<br></em></strong>(assoc person :occupation “Devops”)<br>; =&gt; {:first-name “Jorge”, :last-name “Tovar”, :age 30, :occupation “Devops”}</pre><pre><strong><em>; Query the original structure<br></em></strong>person<br>; =&gt; {:first-name “Jorge”, :last-name “Tovar”, :age 30, :occupation “Programmer”}</pre><h4>Values with Name</h4><p>Clojure Functions are first-class elements and with his REPL is possible to test and reduce the feedback loop.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*C0Etm_dTSsDMIO16u8lL1w.png" /></figure><p>Clojure is data-driven and promotes the use of immutable values, unlike OOP languages where variables and mutability are the default.</p><pre><strong><em>; Clojure functions that return values<br></em></strong>(def x (user-message :simplicity)); =&gt; “Clojure loves simplicity”<br>(def y (user-message :other)); =&gt; “Clojure loves functional programming!”<br></pre><p>In Python the common way is to use variables:</p><pre>def user_message(message):<br> if message == “simplicity”:<br> x = “Python loves “ + “dynamic types”<br> else:<br> x = “Python “ + “loves OOP”<br> return x</pre><h4>Conclusion</h4><p>The Clojure way focuses on simplicity, pure functions, and expressiveness, key elements to building reliable software.</p><p>The Functional Paradigm is one of the most interesting and powerful, it empowers us to create clean systems. If you love to learn like many of the developers of the world I suggest you try this language, which is a different point of view to solve problems, minimizing the complexity and code lines.</p><h4>References</h4><p><a href="https://www.braveclojure.com/introduction/">https://www.braveclojure.com/introduction/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd43fa79d0d0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clojure 101]]></title>
            <link>https://jorgetovar621.medium.com/clojure-101-619646e142a6?source=rss-8522e2c8caab------2</link>
            <guid isPermaLink="false">https://medium.com/p/619646e142a6</guid>
            <category><![CDATA[pragmatic-programming]]></category>
            <category><![CDATA[simplicity]]></category>
            <category><![CDATA[functional-programming]]></category>
            <category><![CDATA[clojure]]></category>
            <dc:creator><![CDATA[Jorge Tovar]]></dc:creator>
            <pubDate>Wed, 14 Oct 2020 00:21:49 GMT</pubDate>
            <atom:updated>2020-10-20T15:53:31.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>Clojure 101 — Spanish</h3><blockquote>“We should aim for <strong>simplicity</strong> because simplicity is a prerequisite for reliability” <br> — Edsger W. Dijkstra</blockquote><p>¿Cuáles son las características de un desarrollador 10x? ¿ Cuál es el secreto para mantenernos entre el top de los mejores dentro de una industria tan cambiante y competitiva?. Ciertamente el mundo del software esta cambiando nuestro entorno, de una forma nunca antes vista; el software en sí, nos presenta una oportunidad para enfrentarnos a múltiples desafíos todos los días, poniendo a prueba nuestra imaginación y habilidades para resolver problemas.</p><p>Invertir en conocimiento siempre tendrá un gran retorno, dominar el arte del software y las herramientas que nos permiten moldear el mundo dónde vivimos, es parte esencial de nuestra carrera. Ahora bien, cuando se trata de resolver problemas con software, la mejor forma de hacerlo es siendo pragmáticos, diseñando soluciones simples y mantenibles, y para ello necesitamos de las mejores herramientas (PC, IDE, terminal, lenguaje de programación, servicios en la nube, editores de texto, etc).</p><p>Para mí, <strong>Clojure</strong> es una de estás herramientas, es tal vez el lenguaje con mayor énfasis en simplicidad y resolución de problemas de negocio, información, concurrencia, quitando del medio toda la <em>ceremonía</em> y <em>complejidad innecesaria</em>; Complejidad que no hace parte del dominio del negocio, sino de los mecanismos y reglas, impuestas por algunos lenguajes, que nos hacen caer en un mundo de abstracciones incorrectas y al final: en código sucio y verboso.</p><pre>// Hola mundo en Java<br><strong>public class </strong>Main {<br>    <strong>public static void </strong>main(<strong>final </strong>String[] args) {<br>        System.<strong><em>out</em></strong>.println(<strong>&quot;Hello world!&quot;</strong>);<br>    }<br>}</pre><pre>; Hola mundo en Clojure<br>(println <strong>&quot;Hello world!&quot;</strong>)</pre><p>Una de las características más importantes de Clojure es que: es un dialecto de Lisp; en esté artículo vamos a explorar uno de los elementos más importantes que componen el core de este tipo de lenguajes, la sintaxis. -pendientes funciones y data-.</p><h3>Sintaxis</h3><h4>Formas</h4><p>Todo el código de Clojure, mantiene una estructura uniforme : operaciones, y representaciones literales de estructuras de datos.</p><blockquote>; es el inicio de un comentario en clojure</blockquote><pre>;(operador operando1 operando2)</pre><pre>(+ 1 2)<br>; =&gt; 3<br><br>(str &quot;My fist article &quot; &quot;in Medium&quot;)<br>; =&gt; &quot;My fist article in Medium&quot;</pre><p>Clojure mantiene consistencia en todas sus estructuras de datos, a diferencia de lenguajes como Java, donde la estructura cambia con respecto a la clase o datos que están siendo manipulados.</p><pre>System.<strong><em>out</em></strong>.println(1 + 2);<br>// =&gt; 3</pre><pre>System.<strong><em>out</em></strong>.println(<strong>&quot;My first article &quot;</strong>.concat(<strong>&quot;in Medium&quot;</strong>));<br>// =&gt; &quot;My fist article in Medium&quot;</pre><h4>Flujo de control</h4><p>Las estructuras de control en Clojure son consideradas expresiones, dado que producen <strong>valores</strong>, a diferencia de las sentencias que producen efectos secundarios y en ocasiones valores.</p><pre>(if (&gt; 3 1)<br>  &quot;3 es mayor que 1&quot;<br>  &quot;???&quot;)<br>; =&gt;  &quot;3 es mayor que 1&quot;</pre><p>En Java es posible si usamos el if -ternary-, el modo tradicional es una sentencia:</p><pre><strong>public </strong>String isGreaterThan() {<br>    <strong>return </strong>(3 &gt; 1) ? <strong>&quot;3 es mayor que 1&quot; </strong>:<br>            <strong>&quot;???&quot;</strong>;<br>}</pre><h4>Inmutabilidad</h4><p>Clojure es un lenguaje Funcional donde las estructuras de datos son inmutables, permitiendo que la información sea compartida entre hilos y funciones sin problemas.</p><pre>; <strong>Información de dominio,</strong> <strong>Clojure es orientado a datos</strong>!!<br>(def person <br>  {:first-name &quot;Jorge&quot;<br>   :last-name &quot;Tovar&quot;<br>   :age 30<br>   :occupation &quot;Programmer&quot;})</pre><pre>; <strong>Consulta</strong><br>(:occupation person) <br>; =&gt; &quot;Programmer&quot;</pre><pre>; <strong>La actualización sobre estructuras inmutables no modifica nada de la definición inicial</strong><br>(assoc person :occupation &quot;Devops&quot;)</pre><pre>; =&gt; {:first-name &quot;Jorge&quot;, :last-name &quot;Tovar&quot;, :age 30, :occupation  &quot;Devops&quot;}</pre><pre>; <strong>Consulta a la estructura original</strong><br>person<br>; =&gt; {:first-name &quot;Jorge&quot;, :last-name &quot;Tovar&quot;, :age 30, :occupation &quot;Programmer&quot;}</pre><h4>Valores con Nombre</h4><p>Clojure es un lenguaje donde las funciones son elementos de primera clase, además cuenta con el REPL, para que puedas probar todas tus ideas y tener feedback de forma inmediata.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qUSKwY2X1cChbUMDjhfTmQ.png" /><figcaption>lein repl</figcaption></figure><p>Clojure es orientada a datos, por lo tanto el lenguaje promueve el uso de <strong>valores</strong> inmutables y <strong>funciones</strong>;<strong> </strong>a diferencia de los lenguajes tradicionales OOP, donde la asignación y modificación de variables es el default.</p><pre>; En Clojure lo normal es tener funciones que te retornan valores </pre><pre>(def x (user-message :simplicity)); =&gt; &quot;Clojure loves simplicity&quot;</pre><pre>(def y (user-message :other)); =&gt; &quot;Clojure loves functional programming!&quot;</pre><p>En Python lo más común es hacer lo mismo haciendo uso de variables:</p><pre><strong>def </strong>user_message(message):<br>    <strong>if </strong>message == <strong>&quot;simplicity&quot;</strong>:<br>        x = <strong>&quot;Python loves &quot; </strong>+ <strong>&quot; dynamic types&quot;<br>    else</strong>:<br>        x = <strong>&quot;Python </strong>&quot; + &quot;<strong>loves OOP&quot;<br>    return </strong>x</pre><h4>Conclusión</h4><p>Clojure es un lenguaje que centra su filosofía en simplicidad, funciones puras, libertad de enfoque y la expresividad del código, elementos fundamentales para crear software robusto.</p><p>El paradigma funcional per se, es un mundo interesante, que permite una forma más limpia de crear sistemas, y si al igual que yo y muchos de los desarrolladores que conozco, eres apasionado por aprender cosas nuevas y útiles, te recomiendo esté lenguaje, un punto de vista totalmente diferente de como resolver los problemas - minimizando la complejidad y las líneas de código -.</p><h4>Referencias</h4><p><a href="https://www.braveclojure.com/introduction/">https://www.braveclojure.com/introduction/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=619646e142a6" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>