<?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 Yoni Krichevsky on Medium]]></title>
        <description><![CDATA[Stories by Yoni Krichevsky on Medium]]></description>
        <link>https://medium.com/@yoni2k?source=rss-5ba53a22a042------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*8clywH0_Gh6KGRcI3pIbDA.jpeg</url>
            <title>Stories by Yoni Krichevsky on Medium</title>
            <link>https://medium.com/@yoni2k?source=rss-5ba53a22a042------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 03:56:45 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@yoni2k/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[Debunking the ‘Easy AI’ Myth”]]></title>
            <link>https://medium.com/@yoni2k/debunking-the-easy-ai-myth-2138685815e4?source=rss-5ba53a22a042------2</link>
            <guid isPermaLink="false">https://medium.com/p/2138685815e4</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[preprocesing]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Yoni Krichevsky]]></dc:creator>
            <pubDate>Thu, 19 Sep 2024 11:46:43 GMT</pubDate>
            <atom:updated>2024-09-19T11:46:43.672Z</atom:updated>
            <content:encoded><![CDATA[<h3>Debunking the ‘Easy AI’ Myth” — Why LLMs Still Demand Robust Data Preprocessing for Quality Outputs</h3><p>We’ve all heard the rule in Data Science: <strong>GIGO </strong>— garbage in, garbage out. It applies just as much to LLMs and generative AI.</p><p>While LLMs can simplify some tasks and unlock new possibilities, the reality is that if you’re not willing to put in the effort to properly prepare your data, you’ll end up with little more than a decent <strong>assistant</strong>.</p><p>An assistant that’s useful to someone who already understands the problem, can judge the output’s quality, and knows how to iteratively refine their prompts.</p><p>However, if your goal is to use LLMs to deliver <strong>polished, final products </strong>to end users — especially ones that provide clear, actionable answers — it’s a whole different challenge.</p><blockquote>Achieving this requires extensive work, much of it unrelated to the LLM itself. Instead, it revolves around traditional data science tasks, like preprocessing with an emphasis on NLP and linguistic nuances, and occasionally leveraging LLMs to assist with these processes.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*slRD7Ks9y2MkxzwbuIXhVQ.png" /></figure><p>For this post, I’ll focus on the simplest use case: <strong><em>using LLMs via API</em></strong>. No fine-tuning, no retrieval-augmented generation (RAG), just the model, prompt, and a few-shot approach. Sounds easy, right? Not quite.</p><h3>Here are some of the things you will need to consider doing for your project:</h3><h3>Transforming Data Into Usable Text</h3><p>Data often comes in various formats such as PDFs, webpages, or Word documents. While many tools can help convert these formats into text, they typically struggle with complex structures like tables, inconsistent layouts, or embedded images. As a result, human intervention is often required to <strong>clean and refine the extracted text</strong>, ensuring it’s correctly formatted and usable. Every dataset presents unique challenges, and unclean or poorly structured text can significantly impact LLM performance, making this step crucial.</p><h3>Cleaning Data for LLMs</h3><p>Cleaning the data is another essential step, as it often contains irrelevant elements like special characters, non-UTF-8 symbols, or excessive whitespace that interfere with the model’s ability to focus on the core task. <strong>Unclean data can lead to misinterpretations and reduce the quality </strong>of the model’s output. Removing unwanted characters is a critical step in ensuring that the model performs optimally. Depending on the complexity of the dataset, this process may involve techniques such as regular expressions or specialized libraries.</p><h3>Optimizing Input Data for Best Results</h3><p>Choosing the relevant data to feed the model can be a challenging task, especially when you have more data than the model can handle. There are several approaches to consider:</p><ul><li><strong>Chunking:</strong> This can be tricky — how you choose to chunk (by sentence, paragraph, character count, or semantic meaning) can drastically affect the model’s final output.</li><li><strong>Using databases and techniques like Retrieval-Augmented Generation (RAG):</strong> This requires extensive experimentation with embedding methods and can be quite complex.</li><li><strong>Reducing your data to a manageable size:</strong> Often the most effective solution for many use cases, it simplifies the process and improves results. I’ll cover this strategy in more detail in a future post.</li></ul><h3>Crafting Effective Few-Shot Learning Inputs</h3><p>If you’re using few-shot learning and providing your model with examples, these <strong>examples must be carefully selected and refined</strong> to align precisely with the output you want. Inconsistent or poorly crafted examples will confuse the model and degrade the quality of the results. For example, using examples that are too long or too short can lead the model to generate responses of similar lengths, even if it’s not appropriate for the task. Additionally, examples with inconsistent formatting can mislead the model regarding the desired structure or format of the output.</p><p>In cases where the available examples are either insufficient or of low quality, you may need to collaborate with a subject matter expert to <strong>create synthetic examples</strong>. These experts can help ensure that the synthetic data is accurate and meaningful, especially when the topic is highly specialized. Working closely with them can be critical to generating examples that maintain both relevance and high quality, which are key to guiding the model effectively.</p><h3>Mastering Configurations and Prompts</h3><p>You’ll need to experiment with various <strong>configurations</strong>, such as <strong>preprocessing options</strong>, and engage in a lot of<strong> prompt engineering</strong>. This goes beyond the general rules of effective prompt construction — it’s about providing the model with complete and precise instructions.</p><blockquote>To achieve this, you need to understand your data deeply, as well as the goal, task at hand, and the requirements for the expected output of the model. Be prepared for extensive trial and error.</blockquote><p>For instance, when dealing with preprocessing, you might need to experiment with different numbers or types of examples to find what works best for the model. Configurations like adjusting the model’s temperature, response length, and token limits also play a crucial role in refining outputs.</p><blockquote>‘Perfect clarity’ in a prompt means giving enough context and expectations so that even a <strong>highly knowledgeable person would know exactly what to do without any additional clarification or ambiguity</strong>.</blockquote><p>Achieving this requires thoroughly understanding your data through <strong>exploratory data analysis (EDA)</strong>, identifying variations in lengths, topics, and styles across examples.</p><p>A large part of the process involves varying your prompts and examples, testing different configurations to see how they affect the model’s behavior. This helps optimize the model’s responses, aligning them more closely with your desired outcomes. Tools like prompt libraries, A/B testing, and specialized prompt-engineering platforms can greatly assist in this process, making it easier to refine your prompts and configurations.”</p><h3>Why Metrics Matter in Generative NLP</h3><p>In order to effectively use trial and error in refining your model, you need good metrics — unless you happen to have a highly available, endlessly patient <strong>subject matter</strong> expert with unlimited time. And who really has that? While you’ll need iterative feedback from your subject expert for key insights, you want to save those valuable interactions for the most critical conversations and evaluations of the model. So, how do you evaluate one option over another without constantly relying on your expert? You need metrics, such as BLEU or ROUGE, that compare generated text to a ‘ground truth.’</p><blockquote>However, metrics are <strong>particularly challenging in NLP, and even more so in generative NLP.</strong></blockquote><p>Unlike in classification or other discriminative AI problems, <strong>it’s not as straightforward to measure whether the model did what you expected</strong>. Even in machine translation, it’s easier to evaluate how closely a translation matches the ground truth. But when you’re working with generated text, it’s much harder to determine if an output is ‘good enough,’ especially in open-ended tasks without clear right or wrong answers.</p><p>Common metrics like BLEU and ROUGE are more relevant for machine translation, where the goal is to have the output match a specific ‘ground truth.’ These metrics can be less useful in scenarios where there is no fixed correct answer, or where there’s a wide range of acceptable outputs.</p><blockquote>In such cases, evaluating the quality of generated text can be highly subjective and may require a mix of both <strong>quantitative and qualitative approaches</strong>.</blockquote><p>If the problem is unique or requires multiple success criteria, and off-the-shelf metrics don’t exist, you may need to <strong>create your own metrics</strong>. These custom metrics should focus on what’s important in the model output for both the customer and the end user, ensuring the model’s performance is aligned with their needs.</p><p>In addition to traditional metrics, you can also use <strong>embeddings of the generated text</strong> as a metric. By embedding both the generated output and a set of target outputs (or examples), you can measure the semantic similarity between them. This method is especially useful when there’s no clear ‘ground truth’ but you still want to ensure that the generated text is semantically aligned with expected outcomes. Embedding-based metrics allow for more flexibility and can help capture nuances like meaning, tone, and style, which may not be reflected in surface-level text similarity scores like BLEU or ROUGE.</p><p><strong>Automating metric evaluation</strong> can help streamline the process, reducing the dependence on human experts for every iteration and making experimentation more efficient. By developing the right metrics and automating their application, you can significantly optimize the trial-and-error phase of model development</p><h3>Why Train-Test Split Matters for LLMs</h3><p>Train-test split is a fundamental technique in Data Science, and it’s essential for many LLM projects as well. While this concept is critical for model training and fine-tuning, it also plays an important role in the iterative process of prompt engineering and using LLMs with RAG.</p><blockquote>If you continually reuse the same examples to refine your prompts or improve the model’s output, there’s a risk of overfitting to those specific examples <strong>without knowing how well the model will perform on unseen data</strong>.</blockquote><p>To properly evaluate the model’s real-world performance, you should split your data into train and test sets. You can refine the model, prompt, or RAG configuration on the train set, but true validation comes from testing it on the separate test set. As explained earlier, using a combination of qualitative and quantitative metrics will help you assess whether your model performs well on unseen data and is ready for deployment.</p><p>When creating your test set, ensure it reflects a <strong>wide range of real-world inputs</strong>. This should include varied examples in length, style, and complexity to provide a robust evaluation of your model’s capabilities.</p><h3>Anonymizing Data for Security and Clarity</h3><p><strong>Anonymizing </strong>data for security and clarity is often required due to project needs, regulations, or customer demands. Ensuring data is handled securely, especially with cloud-based models, is critical.</p><p>Removing sensitive information like names, phone numbers, and addresses is important for two reasons:</p><ul><li><strong>to protect sensitive information</strong>. Anonymization is just one of many security tasks involved in working with LLMs</li><li><strong>for input consistency and clarity</strong>.</li></ul><p>Techniques for anonymizing data include using regular expressions, token classification with NLP libraries, or locally deployed LLMs to process data securely. Replacing names, dates, and other sensitive details with <strong>consistent placeholders</strong> like [DATE] or [NAME] ensures the model doesn’t infer or generate incorrect details. For example, if names or dates appear in the training examples but won’t be known in real-world cases, <strong>placeholders help the model generalize better.</strong></p><p>Consistency in anonymized data is crucial. Leaving irrelevant details might distract the model, reducing output quality. By masking these details, the model focuses on what matters. However, anonymizing without losing valuable information is difficult. <strong>Over-anonymization can hurt performance </strong>— for instance, a word like ‘May’ could be a name, a month, or a verb, and masking it inappropriately degrades the model’s understanding.</p><p>Anonymization is also required by frameworks like GDPR and HIPAA, which mandate protecting personal information.</p><blockquote>Balancing anonymization with maintaining data quality is challenging and requires trial and error, but it’s essential for many LLM projects.</blockquote><h3>Optimizing Prompts and Examples length for the Context Window</h3><p>Ensuring your prompt and examples fit within the context window is crucial for successful model performance. If the prompt and examples exceed the context window, the model can either return an error or, worse, truncate the input, ignoring important instructions. Likewise, if the expected output doesn’t fit within the context window, the model will often return truncated, incomplete responses that might be unusable.</p><p>It’s essential to understand the model’s context window for both input and output. You can <strong>measure your actual token usage </strong>— either exactly or approximately — to see if you’re nearing the limit. If you’re close to the limit, you may need to reduce input length. <strong>For outputs</strong>, you can prompt the model to produce shorter responses or implement retrial mechanisms when truncation occurs infrequently.</p><p>There are several techniques, such as truncation and summarization, that can help optimize inputs to fit within the context window while preserving key information. These methods allow you to <strong>maintain relevant data without overwhelming the model, ensuring better overall performance.</strong></p><p><strong><em>Challenge example: </em></strong><em>One approach to improve output quality is using </em><strong><em>Chain of Thought (CoT)</em></strong><em> prompting, which helps the model break down complex reasoning tasks step-by-step. While CoT can enhance the accuracy of responses, it also consumes more output tokens because the model generates intermediate steps in reasoning before reaching the final answer. This can be problematic, as it reduces the available token space for the final output, increasing the risk of truncation. Therefore, it’s important to carefully manage token usage when employing CoT. A full explanation of CoT and how to implement it is outside the scope of this post.</em></p><h3>Handling Multiple LLM Calls with Agents</h3><p>Managing multiple levels of LLM calls with agents adds significant complexity. If you only need a single LLM call per task, the process could already be difficult. However, when multiple LLM calls are needed — potentially with different models or prompts, and each call depending on the previous response — the <strong>project becomes even trickier and less stable</strong>. This requires more preprocessing, postprocessing, trial and error, and thorough testing.</p><p><strong><em>Agents </em></strong><em>in this context are code that orchestrates these multi-call workflows, using rule-based logic to handle each step. They may call different LLMs for various parts of the process, with different prompts and inputs, parsing previous outputs to move on to the next step. This is often necessary for tasks that require multiple steps or when the task is too complex for a single LLM call to handle.</em></p><p>This complexity introduces risks such as latency issues, where multiple calls slow down the process, and error propagation, where a mistake in one step affects the entire workflow. Mitigating these risks requires strong preprocessing and postprocessing to handle inputs and outputs correctly.</p><blockquote>Since each LLM call is somewhat unpredictable, stacking them increases the potential for errors, demanding rigorous testing and safeguards. Determining whether a task requires multiple calls or can be done in one is often based on trial and error</blockquote><h3>Choosing the Right Model for Your Task</h3><p>While preprocessing is crucial, <strong>model selection could be equally important</strong>. Some models are open source, while others are available via API, each with its own strengths and weaknesses. To find the best fit, you’ll often need to research and experiment with different models, evaluating their performance using both quantitative and qualitative metrics.</p><p>When evaluating models, it’s important to consider factors like <strong><em>latency</em></strong>, <strong><em>token limits</em></strong>, and how well the model handles the <strong><em>complexity of your specific task</em></strong>. Open-source models provide more control and customization but may require more maintenance, while API-based models are typically easier to deploy but less flexible. Balancing these factors — along with <strong><em>cost </em></strong>and <strong><em>output quality </em></strong>— will help you make the right choice.</p><p>Though the focus here is primarily on preprocessing, model selection is a vital step in ensuring the success of your project</p><h3>Tracking Variations in Models and Prompts</h3><blockquote>Tracking the numerous variations of models, prompts, examples, and preprocessing techniques can become a significant challenge as the complexity of your project grows.</blockquote><p>Without a system in place, it’s easy to lose track of what you’ve tried, which configurations performed better, and <strong>how to make final selections for your model, prompt, examples, and RAG methods</strong>. This is especially critical when managing a large number of experiments.</p><p>Managing complexity and avoiding overlap are key challenges. If variations are not well-documented, you risk <strong>repeating failed experiments or overlooking successful ones</strong>. Additionally, thorough tracking ensures you can systematically compare performance and ultimately select the best combination of model and prompt.</p><p>For simple projects, tracking can start with basic <strong>tools </strong>like custom spreadsheets where each configuration is logged and annotated. As the number of variations increases, more specialized tools, like version control systems or experiment tracking platforms like <em>MLflow </em>or <em>Weights &amp; Biases</em>, can be introduced. These platforms allow for detailed tracking of multiple experiments and their outcomes, helping you document each variation for reproducibility and comparison.</p><p><strong>Tagging or labeling different experiments</strong> is another useful approach. By categorizing experiments based on key criteria — such as the type of model, preprocessing technique, or prompt variation — you can quickly retrieve past results and easily compare different configurations.</p><h3>Additional Considerations for LLM Projects</h3><p>Some additional aspects you might need to consider include:</p><ul><li><strong>Model bias and fairness:</strong> Ensuring that your model does not produce biased or unfair outputs is crucial, particularly when fine-tuning or curating data.</li><li><strong>Multi-language preprocessing:</strong> For example, handling documents with mixed languages like English and Hebrew presents unique challenges in tokenization and processing.</li><li><strong>Model explainability and interpretability:</strong> For projects where decisions made by the model need to be justified, such as in healthcare or finance, explainability tools and techniques are essential.”</li></ul><p>This post covered just the first part of the journey: getting the model to do what you want. But that’s only half the battle. <strong>Once the model is performing as expected, there’s still the complex task of deployment and other operations to get it working smoothly for your end users.</strong> That’s an entirely different challenge and a topic for another post.</p><h3><strong>In Summary:</strong></h3><p>Working with LLMs requires much more than simply using a model and expecting instant, high-quality results. Many of the key concepts — like data preprocessing, prompt engineering, model selection, and metrics evaluation — are the same or closely related to traditional Data Science. The rule of GIGO (Garbage In, Garbage Out) still applies, and there are no shortcuts.</p><p>Achieving a quality product often demands significant effort and a willingness to work hard.</p><p>To truly succeed with LLMs, you need to either possess the skills or be ready to learn how to execute these tasks effectively.</p><blockquote>High-quality outputs come from careful experimentation, thoughtful iteration, and having the right tools at hand.</blockquote><blockquote>While LLMs unlock new opportunities, getting the most out of them requires a diligent and thorough approach.</blockquote><h3><strong>More resources:</strong></h3><p>If you’re interested in more on this topic, check out some of my previous LinkedIn posts:</p><ul><li><strong>Using LLMs via API: Direct or Through Cloud Providers?</strong> <a href="https://www.linkedin.com/posts/yoni-krichevsky_ai-llm-openai-activity-7241854701409849344-oPJL">Read here</a></li><li><strong>Getting Started with Claude API: A Tale of Two Setups</strong> <a href="https://www.linkedin.com/posts/yoni-krichevsky_%F0%9D%90%8B%F0%9D%90%8B%F0%9D%90%8C%F0%9D%90%AC-%F0%9D%9F%91-%F0%9D%90%86%F0%9D%90%9E%F0%9D%90%AD%F0%9D%90%AD%F0%9D%90%A2%F0%9D%90%A7%F0%9D%90%A0-%F0%9D%90%92%F0%9D%90%AD%F0%9D%90%9A%F0%9D%90%AB%F0%9D%90%AD%F0%9D%90%9E-activity-7237517614112010240-v70F">Read here</a></li><li><strong>The Importance of Signing Up Early for LLM APIs</strong> <a href="https://www.linkedin.com/posts/yoni-krichevsky_llmabrapi-claude-rateabrlimits-activity-7236337034116689920-kjGp">Read here</a></li><li><strong>Understanding Hebrew Token Size</strong> <a href="https://www.linkedin.com/posts/yoni-krichevsky_llms-hebrewllm-hebrewnlp-activity-7237044115278843906-q3yu">Read here</a></li></ul><p><strong>About the author: </strong><br><strong><em>Yoni Krichevsky</em>, </strong><a href="https://www.linkedin.com/in/yoni-krichevsky/">LinkedIn</a><br> AI, Data Science, ML 🔹 Developer, Consultant, Lecturer 🔹 Impact Startups, NGOs &amp; Government 🔹 Leveraging Data &amp; Code for a Better World 🌍</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2138685815e4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning to Code is Crucial in the GenAI Era]]></title>
            <link>https://medium.com/@yoni2k/learning-to-code-is-crucial-in-the-genai-era-46c9dc26df83?source=rss-5ba53a22a042------2</link>
            <guid isPermaLink="false">https://medium.com/p/46c9dc26df83</guid>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[coding-assistant]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[chatgpt]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[Yoni Krichevsky]]></dc:creator>
            <pubDate>Wed, 27 Sep 2023 11:29:33 GMT</pubDate>
            <atom:updated>2023-09-27T11:29:33.229Z</atom:updated>
            <content:encoded><![CDATA[<h3>My Life Before and After Generative AI</h3><p>For the past four years, I’ve been an instructor at <a href="https://www.itc.tech/fellows-data-science/">Israel Tech Challenge (ITC)</a>, a boot camp designed for talented STEM graduates transitioning into Data Science roles. My teaching focuses on Data Science fundamentals, including Python programming and software engineering, among many other fundamental and advanced topics.</p><p>About a year ago, OpenAI’s ChatGPT made a big splash, introducing a new wave of generative AI technologies that have changed the way we work. These tools have been game-changers for me, automating everything from generating ideas and writing blogs to coding and brainstorming. Now, I can’t envision my professional life without the help of Generative AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/677/1*iafCIABTIOYLR9wyoESSjw.jpeg" /></figure><h3>How Generative AI is Revolutionizing Coding</h3><p>Generative AI tools like <em>OpenAI’s ChatGPT</em>, <em>Google’s BERT</em>, and <em>GitHub Copilot </em>are revolutionizing the field of software engineering. According to <a href="https://economicgraph.linkedin.com/research/future-of-work-report-ai">LinkedIn’s Future of Work report</a>, a staggering 96% of tasks performed by software engineers could be enhanced by Generative AI. Some experts, like Matt Welsh, even predict that the <a href="https://cacm.acm.org/magazines/2023/1/267976-the-end-of-programming/fulltext">programming profession could vanish within three years</a>!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LZn1uisMv_IHUUEFh5pK3w.jpeg" /></figure><p>When used effectively, AI-powered coding tools can significantly speed up development while enhancing code quality. Here’s how these AI assistants can be game-changers:</p><ul><li>Streamline repetitive tasks like code generation, formatting, and testing</li><li>Elevate code quality by spotting and fixing bugs, security risks, and performance issues</li><li>Boost developer productivity with real-time suggestions and guidance</li><li>Clarify code complexities for developers</li><li>Auto-generate documentation and tutorials</li><li>Create test cases on the fly</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/1*_beOvJzkYaRiV0Yi_pX0Eg.jpeg" /><figcaption>From GitHub Copilot website</figcaption></figure><p>This shift in technology is so impactful that some argue <a href="https://www.linkedin.com/posts/yoni-krichevsky_futureofai-futureofwork-juniordeveloper-activity-7106537069685932033-qk_P">junior developers can now bypass lengthy on-the-job training</a> and start adding value almost immediately, tackling tasks that previously required a senior developer’s expertise.</p><h3>Should We Abandon Coding?</h3><p>Should we abandon learning to code since AI can handle it? Hold on, not so fast!</p><blockquote>There are compelling reasons why learning to code remains essential, and I’ll delve into them in this article.</blockquote><p>My insights on this topic aren’t just personal opinions; they’re backed by research, conversations with experts, and a thorough review of online posts on the subject. While there are limited academic papers available, I’ve had enriching discussions with fellow educators and industry professionals, and I’ve summarized a wealth of online posts to bring you a well-rounded perspective.</p><p>To give you a snapshot, here’s what people had to say in a <a href="https://www.linkedin.com/posts/yoni-krichevsky_generativeai-chatgpt-githubcopilot-activity-7102291519503544320-bYkj">LinkedIn post</a> I made on this topic:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/534/1*ib_hTD3oHzwCeOxjGULHxQ.jpeg" /></figure><h3>Is Programming a Dying Profession?</h3><p>Before diving into why coding remains crucial, let’s dispel some fears about the programming profession vanishing overnight. <strong>Even if AI takes over the bulk of coding tasks, there’s much more to software engineering than just writing code.</strong></p><p>Here are some key skills and responsibilities:</p><ul><li>Problem-solving</li><li>Code writing</li><li>Reading documentation</li><li>Test case design and implementation</li><li>Debugging and fixing non-working code</li><li>Production issue resolution</li><li>Team collaboration</li><li>Continuous Integration and Deployment (CI/CD)</li><li>Following security best practices</li><li>Cloud computing</li><li>Version control</li><li>Understanding Development Methodologies, like Agile and Scrum</li></ul><p>So, even if Generative AI handles most coding tasks, we’ll still need to manage and coordinate these other crucial activities. Learning to code isn’t just about writing lines of code; it’s about mastering a diverse skill set.</p><p>Moreover, <strong>learning coding teaches invaluable soft skills</strong> like resilience, time management, prioritization, adaptability, and empathy toward team members and users.</p><h3>Are Non-AI Tools Still Needed In The AI Age?</h3><p>While tools like ChatGPT are groundbreaking additions to our toolbox, they don’t render traditional resources obsolete. In fact, <strong>understanding code remains essential for effectively using a variety of other tools and skills</strong>, such as:</p><ul><li>Conducting targeted Google searches by using effective keywords, skillfully filtering and evaluating the search results, and discerning credible sources for information</li><li>Navigating official documentation</li><li>Deciphering error messages during coding</li><li>Utilizing Stack Overflow</li><li>Engaging with GitHub repositories, including understanding READMEs, tracking issues, and pull requests</li><li>Consuming industry knowledge through blogs, academic articles, and video tutorials</li><li>Following thought leaders on social media platforms like Twitter and LinkedIn</li><li>Familiarizing yourself with IDE and Text Editor documentation, as well as Command Line resources like ‘man’</li><li>Consulting various written resources, including books, e-books, and internal company documents</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/529/1*TYjiH0I2U9r7JPaZj_jE6A.jpeg" /><figcaption>Google Search celebrating 25 year anniversary</figcaption></figure><p>Generative AI may reduce our reliance on some of these tools, but it doesn’t eliminate the need for them. <strong>With the advent of GenAI, we actually have more tools to master, not fewer.</strong></p><h3>Why Coding Skills Are More Crucial Than Ever</h3><p>In my view, knowing how to code remains indispensable for several key reasons.</p><blockquote>Generative AI often enhances our existing skills rather than replacing them.</blockquote><p>For example, while AI can generate images of flying elephants, it takes an experienced graphic designer to truly leverage this capability for quality output. Similarly, GenAI can write basic code, but to truly excel and minimize errors, you need to be a skilled coder yourself.</p><p>As software engineering luminary <a href="https://twitter.com/Grady_Booch">Grady Booch</a> points out, programming isn’t going away; it’s simply evolving to higher levels of abstraction.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/523/1*E5W7MozUQ1WIFOQUdqzO-w.jpeg" /></figure><p>Intriguingly, <a href="https://twitter.com/mdwelsh">Matt Welsh</a>, who predicted that the programming profession would be dead within three years, actually has a more nuanced stance. He suggests that future software engineers may primarily serve as code reviewers for AI-generated code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I8y70iPhbmykpFevwx3lTg.jpeg" /></figure><blockquote><strong>However, to review code effectively, one must first understand how to code.</strong></blockquote><h3>Navigating Code and Google Maps: A Comparative Lens</h3><p>Let’s consider the evolution of navigation through the lens of the Google Maps mobile app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/784/1*xmITmrc-4TawEUj60OuD4g.jpeg" /><figcaption>Navigation in the amazing city of Prague that I have recently visited</figcaption></figure><p>Before digital maps, we relied on paper maps and a set of skills to navigate. Google Maps has not only made navigation more convenient but also easier and faster. <strong>However, the foundational skills required for traditional map-reading remain relevant.</strong> These include:</p><ul><li>Map-reading proficiency</li><li>Basic understanding of GPS technology</li><li>Assessing route difficulty based on terrain</li><li>Relating what we see on the map to natural landmarks in the real world</li><li>Estimating pace and time for travel</li><li>Familiarity with public transportation systems</li><li>Ability to interpret street signs</li><li>Awareness of traffic rules</li><li>Proficiency in using various features of the Google Maps app</li></ul><p>Much like navigation, programming has evolved with the advent of Generative AI. <strong>We may be able to produce better code more quickly, but the foundational knowledge of programming remains indispensable.</strong></p><h3>The Limits of GenAI as a Shortcut to Coding Mastery</h3><p>While Generative AI can serve as a useful tutor, it’s not a substitute for the hard work required to truly master programming.</p><blockquote>There are no shortcuts to meaningful learning, and GenAI should not be relied upon to write basic code for us before we’ve learned to do it ourselves.</blockquote><p>Here are compelling reasons to embrace the grind and tackle coding without the aid of GenAI assistants:</p><ul><li><strong>Solid Foundations: </strong>A deep understanding ensures you’re building on a strong base.</li><li><strong>Problem-Solving Skills: </strong>Tackling complex issues prepares you for real-world challenges.</li><li><strong>Long-Term Memory: </strong>Struggling through difficulties aids in retaining knowledge.</li><li><strong>Skill Transferability: </strong>The discipline you acquire can be applied to other learning areas.</li><li><strong>Personal Growth: </strong>Overcoming challenges fosters resilience and cultivates a growth mindset.</li><li><strong>Competitive Advantage: </strong>Hard work distinguishes you from those looking for shortcuts.</li><li><strong>Intrinsic Rewards: </strong>The sense of accomplishment fuels future learning.</li><li><strong>Professional Expectations: </strong>In a job setting, you’re expected to solve problems without taking shortcuts.</li><li><strong>Ethical Integrity: </strong>Your credibility is at stake when you claim skills you haven’t genuinely mastered.</li></ul><h3>Shifting Priorities: Coding in the AI Era</h3><p>As we adapt to the presence of Generative AI coding assistants, it’s crucial to <strong>reevaluate what skills deserve our focus</strong>.</p><p>In my opinion, the following areas have gained <em>increased importance</em>:</p><ol><li><strong>Prompt Engineering and Input Mastery</strong>: Mastering the art of providing precise input to AI is essential, especially when it comes to code generation.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/663/1*dMi0-ikCE_XQN7_1QkjS-w.jpeg" /><figcaption>Wikipedia</figcaption></figure><p><strong>2. AI Output Management: </strong>Knowing how to:</p><ul><li>Comprehend the AI’s output</li><li>Critically verify its functionality</li><li>Make necessary improvements</li><li>Clearly explain the code and its implications to others</li></ul><p><strong>3. Integration into Downstream Systems: </strong>Knowing how to incorporate the AI-generated code into subsequent stages of your project or workflow. For instance, you might need to integrate the code into a data pipeline for analytics or include it in a CI/CD pipeline for automated testing.</p><p><strong>4. Behind-the-Scenes Understanding: </strong>Grasping the mechanics of code, common pitfalls, and how things work under the hood can save significant time.</p><p>Conversely, the <em>need to memorize syntax by heart has lessened</em>. I’ve never been a supporter of memorizing syntax, and now it’s even less critical. In the past, you could look up syntax in the documentation or on Google; now, you can also get help from Generative AI tools.</p><h3>Conclusion: Coding Isn’t Going Anywhere</h3><p>In summary:</p><blockquote>Mastering programming through hard work remains essential, albeit with a shifted focus in the era of Generative AI</blockquote><blockquote>Once you’ve honed your coding skills, leveraging GenAI tools can elevate you to the level of a programming powerhouse.</blockquote><h3>Stay tuned</h3><p>Are you an educator or teacher? Stay tuned for Part 2 of this series (link will appear in comments), tailored for those teaching programming in the era of AI.</p><h3>About the author</h3><p>I’m <a href="https://www.linkedin.com/in/yoni-krichevsky/">Yoni Krichevsky</a>, a Lecturer, Consultant, Data Scientist, and Developer. I’m passionate about using Data Science, AI, and coding to make the world a better place via Impact Startups and NGOs. I’d love to hear your thoughts on this article. Follow me on <a href="https://www.linkedin.com/in/yoni-krichevsky/">LinkedIn</a> and <a href="https://medium.com/@yoni2k/">Medium</a>. I write about AI, Data Science and AI for Impact and making the world a better place.</p><h3>References and Further Reading</h3><ul><li><a href="https://gamedevacademy.org/how-to-use-generative-ai-for-software-development-list-of-tutorials/">How to Use Generative AI for Software Development — List of Tutorials by Zenva, August 16, 2023</a></li><li><a href="https://thenewstack.io/coding-sucks-anyway-matt-welsh-on-the-end-of-programming/">Coding Sucks Anyway — Matt Welsh on the End of Programming by Richard MacManus, The New Stack</a></li><li><a href="https://www.uber.com/en-IL/blog/the-transformative-power-of-generative-ai/">The Transformative Power of Generative AI in Software Development: Lessons from Uber’s Tech-Wide Hackathon</a></li><li><a href="http://www.cs.unibo.it/~martini/TALKS/martini-Lille-TPAI.pdf">Teaching programming in the age of generative AI, Simone Martini, Universita De Bologna</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46c9dc26df83" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>