r/csharp • • Nov 16 '25

Discussion Does C# have too much special syntax?

0 Upvotes

No hate towards C# but I feel like C# has too many ways of doing something.

I started learning programming with C and Python and after having used those two, it was very easy to pick up Lua, Java, JavaScript and Go. For some reason, the code felt pretty much self explanatory and intuitive.

Now that I am trying to pick up C#, I feel overwhelmed by all the different ways you can achieve the same thing and all of the syntax quirks.

Even for basic programs I struggle when reading a tutorial or a documentation because there isn't a standard of "we use this to keep it simple", rather "let's use that new feature". This is especially a nightmare when working on a project managed by multiple people, where everyone writes code with the set of features and syntax they learned C#.

Sometimes, with C#, I feel like most of my cognitive load is on deciding what syntax to use or to remember what some weird "?" means in certain contexts instead of focusing on the implementation of algorithms.


r/perl • • Jun 02 '18

What Perl needs is an Appstore.

0 Upvotes

Sure CPAN is a great repository of modules and Github has a large number of open source Perl projects. Perl is however more used to rustling up quick snippets of code for individual projects, rather than being made available in a form for widespread redistribution. I remember using Matt's Script archive ( still up, but not updated ). However an entity that allows Perl developers to either monetise their skills, or just make things easily available for other Perl devs to adopt or adapt would be, I reckon, a very useful asset.


r/haskell • • Aug 16 '13

Joe Nelson: Writing Haskell every damn day

Thumbnail
blog.begriffs.com
0 Upvotes

r/lisp • • Jan 15 '09

An Awesome Lisp Library

Thumbnail
foldr.org
1 Upvotes

r/csharp • • Sep 08 '21

Help Any idea as to why the method doesn’t change number each time?

0 Upvotes

r/perl • • Dec 28 '13

Perl and IPv6 (also: is Perl5 dying?)

1 Upvotes

When I was younger, Perl used to be the language of choice for Unix system and network programming: when one didn't want to bother writing in C, Perl could do everything with a lighter syntax and less time wasted on the irrelevant.

Nowadays, network programming necessarily involves IPv6 (the current IP version), and while Perl supports it (there is a Socket6 module), (1) it's not part of the core language / module set, (2) it doesn't seem to interact too well with the core modules, and (3) it doesn't have nearly all that is necessary for socket manipulation, and it seems pretty much abandoned.

The problem with (1) is that even if the module is on CPAN, it is not guaranteed to be available everywhere where Perl is, and installing it can be a problem. This is absurd: in 2014, IPv6 is not an advanced feature that can afford to be optional, it makes no sense for Perl not to have native IPv6 support.

The problem with (2) is illustrated by the following trivial script:

#! /usr/bin/perl -w
use strict;
use warnings;
use Socket;
use Socket6;

which produces the following output:

Subroutine main::pack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5
Subroutine main::unpack_sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5
Subroutine main::sockaddr_in6 redefined at /usr/share/perl/5.14/Exporter.pm line 67.
 at /tmp/stupid.pl line 5

Note that calling use Socket and use Socket6 (with no list of exports and in that order) is recommended by the official Socket6 documentation, I didn't invent it. While these are only warnings (and can be disabled by removing the -w switch), is still goes to show that Socket and Socket6 are not perfectly well integrated.

As for (3), it is illustrated by this bug report which I opened nearly four years ago, with a patch and which drew exactly zero response during that time. It is simply impossible to reliably open a socket without having the IPV6_V6ONLY constant because Unix systems disagree as to the default value.

I have the feeling that these are all symptoms of a larger picture, namely that Perl5 is pretty much abandoned. Which I think is very sad, because there is no other language that can claim to occupy the niche where Perl5 sits (or sat).

Can someone offer hope?


r/haskell • • Aug 28 '16

haskell.org and the Evil Cabal

Thumbnail
snoyman.com
23 Upvotes

r/lisp • • Nov 05 '13

why not use indentations rather than numerous parenthesis?

1 Upvotes

Although lisp is powerful, but I don't like parenthesis without limits.

In Haskell, I can use indentations instead of numerous brackets.

It can save our eyes and reduce efforts to deal with parenthesis by checking alignment.

Addon:

I thought I was misleading. What I mean is to mix both parenthesis and identations. I have a new idea which replaces (a b c) in a line with | a b c , so that

(defun abs2 (x) (cond ((> x 0) x) (t (- 0 x))))

could be

defun abs2 (x)
  cond 
    | (> x 0) x
    | t  (- 0 x)

In this case, s-expressions are preserved as more clear view, so I think whether s-expressions or macros are good or not is not a problem here.

Addon 2:

Personally, I did not have any difficult with lisp code and not going to abolish parenthesis. I just found when I use indentations to sort code, parenthesis seems unnecessary for parsing lisp, something like this ...)))))) can also be reduced. If so, we can work by using a simpler editor without any script extension, we get more choices, that's why I'm asking.

Thanks to Zak for pointing out google, I found:

http://srfi.schemers.org/srfi-49/srfi-49.html

As a example:

define (fac x)
  if (= x 0) 1
    * x
      fac (- x 1)

I'd like to know why lispers don't like this. Thanks for reply.

Addon 3:

Thanks to Denommus and tangus:

http://readable.sourceforge.net/

Honestly, No matter how those downvotes think, I really like this.


r/csharp • • Jul 24 '23

Meta VOTE: Reddit Protest Update and Planning, End of Full Blackout - July 24

0 Upvotes

Hello C# users!

Thank you for everyone who participated in last week's poll and voted to continue to stay blacked out.

A few days ago, /r/Python reopened. This means /r/csharp is the longest running blacked out programming subreddit. It also means that, other than /r/JavaScript being mostly restricted, no other programming subreddits are actively participating in the protest anymore.


IMPORTANT MOD NOTE: For those who may have seen recent spam or vulgar content in the /r/csharp Reddit chat, unfortunately there's nothing we moderators can do. A little while ago Reddit started deprecating this legacy chat feature and we no longer have mod powers to remove messages or ban users. (Great thinking there, Reddit!) You'll have to report the content and users directly to Reddit or leave the chat. Note that leaving the chat is permanent: there is no way to rejoin later. This is a site-wide issue and many subreddit legacy chats are having the same problem.


Here's the weekly update:

Updates and going-ons from inside Reddit:

Other Reddit-related news of interest:


Alternative discussion boards from /r/csharp:

Note that these communities have no affiliation with us. Do not contact their administrators about matters regarding /r/csharp administration.


We want to acknowledge the tenacity and resolve of the /r/csharp users who, week after week, voted to continue protesting by blacking out. It made /r/csharp the longest-running blackout of all programming subreddits.

That said, it's clear that Reddit is not budging and will not budge. We've been receiving a lot of modmail from new users of all stripes -- from self-learners, to students, to new hires, to professionals -- who use the years of posts, discussions, debugging, and help found on /r/csharp. Then there are many more users who do not message us and are roadblocked. While we acknowledge that that is a natural consequence and the point of a strike and protest, we feel that the potential for positive outcomes no longer outweigh the downsides of restricting access to the existing resources of /r/csharp.

Even if the protest hasn't achieved the outcomes you wanted, it has laid bare the issues Reddit has and its enshittification.

For those who wish to continue protesting, we aren't giving up if you aren't. We will continue facilitating in the form of moving the subreddit into restricted mode and posting notices on the sidebar and threads informing new users of Reddit & Steve Huffman's conduct, and directing them to alternative resources. We're also planning to have a sticky thread permitting people to ask questions and seek help on issues they're facing. We would also mark the subreddit as NSFW purely in protest to suppress advertisements; we would not actually be permitting NSFW content. This we feel can strike a balance with continuing to help newcomers to the C# .NET ecosystem while still protesting Reddit's controversial actions.

If we vote to continue with restrictions, we'll be doing so in solidarity with /r/javascript. If we reopen, that'll make /r/javascript the last actively protesting programming subreddit. Who would have thought JavaScript, of all languages, could be the lone holdout?

We'll have another round of voting for 48 hours until Wednesday July 26 at 12pm GMT.

  • Upvote the option you want to proceed with.

  • Downvote the option you do not want.


r/perl • • Jun 11 '21

I'm heading to a date with a girl that works with perl; any insider jokes I can wow her with?

2 Upvotes

Title says it all

Made a joke about liking defunct tech

She said oh yeah I work with perl you'll love me then

I commented how COBOL seems like a valid option

She said to stop swearing

Any follow ups, guys?


r/haskell • • Jun 10 '25

Haskell Internship @ Tesla

0 Upvotes

Did you know that we use Haskell in production at Tesla for some critical tasks? We're currently looking for an intern for the fall session (roughly Sept to Dec 2025). If you're interested and graduating in December 2026 or before, please apply on the careers page here: https://www.tesla.com/careers/search/job/internship-haskell-software-developer-vehicle-firmware-fall-2025-240953


r/lisp • • Apr 03 '13

Illegal argument - typed Clojure

Thumbnail
illegalargument.com
0 Upvotes

r/csharp • • Nov 25 '23

Am I stupid for hating C#?

14 Upvotes

Serious question. I'm a full stack web dev with experience in Node and Go. Here in the UK it seems like every other job is dotnet, so I'm spending a decent bit of time learning it because it feels like the only way to broaden my horizons. I've spent quite a bit of time looking at C# in a few jobs and my free time so I'd say I have some basic understanding of it.

Thing is, I just hate it. I hate being locked into OOP, I hate the amount of abstraction, I hate the idea of needing a runtime for a compiled language. More than anything I hate putting the opening brace on a new line. And by God do I hate visual studio so much

Outside of that, it's just seems a bit... Heavy? So much boilerplate and abstraction to do very simple things. Do I just hate OOP, have I been spoiled with more flexible languages? Skill issue?

I know I'm saying stupid stuff here so be gentle with me. Just want some perspective on why I feel like this. I know I don't have to use it but I don't think I should have such an emotional aversion to a language, especially one with such huge market dominance in my country

Edit: this has been really eye opening, thanks for the insight. It seems like I am mostly stupid, but a lot of the things I dislike are either fixed recently or will be fixed in the future. There also seems to be very different use cases for C# compared to go or node. I still think the new line as default is stupid, and visual studio has no right using the amount of memory it does, but I'll give it another shot.


r/perl • • Aug 08 '25

Converting the Perl Power Tools to Python, using AI

2 Upvotes

Jeffrey S Haemer, who wrote some of the original Perl Power Tools programs, had the idea to convert them to Python using Gemini in the Python Power Tools project.

Tom Christiansen (tchrist) originally started the project in 1999, and some of the programs show the programming styles of the time. Some of these are pretty painful to read given 25 years of Perl style evolution, which means the automatic translation might have some interesting outputs. I'm curious how it would go.

Since most tools in the Perl project don't have tests, checking that the translation is correct will be a problem. In theory, running the Perl tests against the Python tool shouldn't be a problem in many cases. We'll see how it turns out.


r/haskell • • Mar 10 '25

video Your friendly neighborhood queer Haskell enthusiast is writing a compiler

Thumbnail
twitch.tv
51 Upvotes

r/lisp • • Apr 16 '11

Lisp Is Not An Acceptable Java

Thumbnail matthias.benkard.de
0 Upvotes

r/csharp • • Mar 23 '24

Help I wish I could unlearn programming…

0 Upvotes

I really need some advice on knowledge of CSharp.

When I was 17 years old, I signed up for an apprenticeship as a software engineer. As I'd been programming in Csharp for a few years, I thought I actually knew something. After about a year of learning, I was asked if I was serious about the apprenticeship. As I knew nothing about the use of different collections, abstraction of classes, records or structs. And certainly not about multi-threading.

I was told that I knew how to sell myself beyond my actual knowledge. I didn't know anything and that we were starting from scratch. E.g. what is a bool. What is a double. I was so confused, I hated the apprenticeship so much.

Now. I feel like I know nothing.

Edit: fixed some grammar and terminology.


r/perl • • Jan 30 '19

Perl problems

0 Upvotes

r/haskell • • Dec 17 '23

What are the benefits of laziness in Haskell?

0 Upvotes

Hello you all.

I watched a video by Alexis king about laziness but I don’t have patience for videos so didn’t finish it.

Can you please give me an idea of what benefits laziness brings to Haskell? And can you share of a paper or a good blog post that talks about this? Thanks


r/lisp • • Oct 01 '24

Do you find Lisp's syntax too boring?

3 Upvotes

Does anybody else sometimes feel like Lisp's syntax is almost too boring?

Like, the syntax definitely has advantages. I have my Emacs (+evil) configured so I can cut any S-expression I want with d-; And thanks to that, I can move around a long 'case' expression in only 3 keystrokes. It's much more tedious in lots of other languages.

But I also look at some other languages, like Ruby with its meta-programming abilities, and I can only think to myself: Wow! It looks so cool! So joyful! So much sugar! Then I turn around to my Scheme codebase, and it feels like a wave of sadness just hit me (ok, maybe not!)

In my case, I think it has to do with the fact that Lisp code doesn't read much like English (I think we agree). It doesn't try to. Ashamedly, I believe I'm somewhat of a sucker for literate programming, likely more than the proper, healthy amount.

As a side note, I always thought the best way to make Scheme more natural-like, fun, and possibly more readable is to have the option of specifying all arguments with explicit keywords. For example, (move :the book :to bookshelf) instead of (move book bookshelf). Or (find :needle f :in ls), instead of (find f ls). Maybe a system similar to Smalltalk? Don't know. I have a feeling nobody's gonna agree to this :S

What do you think? Does Lisp's syntax sometimes get too boring?


r/csharp • • Jun 15 '24

Meta Microsoft documentation is kinda whack tbh

0 Upvotes

Maybe I'm just too much of a beginner, or not enough of an expert dev, but am I the only one who finds MS docs to be based on the assumption that the reader already has a solid knowledge of the language or code or infra or whatever?

Like look at this for instance

https://learn.microsoft.com/en-us/windows/win32/secprov/win32-encryptablevolume

Look at each entry ("sub-link"). Not that detailed, right?

I find all MS Docs are kinda like this. Is that on purpose?


r/perl • • Jan 07 '12

How to prevent job applications by Perl developers

Thumbnail
jobs.perl.org
0 Upvotes

r/haskell • • Feb 05 '18

Bigotry and its Amplifiers: A Response To LambdaConf

Thumbnail
medium.com
6 Upvotes

r/lisp • • May 05 '23

Lisp and ChatGPT

0 Upvotes

One computer scientist once said that Lisp and Prolog are to archaeologists what Latin and ancient Greek are. In the 1980s, Lisp or Prolog was an essential subject in universities. Scheme was used for SICP at MIT.

However, they are rarely used in the real world of programming, where practical languages such as Python and Java are preferred. Programming languages come and go like fads, and many will be born and die.

If you ask ChatGPT, it can translate from Lisp into many other computer languages. It has even translated the simple Takeuchi function into Python.

Rather than trying to learn a trendy language, it may be more beneficial to learn classical Lisp, as it provides a strong foundation for understanding programming concepts. Humans do not need to learn many programming languages since ChatGPT can translate them into practical languages.

What do you think?


r/csharp • • Feb 13 '24

Tool Instead of using GUIDs for the IDs in your project, consider Sqids: a way to generate short, YouTube-like IDs from numbers

Thumbnail
github.com
0 Upvotes