Author avatar

botoo

2023阅读清单

9

已阅读 <

如何理解python中的*args和**kwargs

14

args用于表示可变数量的位置参数(Positional Arguments) kwargs 用于表示可变数量的关键字参数(Keyword Arguments)。 *args 来接收不定数量的位置参数 实例: def exampleFunc(*args): print(type(args)) f

Vue 自定义指令

11

在 Vue,除了核心功能默认内置的指令 ( v-model 和 v-show ),Vue 也允许注册自定义指令。它的作用价值在于当开发人员在某些场景下需要对普通 DOM 元素进行操作。 Vue 自定义指令有全局注册和局部注册两种方式。先来看看注册全局指令的方式,通过 Vue.directive( i

SQL Style Guide<转>

7

本文转自 https://github.com/mattm/sql-style-guide Mazur's SQL Style Guide Howdy! I'm Matt Mazur and I'm a data analyst who has worked at several startups

SQL 查询不是从 SELECT 开始的<转>

8

本文转自:《SQL queries don't start with SELECT》 In a non-image format, the order is: FROM/JOIN and all the ON conditions WHERE GROUP BY HAVING SELECT (incl

命名秘籍:naming-cheatsheet <转>

6

Naming cheatsheet English language Naming convention S-I-D Avoid contractions Avoid context duplication Reflect the expected result Naming functions