Skip to main content

客户端应该给服务端兜底么

hanzilu.com

文章讨论了客户端在处理服务端异常数据时的责任,提出了处理异常的潜规则。

Media & Content#software-development#web-development
Visit website

文章通过一个实际案例(服务端返回负数的点赞数导致客户端显示异常)展开讨论,探讨了客户端在处理服务端异常数据时是否应该承担责任。作者分享了一个处理异常的潜规则,专门解决类似的服务端-客户端交互问题。

More in Media & Content

HackerTube

Curated YouTube videos recommended by Hacker News commenters

Media ·

Song Finder By Link

Identify songs from video links on TikTok, Shorts, Reels, Facebook, or X

Media ·

Sismo Panama Vercel App

Organizes Panama quake activity with maps, reports, and preparedness information

Media ·

FrameThrower

A film-still library for inspiration, learning, and making movies faster

Media ·

blackmyth.game

Non-official reference for Black Myth mythology and official facts

Media ·