[ 
https://issues.apache.org/jira/browse/THRIFT-3799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15263853#comment-15263853
 ] 

Mahendran Kathirvel commented on THRIFT-3799:
---------------------------------------------

Thanks Jens,

I understand what you mean but I don't see any risk in here. we just changed 
the way constants to be initialised while keeping "their value" same. The 'Go' 
community encourages to use `iota` declaration than manual. It's not only 
elegant but the way to declare constants.

Alright, let me write the test cases for the changes.

> Make constants to use iota
> --------------------------
>
>                 Key: THRIFT-3799
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3799
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Go - Library
>            Reporter: Mahendran Kathirvel
>            Priority: Minor
>              Labels: easyfix
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> Now, the constants and enumerations are using hardcoded values but Go has a 
> elegant way of doing this by using `Iota`



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to