The following is a recording on this topic, I hope you find it useful!
Feel free to watch at 1.5x or 2x speed.
Note: If you find something missing or incorrect in the recording, then please let me know!
Markup & Mark-down languages format & structure content (e.g., .html, .md).Scripted languages are interpreted at runtime (flexible & user-friendly but slower)
interpreter: An interpreter is software that reads and executes code line by line, translating high-level code into machine-readable instructions in real-time, enabling dynamic execution and testing. R, Python, and bash (shell script, .sh)Compiled languages (i.e. programming languages) are translated into machine code before execution, offering performance optimization.
C, C++ (cpp), Fortran (still very common in hard sciences), JavaIF YOU EVER HAVE WEIRD BUGS IN .ipynb RESTART YOUR KERNEL AND DO “RUN ALL”
Sandboxing is isolating software applications from the system to prevent potential harm, enabling safe testing and executionConda facilitates MULTIPLE python interpreters (environments) for various projectsDO NOT need to run these, but they are useful and included as referenceconda deactivateconda activate myenvconda info --envsconda remove --name myenv --allconda rename -n old_name new_nameSource: click here for original PDF 
.qmd, .rmd, and .ipynb require human interaction, e.g. manually running code cells.
.py and .R can be triggered to run automatically.
.py \(\rightarrow\) just python code \(\rightarrow\) we can run from terminal with python filename.py
python command points to a particular python interpreter.R or .Rscript \(\rightarrow\) just R code \(\rightarrow\) we can run from terminal run with Rscript filename.R
Rscript command points to the R interpreter.rMarkdown = Markdown + R-code \(\rightarrow\) we can run using Rstudio
Rscript command.qmd = Markdown + R or Python code \(\rightarrow\) we can run using Rstudio or VSC.ipynb = Markdown + R or Python code \(\rightarrow\) we can run using Rstudio or VSC
.ipynb are JSON files.ipynb file is simply a JSON file with a specialized structural formatmore eda/eda.ipynb from the command lineRemember, effective debugging is often a combination of systematic analysis, creativity, and persistence. Different situations may require different approaches, so adapt these best practices based on your specific context.
Comments on debugging code-1
Remember, effective debugging is often a combination of systematic analysis, creativity, and persistence. Different situations may require different approaches, so adapt these best practices based on your specific context.