On Saturday, July 22, 2017 at 4:59:04 AM UTC-6, ohir wrote: > > > Every development team has right to reformat source to their tastes on > the editor openfile then reformat to compiler taste on savefile. > Except, that some people are minimalists and don't use fancy editors that have all these bells and whistles...
I find when you have an editor doing all kinds of tricks, it means the code is too hard to write and your editor is giving you a warning sign that what you are doing requires editor tricks, and that's bad. For example, if you are making your editor type out the word FUNCTION for you every time you hit "F" then maybe it would be better to change the language you are using, to make FUNCTION become "fn" or 'func"... so that you don't have to have your editor doing so many tricks. For the case of GoLang, one thing I do find annoying about gofmt is that very short IF ELSE blocks span multiple lines.. if a x else y instead of on a single line. But, that's what gofmt is supposed to stop: debates about this. -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.