Qhov Sib Txawv Ntawm Cov Khaub Ncaws thiab Braces

Qhov Sib Txawv Ntawm Cov Khaub Ncaws thiab Braces
Qhov Sib Txawv Ntawm Cov Khaub Ncaws thiab Braces

Video: Qhov Sib Txawv Ntawm Cov Khaub Ncaws thiab Braces

Video: Qhov Sib Txawv Ntawm Cov Khaub Ncaws thiab Braces
Video: Magiic Hang - Ntxeev Siab (feat. David Yang) 2024, Kaum ib hlis
Anonim

Brackets vs Braces

Brackets yog cov cim cim, uas yog cov kab ncaj nraim nrog cov duab tshwj xeeb. Lawv siv yuav luag txhua lub sijhawm ua khub, thiab kev txiav txim ntawm khub kuj tseem tuaj yeem nqa lub ntsiab lus cuam tshuam rau daim ntawv thov. Hauv cov kev qhuab qhia sib txawv, hom lus lossis hauv cheeb tsam hauv cheeb tsam yuav muaj lub ntsiab lus sib txawv, tab sis feem ntau yog raws li cov ntsiab lus ntawm daim ntawv thov.

Cov khoom siv feem ntau tuaj yeem teev npe raws li hauv qab no:

• () - kab lus, puag ncig lossis cov hlua muag muag

• - square brackets, kaw brackets, hard brackets, los yog brackets (US)

• { } - Braces (UK thiab US), Fabkis brackets, curly brackets, meej brackets, swirly brackets, curly braces, birdie brackets, Scottish brackets, squirrelly brackets, gull tis, hiav txwv gull, squiggly brackets los yog zoo nkauj brackets

• ‹ › - taw tes, lub kaum sab xis, lub voj voos peb sab, pob zeb diamond brackets, tuples, lossis chevrons

• - Cov cim qhia tsis sib xws, cov cim taw qhia, lossis cov kab tuav. Qee zaum hu ua lub kaum sab xis, xws li HTML markup. Qee lub sij hawm hu ua brackets tawg lossis brokets.

• 「 」 - lub kaum sab xis

Braces yog ib hom tshwj xeeb ntawm cov hlua khi, uas tseem hu ua curly brackets. Nyob rau hauv kev xyaum, lawv yog siv nyob rau hauv paj huam thiab suab paj nruag, kos npe rov qab los yog koom kab. Lawv kuj tau siv hauv kev ua lej, feem ntau hauv cov cim rau denoting lossis txhais ib txheej.

Lawv kuj tau siv hauv kev suav; hauv cov lus hauv computer, nws yog siv rau kev sib cais blocks code (C++).

Dab tsi yog qhov txawv ntawm Brackets thiab Braces?

• Cov kab hauv kab yog cov kab ntsug nrog cov duab tshwj xeeb thiab siv ua hom lus; daim duab ntawm lub bracket tso cai rau lawv siv rau cov hom phiaj sib txawv hauv cov ntsiab lus sib txawv.

• Curly brackets yog lub npe hu ua braces thiab lawv tau siv los qhia lossis txhais cov khoom txheeb ze rau nqe lus lossis cov ntsiab lus.

Pom zoo: