@samc@feddit.uk
link
fedilink
English
137M

Functional bros rise up!

Rise up and copy!

☆ Yσɠƚԋσʂ ☆
creator
link
fedilink
17M

We’re not savages, we use structural sharing in our data structures. :)

yes();

Now, I don’t functional (at all), but if you call a function with no parameters, doesn’t it imply side effects?

I mean it could just always return the same thing…

I would think that role is filled by constants.

akari
link
fedilink
37M

where we’re going, constants are just functions

Java 2: you can program anything you want but it has to be a function.

Classes are just functions!

Create a post

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.47K Posts
  • 32.3K Comments
  • Modlog