this post was submitted on 03 Sep 2024
470 points (99.2% liked)

196

16412 readers
1168 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 33 points 2 months ago (10 children)

I once wrote C# code in MS Word because the only other option was Notepad.

[–] [email protected] 61 points 2 months ago (4 children)
[–] [email protected] 1 points 2 months ago (1 children)

It was school work. All I needed was some proper visual indentations and a monospaced font.

[–] [email protected] 21 points 2 months ago* (last edited 2 months ago) (1 children)

Right, so Notepad.

The indentations in Word won't be "proper;" they're based on physical dimensions, not characters.

[–] [email protected] 1 points 1 month ago (1 children)

Like I said, all I needed was visual indentation. C# doesn't have significant whitespaces. As long as you account for all of the braces and semicolons, you could write an entire program in a single line.

[–] [email protected] 3 points 1 month ago

Right.

In Notepad.

load more comments (2 replies)
load more comments (7 replies)