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

196

16514 readers
2232 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
[–] rtxn@lemmy.world 33 points 2 months ago (5 children)

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

[–] SpaceNoodle@lemmy.world 61 points 2 months ago (1 children)
[–] rtxn@lemmy.world 1 points 2 months ago (1 children)

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

[–] SpaceNoodle@lemmy.world 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.

[–] rtxn@lemmy.world 1 points 2 months 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.

[–] SpaceNoodle@lemmy.world 3 points 2 months ago

Right.

In Notepad.

[–] cheddar@programming.dev 20 points 2 months ago (1 children)

I was there, Gandalf, 3000 years ago, writing my first html code in notepad. And I was happy about that.

[–] SpaceNoodle@lemmy.world 5 points 2 months ago

ASP and PHP, too.

[–] Deestan@lemmy.world 15 points 2 months ago

I wrote some code with ed once. It had a nice, calm insanity to it.

[–] lud@lemm.ee 5 points 2 months ago

I honestly don't understand how notepad is a worse alternative to word.

Word is great for formatting documents but not code.