Your memory is like a sieve? Take advantage of both worlds by employing this tried-and-true programming technique. Hey there, developers! So we already wrote about developer productivity, how to measure and increase it, and what to avoid while doing this. But what to do when youâre already productive and with a memory like a sieve? Letâs dive in and find out! Terrible short-term memory? Short-term memory, also known as primary or active memory, is the capacity to store a small amount of information in the mind for a short period of time. If not rehearsed or maintained, these short periods of time last only 20 to 30 seconds, maybe even less. And we are limited to storing only seven items in our short-term memory, plus or minus two. To retain information, it needs to be transferred from short-term to long-term memory. This includes several helpful techniques, such as: - Maintenance rehearsal which includes repeating and going over something several times until information is stored in long-term memory
- Chunking includes organizing information into groups, numbers, words, phrases, and anything that helps with remembering
- Mnemonics are simple phrases, rhymes or abbreviations which make remembering easier These methods can be quite helpful to anyone, but some more developer-friendly methods exist. What is literate programming? In the programming paradigm known as "literate programming," created by Donald Knuth, a computer program's logic is explained in bits of traditional source code and natural language, such as English, from which compilable source code can be built. "Literate programming: Instead of imagining that our main task is to instruct a computer what to do, let us concentrate rather on explaining to human beings what we want a computer to do." - Donald Knuth (1984) Some developers write the comments first and then start writing the code. This way, comments serve as a reminder and additional information for a part of the code or a detail you can always get back to. Any language that supports comments can be used for literate programming as long as the comments dominate the structure of the code. There is a case to be made for smaller components, such as libraries, even if writing large codebases in this manner would be extremely painful. For instance, you can benefit from literate programming if you're a web developer designing a React component. For example, a form of literate programming can be seen in Jupyter notebooks. As in them, the language or narrative is more important. You can share concepts that incorporate code, data, and visualizations. And typically literate part goes first, which is then augmented by code. What do you think? Around the Web - Remote work is not going anywhere. Here are some [tips for managers and team leads](%2F%2Fnewsletter.pragmaticengineer.com%2Fp%2Fefficient-remote-work%3Futm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/bWKFhooTWUgHQCd-Xf6ZDpzSxJI=294) who want to promote healthy and efficient remote teams.
- [How to Learn SQL](%2F%2Flevelup.gitconnected.com%2Fhow-to-learn-sql-10-minutes-a-day-bbe023c01470%3Futm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/TMxe0Rlw2XOHwyDy97_AdMNvL5M=294), 10 Minutes a Day - For each of us that says: ââI donât have enough time.ââ
- ââYikes. Something went wrong.ââ But what went wrong? Hereâs a take on [how to write better error messages](%2F%2Fwix-ux.com%2Fwhen-life-gives-you-lemons-write-better-error-messages-46c5223e1a2f%3Futm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/SfvwaJIqeYfEFzXwdmfFulB56uM=294).
- [Lucide](%2F%2Flucide.dev%2F%3Fref=sidebar%26utm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/5LFMEmnVoHQEY16uZIi9X_cfioE=294) is a community-made icon toolkit with nearly 1000 different icons. Check it out! Talk soon,
The Codeanywhere team P.S. [Codeanywhere](%2F%2Fcodeanywhere.com%2F%3Futm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/GZ_7FHBIdCvc6-oYlWHfZcbKhi4=294) enables you to add users to your team by navigating to the Team accounts tab and clicking the Add Team Member button. The user will get an invitation link to an account creation page. You can assign resources to the user after they activate their account.
[Find out more about teams here.](%2F%2Fdocs.codeanywhere.com%2Fdashboard%2Fteams%2Fabout%3Futm_medium=email%26utm_source=newsletter%26utm_campaign=HT/1/01010184192f2efc-a1e0045c-c9a1-4a3e-a367-4b2d5b0fd46c-000000/ozIHSKWyZjp-7FNlJAiOC2BFbhQ=294) -- This email was sent to [{EMAIL}](mailto:{EMAIL}?utm_medium=email&utm_source=newsletter&utm_campaign=HT) because you are subscribed to our newsletter.
If you do not wish to receive such emails in future, please [UNSUBSCRIBE HERE](. ð¿ Copyright © 2022 Codeanywhere
2443 Fillmore St #380-7365, San Francisco, CA 94115, USA
All rights reserved.