1. Sequel typecasts data when it is retrieved from the database, while ActiveRecord delays typecasting until use. Sequel执行类型转换是在从数据库获取数据时就进行转换,而ActiveRecord直到使用数据时才延迟进行转换。
2. In arrays, this was very specific, as arrays are strongly typed — an int can only contain ints — and therefore there are no typecasts in the loop. 在数组中,类型非常明确,因为类型是强类型的,int只能包含整数,所以在循环中没有类型转换。