BeDict Logo

shapes

/ʃeɪps/
的视觉插图 shapes: 形状, 结构.
noun

"In Hack, shapes are used to define the structure of data, like a student's record which might include fields like name: string, age: int, and grade: float. "

在 Hack 语言中,shapes 用于定义数据的结构,就像一个学生的记录,可能包含 name: string(姓名:字符串),age: int(年龄:整数)和 grade: float(成绩:浮点数)这样的字段。