咖喱支架! [英] The curley bracket!

查看:92
本文介绍了咖喱支架!的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你把它放在哪里?


喜欢这个

Where do you put it?

Like this

展开 | 选择 | Wrap | 行号

推荐答案

第二种方式当然。永远不明白为什么有人改变它。它是唯一的方法(当然有缩进),你可以跟踪嵌套语句中括号的打开和关闭。这显然是有人试图改变一个不需要改变的标准。


Mary
The second way of course. Never understood why anyone changed it. It''s the only way (with indenting of course) that you can keep track of the opening and closing of brackets in nested statements. This was clearly a case of someone trying to change a standard that didn''t need to be changed.

Mary


第一种方式保存一行空白。结束括号与命令对齐。


见?

The first way saves a line of whitespace. And the closing bracket lines up with the command.

see?

展开 | 选择 | 换行 | 行号


如果那么容易,那么在这个网站上发布的这么多问题都不会通过固定括号的使用来解决。


为什么这么重要保存一行空格?
If it were that easy there wouldn''t be so many questions posted on this site that are solved by fixing the use of brackets.

Why is it so important to save a line of whitespace?


这篇关于咖喱支架!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆