248 place 0

808 if err != nil: почему мы (не) любим обработку ошибок в Go? Обзор предложений по её улучшению

Habr
ewolf (AvitoTech, Конференции Олега Бунина (Онтико)) @ Habr · 09/08/2025 11:18 EDT

if err != nil: почему мы (не) любим обработку ошибок в Go? Обзор предложений по её улучшению

Привет, Хабр! Меня зовут Павел Агалецкий, я ведущий инженер в платформе Авито. Эта статья на одну из самых холиварных тем, о которой вы могли слышать или читать множество раз. При обсуждении Go, особенно новичками или представителями других языков программирования, камнем преткновения обычно становится проверка ошибок — if err != nil. Рассказываю, какие есть особенности и нюансы, сравниваю обработку ошибок в Go и других языках. Говорим о подходах к изменению обработки ошибок и обсуждаем последний proposal о

To see detailed statistics for the news please log in »

Read the original

Add your comment
You must be logged in with Facebook to read and write comments.

A newsletter a day!

You may get 10 most important news around midday in daily newsletter. Press the button and we will send you the most important news only, no spam attached.

or register

LIKE us on Facebook so you won't miss the most important news of the day!

News from the same source
Habr Habr
Vox
Andrew Prokop @ Vox 1 place · today 14:40 EDT

The leaked Young Republican group chat points toward a bigger problem

Just how serious of an antisemitism problem does the American right have — and what, if anything, should they do about it? For well over a year, some conservative elites have quietly worried about the trends they were seeing among influencers and young rightists who seem increasingly enamored of conspiracy theories involving Jews — the […] Read more

1,421 fresh

🔮
20.10.2025 ♑︎ Dear Capricorn, today awaits you an interesting and multifaceted day filled with various events and... Read more ›
TechRadar
TechRadar 1 place · today 04:37 EDT

Massive Amazon outage takes down Alexa, Ring, Snapchat and more –here's what we know

A huge AWS (Amazon Web Services) outage has taken out multiple internet services including Alexa, Ring, Snapchat and more –here's what we know so far. Read more

1,152

MacRumors
Juli Clover @ MacRumors 1 place · today 13:57 EDT

iOS 26.1 Beta 4 Lets Users Control Liquid Glass Transparency with New Toggle

With the fourth betas of iOS 26.1, iPadOS 26.1, and macOS 26.1, Apple has introduced a new setting that's designed to allow users to customize the look of Liquid Glass. The toggle lets users select from a clear look for Liquid Glass, or a tinted look. Clear is the current Liquid Glass design, which is more transparent and shows the background underneath buttons, bars, and menus, while tinted increases the... Read more

1,013 fresh

Business Insider
Amanda Krause @ Business Insider 1 place · today 16:10 EDT

The best looks Nick Jonas and Priyanka Chopra have worn together, from the Met Gala to the Grammys

You might know Nick Jonas as a musician and Priyanka Chopra as an actor. Together, they're a stylish power couple making their mark on red carpets. Read more

806 fresh

Business Insider
Katie Notopoulos @ Business Insider 2 place · today 16:26 EDT

I want the iPod back — and so do you, apparently

Tim Cook, our readers have spoken: And they want the iPod back. Now it's time for Apple to listen. Read more

771 fresh

Wired
Zoë Schiffer @ Wired 1 place · today 14:42 EDT

Google Has a Bed Bug Infestation in Its New York Offices

Employees at the company’s Chelsea campus were told to stay home after exterminators found “credible evidence” of an infestation. Read more

674 fresh

Gizmodo
Germain Lussier @ Gizmodo 1 place · today 13:30 EDT

‘Tron: Ares’ Is Going to Lose Disney HOW Much?

The legacy sequel starring Jared Leto and Greta Lee could be quite costly for the studio. Read more

661 fresh

Business Insider
Chris Panella @ Business Insider 3 place · today 16:12 EDT

Marines say a deployed F-35 stealth fighter squadron clocked nearly 5,000 hours without any mishaps

The five-month deployment marked a win for the F-35 stealth jet, which has seen rising sustainability costs coupled with readiness concerns. Read more

564 fresh

MacRumors
Juli Clover @ MacRumors 2 place · today 14:37 EDT

iOS 26.1 Beta 4 Adds Toggle to Turn Off Lock Screen Camera Swipe

The fourth beta of iOS 26.1 includes an option to turn off the Lock Screen swipe that activates the camera, a feature that iPhone users have been wanting for years. In the Camera section of the Settings app, there's a Lock Screen Swipe to Open Camera setting, and turning it off disables the feature where you can swipe left to open the camera. The ‌iPhone‌ has long allowed users to... Read more

548 fresh

Vox
Ian Millhiser @ Vox 2 place · today 06:30 EDT

How the Supreme Court placed ICE above the law

By now, you’ve probably seen some of the videos of Immigration and Customs Enforcement (ICE), as well as other federal law enforcement agencies, attacking immigrants and unarmed Americans protesting President Donald Trump’s immigration policies. In one, officers shoot a pastor in the head with a pepper ball. In another, an officer sprays pepper spray directly […] Read more

403

The Verge
Jess Weatherbed @ The Verge 1 place · today 04:07 EDT

Major AWS outage takes down Fortnite, Alexa, Snapchat, and more

Amazon Web Services (AWS) is currently experiencing a major outage that has taken down online services, including Amazon, Alexa, Snapchat, Fortnite, and more. The AWS status checker is reporting that multiple services are “impacted” by operational issues, and that the company is “investigating increased error rates and latencies for multiple AWS services in the US-EAST-1 […] Read more

384

Financial Times
Financial Times 1 place · today 13:40 EDT

Amazon’s cloud outage may focus minds and broaden budgets

If the response to potential outages is that companies try to build in more slack, then there will be obvious beneficiaries Read more

329 fresh

Wired
Lily Hay Newman @ Wired 2 place · today 10:22 EDT

What the Huge AWS Outage Reveals About the Internet

Amazon Web Services experienced DNS resolution issues on Monday morning, taking down wide swaths of the web—and highlighting a longstanding weakness in the internet's infrastructure. Read more

326 fresh

Business Insider
Kelsey Huson @ Business Insider · today 14:00 EDT

I ate at Travis Kelce and Patrick Mahomes' new steakhouse, 1587 Prime. Our $800 dinner felt like more than just a meal.

My group tried Travis Kelce and Patrick Mahomes' new steakhouse in Kansas City, 1587 Prime. For $800, we got lots of food and a Taylor Swift cocktail. Read more

309 fresh

Business Insider
Talia Lakritz @ Business Insider · today 15:38 EDT

The safest cities in the US, ranked

WalletHub released a ranking of the safest cities in the US, examining community and financial safety as well as natural-disaster risk. Read more

303 fresh

Business Insider
James Faris @ Business Insider · today 10:25 EDT

Disney+ cancellations surged as boycotts for Jimmy Kimmel's suspension kicked in — here's how big the spike was

Disney+ and Hulu's cancellation rates surged in September as ABC sidelined late-night host Jimmy Kimmel, suggesting that the Disney boycotts worked. Read more

283 fresh

Business Insider
Jordan Hart @ Business Insider · today 14:07 EDT

Americans can't get enough of the iPhone 17 Pro Max

Apple's iPhone 17 lineup is outselling its predecessor in the US and China, early data shows. These are the most popular models. Read more

278 fresh

The most popular news from the same source for the last week
Habr Habr
Habr
ptsecurity (Positive Technologies) @ Habr 1 place · 10/14/2025 04:48 EDT

AI slop coding, or How to build ridiculously long attack chains with AI

While researching malware used by attacker groups, we came across a series of unusual attacks that used GitHub repositories to store malicious files and victim data. These campaigns appear targeted rather than large-scale, and it seems the attackers relied heavily on AI during development. The earliest activity we traced was in September 2024, and the most recent in April 2025.Our Threat Intelligence team investigates complex attacks featuring novel persistence and... Read more

0

Habr
melanny20 (Postgres Professional) @ Habr 2 place · 10/15/2025 10:00 EDT

[Translation] Shardman. A quick guide for the architect

The myth of the magical fast=true parameter is still alive and well, but in distributed databases, another contender appears: distributed=true. Neither one will save you if you don’t rethink your schema, sharding keys, sequences, queries, and migration process. We walk through every corner with a clear-eyed approach — from choosing sharding keys and colocated tables to CDC, topologies, and foreign key constraints — showing where performance really improves, where it... Read more

0

Habr
a_belova @ Habr 1 place · 10/15/2025 10:12 EDT

The Hidden Economics of Your Vacation: Why a 2-Hour Transfer in the Alps Can Cost More Than a Flight

We think of pricing as a simple logic of distance and quality. But after diving into a rare data-driven analysis of the €2 billion Alpine transfer market, I realized the real cost drivers are invisible forces: structural inefficiencies, information asymmetry, and the surprisingly high price of consumer trust.I've always been fascinated by markets that defy simple logic. Why does a cup of artisanal coffee cost $7? Why is some enterprise... Read more

0

Habr
aabzel @ Habr 3 place · 10/17/2025 19:03 EDT

Инженерное образование имеет такой специфический бонус, как дает его обладателю возможность делать всяческие безделушки чисто ради fun-на. Это особенно актуально длинными зимними вечерами. В этом тексте я расскажу, как сделать игрушечную модель УАЗ Буханки с дистанционным управлением по инфракрасному лучу. Read more Read more

0

Habr
Kamil_GR @ Habr 2 place · 10/18/2025 14:26 EDT

Emotions and Qualia: A New Approach

At last, we arrive at qualia and emotions. Many of you will immediately think of Chalmers, the bat, redness, and zombies. Excellent. We can consider that ground covered.Today, I will discuss a topic that seems distant from IT but, with each new breakthrough in AI, becomes ever more immediate: consciousness. It seems I speak of little else. So, to be precise, I will discuss its "hard problem": why do we... Read more

0

Habr
complexityclass @ Habr 1 place · 10/18/2025 18:26 EDT

Privacy on Mobile: a practitioner’s checklist

People have always valued privacy. Developments of the past decades — the internet, social networks, targeted advertising — turned data into an asset. The AI wave multiplies what can be inferred from crumbs. Phones and apps are integral to people’s lives. Some users keep everything on their phones; others are more restrictive. It shouldn’t rely only on user awareness: developers should provide the first line of defence and the tools... Read more

0

Most popular sources

  • You see 577 news out of 577.
  • Sources 61 out of 61.
TechRadar 16% 15
Business Insider 16% 3
Mashable 11% 8
The Verge 8% 3
Wired 6% 6
View sources »

LIKE us on Facebook so you won't miss the most important news of the day!

20.10.2025 17:46
Last update: 17:40 EDT.
News rating updated: 00:41.

What is Times42?

Times42 brings you the most popular news from tech news portals in real-time chart.
Read about us in FAQ section.


Times42 © 2025