MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programmingmemes/comments/1tdz99n/writinghelloworldwithoutallthegear/olywh0e/?context=3
r/programmingmemes • u/HitxLerr • 17d ago
108 comments sorted by
View all comments
22
Java and it's clear superior C# can both do one liners now.
9 u/Luk164 17d ago Except any serious project quickly switches back to the full syntax. It is good for first timers though 2 u/Devatator_ 16d ago Not really, it's really useful for small stuff. I typically use it for C# scripts (dotnet script.cs) since they're all single files (and it uses top-level statements by default) 3 u/Luk164 16d ago I do not dispute that, but I also wouldn't call a simple script "serious project", though I understand my wording was a bit arbitrary 1 u/Sol_Nephis 17d ago Generally. I still use top level statements but if it's a single file project I'll use .NET 10s single file scripting.
9
Except any serious project quickly switches back to the full syntax. It is good for first timers though
2 u/Devatator_ 16d ago Not really, it's really useful for small stuff. I typically use it for C# scripts (dotnet script.cs) since they're all single files (and it uses top-level statements by default) 3 u/Luk164 16d ago I do not dispute that, but I also wouldn't call a simple script "serious project", though I understand my wording was a bit arbitrary 1 u/Sol_Nephis 17d ago Generally. I still use top level statements but if it's a single file project I'll use .NET 10s single file scripting.
2
Not really, it's really useful for small stuff. I typically use it for C# scripts (dotnet script.cs) since they're all single files (and it uses top-level statements by default)
dotnet script.cs
3 u/Luk164 16d ago I do not dispute that, but I also wouldn't call a simple script "serious project", though I understand my wording was a bit arbitrary
3
I do not dispute that, but I also wouldn't call a simple script "serious project", though I understand my wording was a bit arbitrary
1
Generally. I still use top level statements but if it's a single file project I'll use .NET 10s single file scripting.
22
u/Sol_Nephis 17d ago
Java and it's clear superior C# can both do one liners now.