[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Why is C# the best programming language? >inb4 le bajeet

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 45
Thread images: 2

Why is C# the best programming language?

>inb4 le bajeet microcuck meem XDDdd

It is not Microsoft-specific, it's open sores and a lot of Linux software is written in C#.
>>
Because it's a very robust language and the CLR doesn't even feel like a virtual machine.
>>
>>58866396
>a lot of Linux software is written in C#
Like what?
>>
It is Java with the proper namespaces and first-class functions.
>>
>>58866413
Like Banshee, you ignoramus.
>>
>>58866396
C > *
>>
>>58866396
C# is a piece of shit, it has no use in this world. It literally is chewed up C++ for fucking retards.
>>
>>58866438
If you love buffer overflows, then yeah.
>>
>>58866428
What the hell is a Banshee?

Also
>a lot
>can only name one
>>
>>58866447
Buffer overflows are only a concern if you're a bad programmer.
>>
>>58866473
Then I guess a majority of C programmers are bad programmers, since buffer overflows are still the most common security exploit.
>>
>>58866449

http://www.mono-project.com/docs/about-mono/showcase/screenshots/

Keep grasping at straws, faggot.
>>
>>58866473
That is not true at all. Bugs happen independently of your programming competency.
>>
>>58866483
>Literally software nobody uses
ok fgt
>>
>>58866507
Of course, it's Linux software. Stop saying obvious things.
>>
>>58866483
>Literally 19 applications where half of them are using WinForm only
double kek

You just btfo'd yourself mang.
>>
fuck off poopjeet
>>
>>58866517
That's about half the entire Linux ecosystem. It doesn't really have a lot of softwares...
>>
>>58866513
Wouldn't say a few small bad software is "a lot"
>>
>>58866532
Nobody cares what some anonymous shitposter would or wouldn't say on a Crimean matryoshka imageboard.
>>
>>58866542
I guess you have a different definition for "a lot" then ;^)
>>
>>58866531
>half of Linux ecosystem is 5 shoddy music players, a game making framework and a on-screen keyboard for Nu-Males that's literally named Nu Tech

Ask me how I know you come from /v/.
>>
>>58866546
The last three characters of your post invalidate your entire argument, I'm afraid.

>>58866550
Why are you so mad that your OS doesn't have softwares?
>>
>>58866447
I convinced our company to switch our back-end to PHP and we got owned by SQLI. fuck you faggot.
>>
>>58866564
"Softwares" is not a real word, Pajeet.

Also, it has plenty of software, but I guess all you use your computer for is listening to mp3s from your obscure indie bands and making indie games about a Fez.
>>
>>58866564
Well, at least I'm not autistic like you
>>
>>58866571

Your own damn fault for not reading the OWASP Top 10 and taking the necessary precautions, faggot:

https://www.owasp.org/index.php/Top_10_2013-Top_10
>>
>>58866601
It should have it built in that it can't do this, just like they fixed buffer overflows.
>>
>>58866650

It does. It's called prepared statements and parametrized queries. The documentation even mentions it.

http://php.net/manual/security.database.sql-injection.php

But you didn't use it, of course.

You could also have used Active Record, but I am not a fan of it.
>>
>>58866692
It shouldn't let you do concatenation of user input for queries just like it doesn't let you overrun buffers.
>>
>>58866941
>Have the choice of checking the length of an array
>c is bad because you have the choice of doing a bad thing

>have the choice of using prepared statements
>Php is perfect. you're just using it wrong.
top kek lad
>>
>>58866941

>It shouldn't let you do concatenation of user input for queries
Then you wouldn't be able to build complex queries.

You're just using the wrong interface for your purposes.

>it doesn't let you overrun buffers
It does, the difference being it won't let you go into unchartered memory. It will detect the overrun and either reallocate your buffer for you or raise an exception.

>>58866948

>Have the choice of checking the length of an array
How? C has no way of letting you check the length of an array. You have to figure that out yourself, for example by passing the length around.

>you have the choice of doing a bad thing
It's not just "the choice of doing a bad thing". You're just letting everybody know you have never coded in C by oversimplifying things like that.

Buffer overflows in C don't happen just because the programmer made a bad choice. SQL injections in PHP do happen because the programmer made a bad choice.

>php is perfect
Nice strawman, I never said that.
>>
All the retards defending C unironically ITT have obviously never had to deal with strings in it.
>>
>>58867076
Don't worry, this is 4chan. It is satire. They are being ironical.
>>
>>58867023
>How?
By keeping the number you use when you allocate the space and taking that into consideration whenever you read from or write to the array.
>>
>>58867076
>Too stupid to deal with null-terminated strings
Stop projecting your incompetence onto everyone else.
Dealing with null-terminated strings and manually managing the buffers is easy.
>>
Best? No. Top three (C, C++, and C#)?

Fuck yes.

Fuck /g/'s obsession with that shitty beginner clusterfuck of a language python and its nulanguage ilk. If you're not using C/C++/C#, you are doing it wrong.

Been coding for fucking 20+ years of my life (oldfag) and I know my shit.
>>
>>58867104
>/g/'s obsession with that shitty beginner clusterfuck of a language python

That's not really /g/ specific as it could make them a salaryman. Stay mad.
>>
>>58867095
>Dealing with null-terminated strings and manually managing the buffers is easy.
You've obviously never had to deal with strncpy/strncat.

>>58867090
You just contradicted yourself. You said you had the choice of checking the length of an array. You obviously don't, you have to know the length beforehand, which is what I said.
>>
>>58867104
>/g/'s obsession with that shitty beginner clusterfuck of a language python
What? People give people shit for using memesnek all of the time?
Please fucking lurk before posting.

Also
>/g/ is one person
>Actually using that clusterfuck that is C++
>>
>>58867142
Of course I have.
strncpy zeros out the other bytes.
strncat is fine.

I don't typically use those functions though. I prefer to use s(n)printf.
>>
>>58867076
All the retards putting down C are shitty "programmers" that think the pile of fucking garbage python is the pinnacle of programming languages.

Go piddle around in VB, kids, that's all you're ever going to be able to accomplish. I've written huge, complex programs in C with tons of string manipulation and I have had ZERO fucking issues with it because I'm not a fucking first year wannabe programmer being taught bullshit programming by a memorization factory university.
>>
File: unimpressed.jpg (34KB, 615x410px) Image search: [Google]
unimpressed.jpg
34KB, 615x410px
>>58867156
>strncat is fine
>sometimes nul-terminates, sometimes doesn't
>no way to detect truncation
Yeah nah, it's dogshit.

>>58867200
I have never done Python. I do Object Pascal. It's infinitely superior to both C and C++, both in string handling and memory management.

>I've written huge, complex programs in C with tons of string manipulation and I have had ZERO fucking issues
I'm sure you have.
>>
>>58867142
>You've obviously never had to deal with strncpy/strncat.
But I have, and they're pretty straight forward.
>>
>>58867617
Go to bed Ulrich, you ruined glibc.
Thread posts: 45
Thread images: 2


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
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.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.