Project

General

Profile

Actions

Feature #10058

closed

[PATCH] Fix some coding styles

Added by gogotanaka (Kazuki Tanaka) almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
-
[ruby-core:63812]

Description

When I read codes, I notice some issues about coding style.

If you don't mind that, you can ignore my patches. It's just coding style problem.

コードを読んでいる中でコーディングスタイルに関して気になる事があったのでPATCHを投げますが、

こちら(redmine, rubyコミュニティ)のコーディングスタイルに対する温度感が掴めてないので

気にする事でなければ、無視してください.

あげると切りがないので今回は特に気になる以下の三点に絞りました.

  • There are both && and and. So, I Unify with &&

  • There are both send :xxx and send(:xxx) expressions. So, I Unify with send(:xxx)

  • I reorder methods. I think Matrix#real should be upon Matrix#imaginary(From what I see complex.c)


Files

unify_product_operator.patch (879 Bytes) unify_product_operator.patch gogotanaka (Kazuki Tanaka), 07/18/2014 08:11 AM
reorder_Matrix#real_and_Matrix_imaginary.patch (1.3 KB) reorder_Matrix#real_and_Matrix_imaginary.patch gogotanaka (Kazuki Tanaka), 07/18/2014 08:11 AM
use_method_with_parenthesis.patch (1021 Bytes) use_method_with_parenthesis.patch gogotanaka (Kazuki Tanaka), 07/18/2014 08:12 AM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0