[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


At what point does the syntax become so terrible that its simply not worth using the language no matter the benefits it might have under the hood? Because c# is the most disgusting shit ive ever seen in my life. Why would they call it "c#"? It doesnt seem similar to c in any way. I mean to be honest the only thing ive ever done with it is write hello world then immediately rage deleted .NET off my system because the syntax disgusted me so much. Whats confusing to me is knowing that many people have actually kepy using the lang after that point. Whats the worst syntax youve ever seen?
>>
>>107888342
>Why would they call it "c#"?
"I Can Believe It's Not Java" was too long of a name.
>>
>>107888342
C# is not bad in its modern form. It used to be total cancer because you were forced to write everything in a cancerous object oriented style with the
namespace MyApp {
static class Program {
public static void Main(String[] Args)
{
REAL CODE GOES HERE
}
}
}

kind of bullshit but nowadays I hear you can just write code directly in the file and it works.
>>
>>107888396
I guess i wasnt the only one who complained about it
>>
>>107888342
>the example of terrible syntax is a boilerplate that hasn't been required for several years now.
Retard
>>
>>107888342
Rust has the best syntax of all languages, as long as you don't do compile-time calculations (regardless of whether it's through the turing complete trait system or through macros)
>>
File: calendar.png (3.16 MB, 9779x3472)
3.16 MB
3.16 MB PNG
>>107888948
>Rust has the best syntax of all languages
correct
>>
>>107888956
Where did you get this image from?
>>
File: calendar.jpg (3.92 MB, 7997x4450)
3.92 MB
3.92 MB JPG
>>107888979
I made it
>>
>>107888988
Really? Where do you post it?
>>
File: calendar_small.jpg (3.99 MB, 7907x5941)
3.99 MB
3.99 MB JPG
>>107888993
here
>>
>>107888956
The non function chaining version would be 10x the size and complexity.
You don't have to use function chaining if you don't want to anyway.
>>
>>107888342
I use Java and I have never once in my professional life written the main method manually.
There are instances, though, where I just don't use a feature because the syntax is annoying.
For example, I don't use the final modifier for local variables even if I don't intend on modifying them.
In Kotlin I would default to val, but in Java I'd have to clutter my code with final everywhere which I'm just not gonna do.
I simply can't remember ever having a bug that would have been prevented by this, so it's okay.
On another note I find C++ style syntax incredibly ugly.
>>
>>107889001
>modifying
*reassign. you can still modify final objects.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.