Hey, I don't like typing out code like that. I don't like to put the top side of the curly brace on its own line. I like to put it after the function declaration like so:
main() {
za_warudo();
return 0;
}
Is this wrong, and should I be ashamed?
Name:
Anonymous2006-06-22 13:00
>>18
Regular answer: No style is wrong. Just be consistent.
My answer: I hope you fucking die. >:(
Name:
Anonymous2006-06-22 14:45
Thoughtful answer: Some styles are wrong for non-subjective reasons. For example: braces on a new line look fucking ugly (subjective, although if you don't agree I hope you fucking die), and they waste visual space (which is an objective observation). Braces in the same line are thus better.
Sorry, I like a little extra whitespace in my code. Thanks. The "omg i can code stuff compact-like" often gets really horrific (especially with my experiences with other same-line-bracers - ew).
Name:
Anonymous2006-06-22 15:43
>>21
What's the advantage of placing the braces on different lines?
Name:
Anonymous2006-06-22 17:10
>>21
I usually separate chunks that deal with different aspects of code with blank lines, and I do that a lot. But braces in a single line is fugly.
Please, nano can't do anything. It's basically a command line implementation of notepad.
Name:
Anonymous2006-06-23 7:23
>>28
Only people who do not know what the vi is capable of say that they love nano.
How was it? Move the lines 7 to 9 to the end of the document?
:7,9m$
Tell me how you do it with nano!
Name:
Anonymous2006-06-23 8:06
For some people, a command-line implementation of notepad is enough. How often do most people need to do >>30, and is the time learning many details like that worth it?
Name:
Anonymous2006-06-23 10:44 (sage)
real programmers don't use text editors.
Name:
Anonymous2006-06-23 13:38
>>32
Sure, you run to your Server, to log in graphically so you can write a small shell-script.
The server is in another building? gogogo!
You don't write Client-Server-based programs or just use Windows-Servers?
Ynd YOU call yourself a programmer?!
Name:
Anonymous2006-06-23 14:37
Real programmers use line editors. Preferably ed.
Name:
Anonymous2006-06-23 16:00
>>30
Working with line numbers is anal because you don't know or care for them, and you have to either waste visual space displaying them, or move the goddamned cursor to see what line do you want.
Name:
Anonymous2006-06-23 16:12 (sage)
>>35 Working with line numbers is anal because you don't know or care for them
You don't debug much, do you.
Name:
Anonymous2006-06-23 16:28
>>31
I do this a lot, noob. Just because you're a noob and don't understand Vi doesn't mean it's useless. Just stay with Visual Basic and let the pros do the good stuff.
Name:
Anonymous2006-06-23 16:32 (sage)
>>33 >>32 here, i mostly use echo and cat.
and i'm not a real programmer. if i were, i wouldn't be posting here.
Name:
Anonymous2006-06-23 23:36 (sage)
>>37 won't be writing software for anyone else, any time soon.
Name:
Anonymous2006-06-24 8:58 (sage)
>>39
There are worse things than vi, like Eclipse.