Skip to content

Terr For MER

coding fresh is realistic

  • Blockchain
  • QA engineering in 2021
  • Why you need to know SQL
  • Hackaton differences
  • About Kubernetes
Month

October 2020

How to write efficient JavaScript code with the Event Loop

By Terra10/19/202003/17/2021
How to write efficient JavaScript code with the Event Loop

The Event Loop is one of the most important aspects in JavaScript, knowledge of which allows you to write more efficient code. In this article, we will look at how the main thread works in JavaScript and how it handles asynchronous functions. For a long time, I’ve been writing JavaScript code without fully understanding how …

Continue Reading

Recent Posts

  • The Testing Pyramid in Practice: How to Balance Unit, Integration, and End-to-End Tests
  • Building Your Financial Future: Crafting the Best Wealth Management or Investment Website
  • SQL and Blockchain: A Powerful Combination for Data Security and Integrity
  • How Crypto Casinos in USA are Incorporating NFTs into their Games?
  • Can AI Guide You Through Every Step of Coding?

Archives

  • March 2025
  • February 2024
  • September 2023
  • August 2023
  • June 2023
  • February 2023
  • March 2022
  • August 2021
  • July 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020

Categories

  • Blog
  • C#
  • C++
  • Programming
  • Python
  • Ruby

SQLite is not a toy

Here’s why SQLite is perfect for your day-to-day work. It doesn’t matter if you are a developer, analyst, tester, admin or product manager.

For starters, a few known facts:

SQLite is the most widely used database management system in the world, included in all popular operating systems.

Works without a server.

For developers, it is embedded directly into the application.

For everyone else – a convenient console (REPL) in one file (sqlite3.exe on Windows, sqlite3 on Linux / macOS).

Console, import and export

The console is a killer feature of SQLite: a more powerful data analysis tool than Excel, and much simpler than any pandas. Data from CSV is loaded with one command, the table is created automatically:

> .import –csv city.csv city
> select count (*) from city;
1117

Basic SQL features are supported, and the console shows the result in a nice table. There are also advanced SQL features, but more about them later.

select
century || ‘th century’ as dates,
count (*) as city_count
from history
group by century
order by century desc;

Terr For MER 2021 Copyrighted (clickable)

Check it out

  • Privacy Policy

Artists Try Their Best

Wanna try to code with Python? Start here!

https://youtu.be/rfscVS0vtbw
Theme: Sublime Blog by Sublime Theme. Proudly powered by WordPress Privacy Policy