반응형
https://stackoverflow.com/questions/1132941/least-astonishment-and-the-mutable-default-argument
"Least Astonishment" and the Mutable Default Argument
Anyone tinkering with Python long enough has been bitten (or torn to pieces) by the following issue: def foo(a=[]): a.append(5) return a Python novices would expect this function to always
stackoverflow.com
https://stackoverflow.com/questions/36842158/arraytype-vs-type-in-typescript
Array<Type> VS Type[] in Typescript
As far as I know a property's type can be defined in two ways when it's an Array. property_name: type where type can be either Array<string>, Array<MyType>, etc. (e.g. let prop1: Arr...
stackoverflow.com
반응형
'기타' 카테고리의 다른 글
Audio Format - CD/SACD/DVD-audio/XRCD/HDCD (0) | 2021.04.15 |
---|---|
ADC Technology - PCM/DPCM/ADPCM/DM/ADM (0) | 2021.04.15 |