Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "functional"
-
Worst Hackathon ? When you have coded so hard during 48 hours to have a functional prototype and the winners get trophee with a static PowerPoint, full of bullshit buzzwords...10
-
When you work for school IT you find these kinds of things sometimes when cleaning the office. And yes it's fully functional15
-
Me and small projects:
*writes messy but functional code*
*leaves code for a week*
*wants to finish code*
*code too messy - starts from scratch*
*leaves code for a week*
*wants to finish code*
*code too messy....*3 -
Manager: I read an article today
Dev: oh here we go….
Manager: We must pivot to only functional programming, which means only using functions instead of classes
Dev: Actually functional programming is a bit more nuanced tha—
Manager: Any use of classes going forward is not allowed. Everything must use functions! Classes are an outdated way of programming, using classes is why we continue to miss our deadlines. Functional programming is lean, classes are waterfall.
Dev: What about the libraries we use? Many of those use classes
Manager: Wrap them in a function then, that way they are pure which is one of the requirements of functional programming. You would know that if you spent as much personal time as I do keeping up with the times.34 -
*me, 11 pm: "Welp, I think I'm gonna stop for tonight"
*Me, 2 am of same evening: "ThE eDiT fOrM iS fUnCtIoNaL aNd wOrKinG!!!"3 -
When I started to learn functional programming I asked myself: "What the hell is this?"
Fast forward a couple of years, I still wonder what 'this' is.7 -
Functional Programming literally has 'fun' in the title; OOP is one letter away from 💩. I rest my case.5
-
I love how i always gotta drive east in the morning and west in the afternoon. And then people ask why i use dark themes, I WANT MY EYES TO REMAIN FUNCTIONAL DAMMIT.4
-
'React JS functional fun'
A tweet about reactjs, #'d with 'python' and an image of the ruby logo....someone's tired this Friday 😂1 -
#+BEGIN_QUOTE
What’s 5 plus 2?
7.
Correct.
What’s 5 plus 3?
8
Nope. It’s 10, because we turned 5 into 7, remember?
#+END_QUOTE1 -
IKEA can't "assemble" a functional website. I spent two days, had 4 checkout attempts and used 2 cards and 3 browsers to get to this stage.
Still beats driving to the store.5 -
Drivers across Operating Systems.
Windows: What the fuck is any of this? Here's something minimally functional.
Mac: That's not made by Apple, fuck off.
Linux: Here you go, have fun if you're missing functionality!3 -
Don't get me wrong, I like funcional programming, but this smug „This would neeever happen with FP“ bullshit really gets on my nerve and kind of turns me off the idea of ever wanting to work with FP programmers.
It's just another paradigm, it's still possible to write unmaintainable fuckugly crapcode with functional programming.
And it is still very possible to write beautiful, clean, well maintainable code with OOP. Get over yourselves and understand that it's a tool and not a religion, and a good dev should know when to pick which tool for which job without childish notions of intellectual superiority.4 -
Once I watched a 30min YouTube video on functional programming just because the presenter was cute. 😘
Anyone ever did this ???
And btw the video is Functional programming by Anjana vakil.13 -
1h into learning Haskell and I haven't written a single hello world example yet
Change feels good
I already love it12 -
14 hours in. With no end in sight. Who the fuck does circuit upgrades in a damn data center without ensuring there was a functional redundant powder supply?! I want to slap all these fuckers.10
-
Very early indev, and missing a LOT of layout (Icon bar, tabbed region, etc.), but this is my barely functional UWP File explorer!15
-
I really like programming in Haskell.
Everyone I know seems to hate it (or prefer to work with oo-languages)
Any friendly Haskeller here who wants to collab/teach/learn from each other? ._.'8 -
It's 5 in the morning, but I fucking did it.
The dashboard of my CMS is fucking done and functional. And it's gorgeous as fuck.9 -
me: "aye im a cool functional programmer, monads are useful, whats up loop using plebs'
also me: *passes input argument as terminating condition*1 -
If you ever feel bad about letting non-functional code through to production, just remember that it even happens to companies like Google (My screenshot from a few months back)1
-
docker documentation is terrible. Mf'ers seem allergic to giving actual functional examples.
Watch me generate a 1-to-1 copy of the docker compose docs (real & true):
`docker compose --help > docs.html`13 -
Functional Programming literally has 'fun' in the title; OOP is one letter away from 💩. I rest my case.4
-
The sad thing is no matter what we do we are all a variation of homer 😂🤣
Borrowed from https://medium.com/@cscalfani/...1 -
Tutanota.
It's very functional while providing great data protection/privacy features at the same time.
And it's free by default! (although I do pay for a premium account)7 -
It works. It finally works!
After an 8 hour session I got my crawler to work and give me basically every anime op/ed I long for.
All that using Elixir even though I'm still fairly inexperienced with both elixir and functional programming
I'll try to create an API and eventually Maybe even a database tomorrow (or rather in a couple of hours)5 -
If the company advertises itself as a family environment, RUN. I know no family's perfect, or how functional yours is- but remember that with any family there's a high risk of drama and bullshit.2
-
WOOOO!!!!! I BUILT MY FIRST FULLY FUNCTIONAL REACT NATIVE APP! Including the release apk that needs to be signed. Took an entire day and more like an advanced HelloWorld.
But the core functionality works... Though not pretty...3 -
after hours of trying to get the wifi working... Manjaro KDE is functional... and it's beautiful
Look at the blurred background behind the terminal! Magic!
Everything's so snappy... and the dark theme... I'm in love.4 -
Me in school: Math? When do I need know those details? I can look them up and just code it.
Me in high school: Computer science is way too math-y. I want to code!
Me coding php: Just make it work.
Me coding typescript: Just make it work.
Me coding scala: Just make it ... what ... how do I make it work!?!
Me asking stackoverflow: How do I do X in scala some functional programming stuff in mind in order to keep immutability.
Somebody way smarter than I: "In scalaz, a function A => A is called an endomorphism and is a Monoid whose associative binary operation is function composition and whose identity is the identity function"
Me now: Fuck my old arrogant self.1 -
Soo.. yeah.. I've just build a fully functional http webserver with BASH :) Yippee!!
Proof in the comments31 -
sometimes we try to make things better and realize people just want the same old non functional bloated shit...
-
I'm not sure *why*, but I increasingly see the following pattern:
Challenge a primarily OO / imperative dev by saying OO or imperative styles aren't always a good fit, and that a stateless functional approach can offer advantages, and you often get something akin to:
"Yeah, it's new to me so I'm still working my way around it, but I get that. Makes a lot of sense."
Challenge a functional dev by saying the functional style isn't always best, and in some cases functional isn't a good fit, and you tend to get:
"YOU IMBECILE! YOU ARE SIMPLY CONSTRAINED BY YOUR YEARS OF MINDLESSLY FOLLOWING THE OO HERD! FUNCTIONAL IS ALWAYS SUPERIOR!! ALWAYS, I TELL YOU!!"
I mean geez guys, calm down and learn it's just another tool in the toolbox. I get that popular paradigms emerge and have their die-hard supporters, but I didn't even see this kind of thing when OO became the "new thing everyone needs to use for everything" in the 90's.3 -
I forgot how much i love godot, started a game yesterday and its already mostly functional.
Also im not a pirate irl, just wanna flex my 40k+5 -
In a getting started tutorial about Haskell:
"You probably already have haskell installed because you tried to learn it once and failed"
He's so right...1 -
So... I joined the Blacker black side and shit's awesome!
Anyways, just wanted to take a break from my Functional Programming study for my exam I have on Tuesday. My brain's a mess rn.8 -
I FINALLY comprehend list comprehensions.
I can write an unlimited amount of nested loops on a single line and make other less experienced people hate me for fun and profit.
Also learned about map() #I hate it#, zip(which is awesome), and the utility of lambdas (they're okay).
Enumerate is pretty nifty too, only thing I lose is setting the initial value of the iterator index.15 -
"Ability to work under pressure and work with cross functional teams to meet tight deadlines."
Nope. Nope.
Fuck the managers of whatever shithole you want to drag me to. Nope.1 -
I could write 20 pages ranting but it can be summarized in a few words that describe the situation pretty well:
My 'CTO' doesn't understand basic OO principles (say, inheritance) nor functional programming.3 -
Let’s see what are you currently working on guys 🤘🏻
I’m currently fixing bugs from an internal app from my job... it’s the first we do a fully functional application using SwiftUI21 -
Functional programming vs object oriented programming.
I don't believe one can replace the other I just want to know some other people's opinions.40 -
I really want to test out a fully functional Ubuntu Touch phone but I don't have access to one.... Really wish my Android could dual boot it so I could try it out.4
-
I once knew a guy who claimed that:
* Declarative languages were these where you declare variables before you use them.
* C is a functional language because every subroutine was returning something (even void).2 -
i like to write schrödinger's code.
as in, if i write code and never run it, it is both functional and nonfunctional.3 -
No wonder my Python code was broken. I called the super function of the wrong ancestor 🙄 Lesson learned: run the tests after every functional change, no matter how trivial it might seem.2
-
uSE AnY pRogrAmMinG L@ngu@g3 yOu liKe.
1nTervi3weRs Do N0t CarE aBouT tHe L@nGuAge.
Fuck you. Stop asking time complexity or space complexity of functional code. No one fucking knows.19 -
When I was in college OOP was emerging. A lot of the professors were against teaching it as the core. Some younger professors were adamant about it, and also Java fanatics. So after the bell rang, they'd sometimes teach people that wanted to learn it. I stayed after and the professor said that object oriented programming treated things like reality.
My first thought to this was hold up, modeling reality is hard and complicated, why would you want to add that to your programming that's utter madness.
Then he started with a ball example and how some balls in reality are blue, and they can have a bounce action we can express with a method.
My first thought was that this seems a very niche example. It has very little to do with any problems I have yet solved and I felt thinking about it this way would complicate my programs rather than make them simpler.
I looked around the at remnants of my classmates and saw several sitting forward, their eyes lit up and I felt like I was in a cult meeting where the head is trying to make everyone enamored of their personality. Except he wasn't selling himself, he was selling an idea.
I patiently waited it out, wanting there to be something of value in the after the bell lesson. Something I could use to better my own programming ability. It never came.
This same professor would tell us all to read and buy gang of four it would change our lives. It was an expensive hard cover book with a ribbon attached for a bookmark. It was made to look important. I didn't have much money in college but I gave it a shot I bought the book. I remember wrinkling my nose often, reading at it. Feeling like I was still being sold something. But where was the proof. It was all an argument from authority and I didn't think the argument was very good.
I left college thinking the whole thing was silly and would surely go away with time. And then it grew, and grew. It started to be impossible to avoid it. So I'd just use it when I had to and that became more and more often.
I began to doubt myself. Perhaps I was wrong, surely all these people using and loving this paradigm could not be wrong. I took on a 3 year project to dive deep into OOP later in my career. I was already intimately aware of OOP having to have done so much of it. But I caught up on all the latest ideas and practiced them for a the first year. I thought if OOP is so good I should be able to be more productive in years 2 and 3.
It was the most miserable I had ever been as a programmer. Everything took forever to do. There was boilerplate code everywhere. You didn't so much solve problems as stuff abstract ideas that had nothing to do with the problem everywhere and THEN code the actual part of the code that does a task. Even though I was working with an interpreted language they had added a need to compile, for dependency injection. What's next taking the benefit of dynamic typing and forcing typing into it? Oh I see they managed to do that too. At this point why not just use C or C++. It's going to do everything you wanted if you add compiling and typing and do it way faster at run time.
I talked to the client extensively about everything. We both agreed the project was untenable. We moved everything over another 3 years. His business is doing better than ever before now by several metrics. And I can be productive again. My self doubt was over. OOP is a complicated mess that drags down the software industry, little better than snake oil and full of empty promises. Unfortunately it is all some people know.
Now there is a functional movement, a data oriented movement, and things are looking a little brighter. However, no one seems to care for procedural. Functional and procedural are not that different. Functional just tries to put more constraints on the developer. Data oriented is also a lot more sensible, and again pretty close to procedural a lot of the time. It's just odd to me this need to separate from procedural at all. Procedural was very honest. If you're a bad programmer you make bad code. If you're a good programmer you make good code. It seems a lot of this was meant to enforce bad programmers to make good code. I'll tell you what I think though. I think that has never worked. It's just hidden it away in some abstraction and made identifying it harder. Much like the code methodologies themselves do to the code.
Now I'm left with a choice, keep my own business going to work on what I love, shift gears and do what I hate for more money, or pivot careers entirely. I decided after all this to go into data science because what you all are doing to the software industry sickens me. And that's my story. It's one that makes a lot of people defensive or even passive aggressive, to those people I say, try more things. At least then you can be less defensive about your opinion.53 -
Should I try to learn functional programming or focus on a lower level language?
My strongest language is C#.
I'm looking at F# or Rust atm.
Thoughts?19 -
When me and my team put all efforts into making a functional app and the top 3 winners only had a PowerPoint with wireframes of their app.
-
Why does every Software Engineering role at the top companies never have PHP or any functional languages in it’s list of languages they want you to be experienced in?
It’s always Java, Python, C#, C/C++, Objective C or Ruby. What about Elixir, Scala, Haskell or Clojure?9 -
Any Haskell programmers here?
I started to learn this language for fun two days ago and so far I find it absolutely amazing and really different to OOP languages. Most of the time the solutions make so much sense, but actually coding them requires really abstract thinking of the problem. How fast did you learn Haskell? How long it took you do code it comfortably? Any advises you can give me? I work mainly through a uni exercise sheet from a friend from a different uni, and the rest is hoogle and google :P10 -
Unit testing is cool and all, but FFS...
If you want unit test - cool. But its not drop-in replacement for functional testing!
I believe each release should be manually tested.9 -
Hackerrank challenges: pretty good, a lot of them make you think a bit, or look up a mathematic formula
Hackerrank challenges using a functional language: List.fold1 -
A year ago I ranted, that I understood JavaScript callbacks.
That was a lie. I knew nothing.
But I think I scratched the surface by getting into functional programming this time.3 -
Well, it took me 7 hours but I finally made it.
I have a functional Arch Linux installation on my new laptop.
oh except the audio fails from time to time but it'll work eventually
and my hard disk starts clicking whenever I reboot even though I keep disabling its "power management"
and for fucks sake will you please mount my usb when i tell you to
and my touchpad doesn't work
but I can code and play games on it so whatever it's functional8 -
CAN SOMEONE PLEASE EXPLAIN TO ME WHAT THE FUCK LAMBDA CALCULUS IS??!?!?!
I swear to fuck, nothing makes you feel more like an idiot than trying to understand functional programming after living all your life in the oop world.
Fucking meta-functions and alligator games.
Fuck this, I'm going back to my happy little Java world11 -
Dear CSS,
although you can make even the ugliest mess look beautiful, I despise you more everytime we have to cross paths.
Yours truly,1 -
I hate HTML forms. Fucking hate them.
They're semantic so folk use them to group related inputs.
But they're also functional if you're not just typing something in and pushing enter to send it to a server, you have to override every. fucking. event.
Semantic _or_ functional is fine, but for the love of all that is holy, not both. I hate this.14 -
One day after typescript , I ditch JavaScript on es5 totally and my college education on objective orient finally pays off ! !
I love functional programming but still insist that objective oriented is better for large project3 -
Dear rust,
I swear im not going to modify that string, i fucking swear on my life pinky promise, just plEASE LET ME USE IT WITHOUT HAVING TO CLONE.
Sincerely, a functional programmer6 -
Convincing them I'm a fully functional human person and not an autistic introvert with imposter syndrome crammed into a vaguely human shaped meat bag.2
-
I know functional programming is hip now, but I wonder if I'll ever see a day when it's considered cutting edge to make every variable global. Possible twilight zone episode?6
-
Scala's default Seq is MUTABLE. Why the fuck do I want mutability in my functional scala code!?
Now I have to riddle my code with imports to scala.collection.immutable.Seq which looks just ugly.
Gosh dangit.3 -
When somebody demos a new app to the CIO as a functional product but turns out to be a concept prototype made with Origami without any proper code... literally a glorified PowerPoint with animations....3
-
Today’s frontend bitches appropriating functional programming like “ancient programming secrets” is exactly like eighties con artist bitches appropriating yoga and ayurveda like “ancient well-being secrets”
Just plain wrong and laughable
Go learn cs11 -
Automated functional testing using selenium and javascript bindings
aka
FUCK FUCK FUCK Driven Development2 -
I've created a little functional script you can use for formatting US phone numbers. You can check it out here: https://codepen.io/datwood/full/....
I'm sure there are improvements I haven't thought of so feel free to mention any you think of.
I've built it so that it can work any input field set to type=tel that has a placeholder.10 -
For context, I've been working for a couple years now with Rust, and, I have to say, the experience has been astoundingly pleasant. The language is both incredibly productive and meets each of my use cases and stipulations regarding speed, safety, and complexity. That said, I've come to beg the question, "what is the point of functional languages like Haskell?" To me, what seems attractive about Haskell is the inherent thread safety, and the added syntactic niceties of code written in the language. However, one must keep in mind, my experience with Haskell has been pretty limited, simply due to the massive learning curve that the language presents. Such a "learning curve" brings me to my central point: these days with languages like Rust which bring together the best from functional and imperative worlds, it seems like functional languages are becoming increasingly irrelevant. Let's face it: no sane person will choose to learn a functional language as their first language, outside of academia and mathematics, and OOP/OOP-like languages remain dominant in the space. So, why then, is Haskell any different? What benefit do languages like Haskell pose in the modern CS space that thread-safe, non-GC languages don't already provide?2
-
Just spent 2-3 hours working on code that's been functional for months, but suddenly stopped working bc an dependency I'd updated decided to change required input/output formats without any documentation whatsoever on those new requirements.
-
Why is OOP hated, here?
How is functional programming much better than OOP? (as stated by so many peole here)18 -
I would like to get a little bit into functional programming.
Do you have any language suggestions to learn?14 -
So guys, do you think I should learn one functional programming language and if so should it be haskell?2
-
New folks, learn functional programming. Avoid the stupid pain with OOP and mutability. Pays off a lot and for ffs, increase your salary demand, don't lowball, so everyone can enjoy higher pay.43
-
Trying out pure functional programming in javascript. First few weeks: wow, this is so fresh, oop can die, etc. Now: this isn't readable at all! 😐5
-
That moment when you're about to push to release but then you remember that it's not even functional yet.1
-
Talking about Deutsche Bahn ticket buying not working, but the NS sends me emails with non-functional buttons to press in order to get my ticket. What a train wreck1
-
Commit functional changes separately to code quality changes
Otherwise I'll make you do it all over again 😤 -
That moment when you're very happy you just completed a hard Haskell kata in CodeWars, with 8 lines, three functions, a lot of functional concepts (which would take at least 30 lines in Java or C#) and they show you the top voted solution by another user with JUST TWO LINES and a lot of function composition.2
-
I mean JavaScript is all cool and everything, but without type safety, it becomes gigantic pain in my ass :'(
Is there anybody who feels the same? :(9 -
I hate it when someone says 'syntactic sugar' and on the other hand wants code to be readable. For me it seems that this are wheels which chain together.1
-
Learn JavaScript.!!
Everybody talk about functional programming, I was thinking why php json_encode is not working on large array.
Javascript is Awesome.2 -
I'm still pretty new to elixir and functional programming. There have been numerous cases where I accidentally recreated functions such as Enumerable.map 😅2
-
Decided to try out the new windows terminal app... It may be in preview but oh boy it needs work...
And not just a little work but A LOT of work, I've used prototypes that are more functional :-/4 -
Lead: alright people what are your ideas and updates for this page refactor we've been talking about.
dipshit: Alright guys, I've done a quick awesome prototype that I really like...
dipshit: *starts to speak super fast* (I catch words about function composition, clean, no side effects, speed, efficiency. Basically a string of brogrammer buzzwords.)
me: what did you mean by that? How does it work?
dipshit: *basically repeats the same drivel*
me: uh..ok I don't quite understand
everyone else looks confused.
me: ok since you've done a prototype, we take a look at it later
*** After meeting, looks at code ***
It was COMPLETE GARBAGE. He used 1,500+ lines of js in 17 files to make what was essentially a simple 2 item list.
We were looking at a way to overhaul the entire page, he "refactored" maybe perhaps 5% of the page.
There was absolutely nothing clean / functional / composable about this monstrosity. It was as if he read chapter 1 of a book on functional programming and decided he understood enough to call himself an expert.
WHY THE FUCK ARE YOU STILL HIRED?
HOW DO YOU CALL YOURSELF A DEVELOPER?
YOU ARE SELF TAUGHT, DISS PEOPLE WITH FORMAL CS/CE DEGREES AND YOU PRODUCE TRASH CODE?!
ARE YOU SO RETARDED THAT YOU DO NOT RECOGNIZE HOW STUPID YOU ARE?
Please die in a fire, along with your jock attitude and unprofessionalism. Take this worthless junk unfit to be called code with you.3 -
One of my hardest hurdles, is to write something that's just good enough.
And not waste hours making it an inch closer to perfect..
Writing half baked but functional solutions haunts me... -
JavaScript is a functional language.
It's probably closer to ocaml than it is to java. Why the fuck does no one talk about this? I would have learned it sooner.15 -
I *hate* it when a senior asks me to write a functional test report. Like I thought we hired functional testers to do that sort of stuff? I'm a programmer, I only write 3 things: code, documentation, and more code. Not freaking reports about how something did not work before, and after this 1-line fix does work. Oh and don't forget to include screenshots and a description of the issue. Arghhh4
-
Its not a product, but personal opinion working on react for the last 4 years and one thing is for sure Reacts functional components are shit to use compared to the class components. Specifically useEffect. React was never supposed to be written in a functional way when it first launched.20
-
A functional developer kills a man. When the police arrests him, he gets very surprised. He thought he was stateless.2
-
Do you guys know a cool language to get a bit more into functional programming?
Doesn't matter if purely functional or a mashup of functional and imperative programming.
And please a real-world language, let Haskell stay in its Ivory-tower where it belongs.11 -
I came from a procedural background, then adopted object-oriented programming, and now I am very enthusiastic about functional programming. Is this kind of an evolutionary path as a programmer? Or am I just late to the party?
And what paradigm follows?5 -
I get it. Functional code is still kind of considered the "new hotness" in languages like Java, but THAT DOESN'T MEAN YOU NEED TO CRAM IT IN EVERYWHERE FOR THE SAKE OF IT. If in doubt, *please* go for the simpler, classic option...
Just inherited a code base that's full of things like this:
Optional.of(getResult()).filter(s -> s.equals(true)).ifPresent(s -> callService());
Optional.of(getResult()).filter(s -> s.equals(false)).ifPresent(s -> logError());4 -
React has been a gateway into the practical functional world.
Having a crack at Clojure/Om/Datomic, and then recognising the roots of functional and immutable programming that I've seen before.
I have a lot to learn.
Looking forward to grasping macros fully. Walk before I run though2 -
I'm learning functional programming for the first time with Elm and I kinda like it, it's just so different from what I'm used and kinda refreshing. My brain is getting a bit twisted though... I'll probably need a few weeks/months to adjust the way I think about code, but I'm liking the mental exercise so far, loving those moments where stuff just "clicks".5
-
Starting to learn Haskell/type theory. I have put it off long enough and I hope this time I can get past the 5 minute intro/overview.
So far the only functional programming I have done is trying to write/use functions that take state in parameters only and limiting side effects (that I know of).
Expecting to have my mind blown and to get a monocle too.3 -
After 2 interviews and a complex case study made to apply for Javascript Architect I was asked to travel from Brazil to Germany for final interview. First question:
Interviewer: what are things that you want to learn next.
Me (dumb): Maybe some functional language like Erlang
Interviewer: why not Javascript?
Me (dumber): Javascript is not that good for functional
Man, I WAS nervous that day 😭3 -
is it ok that I can make a perfectly functional application, but because I have a shitty taste in colors, make the shittiest UI ever?4
-
"Design must be functional and functionality must be translated into visual aesthetics, without any reliance on gimmicks that have to be explained." - Ferdinand A. Porsche
-
I'm on leave but my brain won't stop thinking about ways to refactor that one js module I was working on yesterday into a functional one.
The fuck, brain?? I'm doing you a favor here by letting you take a day off! -
Front end: spend 5 hours coding and create a fully functional, beautifully designed Web page
Back end: spend 30 hours coding and get that one widget working... Kind of3 -
If something is functional and you don’t think it’s beautiful, you should rethink your definition of beauty.
— Some moron, 201711 -
Should I learn Haskell? Would it help me with other coding languages as well?
My main language is JavaScript, also I would like to learn functional programming.2 -
C would say to other languages:
"I am imperative
not functional
nor object oriented but
I am faster than you"2 -
Complete my Clojure POC and do a knowledge sharing session in work on Functional Programming. Also get promoted to Senior Software Engineer.
-
Class components, although verbose at times, are still far superior than functional components in React. The more I work with React, the more I believe that: Hooks are plain shit.
-
Finish my only pet project;
Learn a new compiled language;
Get better at functional programming;
Read more books about networks and software engineering;3 -
Did an intro to functional programming course in Scala.
Felt like I was able to touch the face of an immutable God. :')8 -
Starting to get into intricacies of javascript.
Question was: when and why do you bind your functions?
Farking hell, no wonder people bitch about javascript.3 -
Work on projects that produce something that solves one of my existing problems.
Also dev environment matters. One of those hackers desk setups would be fine. Nothing too fancy, just need a functional one. -
Trainee accidentally said md5 is an encryption... Gave him the "functional specification of OpenPGP on ISO Smartcards". He learns OpenPGP now, before he reads that I hope.
-
I realized only now that OOP is POO when read backwards. I wonder if this is a secret message encoded by somebody to make us all switch to functional programming2
-
Hey, dfox & trogus
How about some Haskell/Scala/F#/OCaml/Clojure/Scheme swag? For example, I'd love a Haskell-caped devDuck.
Show us functional programmers some love pls ;_;2 -
Ok, I'm actually raging at vuejs right now, and this is coming from my second year using it.
the fucking shit is weird.
functional components cannot use v-model.
functional components also cannot reference other components via components property, that child component needs either to be global or be injected (an ugly hack).
v-model behaves differently on checkboxes. checkboxes are fucking shit on vue. things update or do not update.
functional components with checkboxes? hahahahahaha.
vue 3 is taking an ungodly shitload of fucking amount of time.
fuck react, but im actually considering giving vue the middle finger as well.
started this product migration 2 months ago and regretting it, looking at svelte with curious eyes.12 -
3 weeks into Elixir and Functional programming in general. Words can't describe how much I love developing software with this toolset. Can this get any better ?4
-
How do I become good with functional features(map,reduce,filter,zip,flatmap) in Javascript and Python?
It feels so alien. I'm so used to writing plain old loops.
Reading and undersranding this kind of style in other people's code is really hard for me, especially if all this is happeining on the same line.4 -
Silly question: what is the main difference between a procedural programming paradigm and a functional paradigm?7
-
How many of you feel functions API in Java8 should have support wiring up a Function and a Consumer :/
-
Functional Programming being touted as the silver bullet for all types of modern programming challenges.
Why? As far as I can tell, it doesn't deliver. Sure certain approaches help with specific kinds of problems. Yet, it is cumbersome for general purpose problems and downright harmful for performance critical problems. For doing math problems it is great and I see value. For most else, eh, I have work to do.10 -
My current side project. I’m doing a POC to upskill in functional programming. A Java/Dropwizard web service calling onto business logic written in Clojure. The bit im excited about is an HTML engine im writing in Clojure. So instead of inter-mixing raw HTML with code, my views will be written entirely in Clojure
-
In React, OOP is now the old way of approaching react.js everybody doing functional programming/functional components.. this that the future ???26
-
People who dismiss functional programming: **** you. Let them get phased out slowly and in a rot.
People who like functional programming but stuck at their current jobs: Let's build companies, competitor projects, pave the way for the future. Because we just know how good it is. :D31 -
Just watched a video called "object oriented programming is bad" on youtube. Saying that we all should use functional programming only. Your thoughts?18
-
started to rewrite one of my functional-but-horrible projects. after 2 hours i realize i'm starting to use the same kind of "if it works, great" style.
jesus, i need some sleep. -
Do any of you all have any recommendations on how to drill functional programming concepts into my brainhole? Any good resources or things that helped you learn? My brain is object oriented and I'm really struggling to "see the light" and become another FP hypebeast (which is what I feel most people become when they really learn this stuff)
Send help
Regards,
A desperate loser who doesn't wanna fail her course 🥺🤷13 -
Having a hard time thinking the alternates to if statements is a good idea. I was genuinely curious how this was done. The examples I am finding seem to just spread the logic everywhere across multiple objects. To me this makes the logic objectively less clear. I didn't understand the obsession with objects until I saw the examples that creates a fuckton of boiler plate objects. How someone can say this is preferred over a few if statements boggles my mind. I actually am trying to understand the functional mindset as well. It is not going well for me. I can sorta see some value in using a map. Technically a lookup could be faster. But again it spreads the code all around adding more boilerplate.
https://blog.bitsrc.io/reduce-if-el...
https://dev.to/phouchens/...
Is it because these are contrived examples? I initially searched to find ways of reducing ifs in a functional approach. I did find it in the second example. I was however hoping to find that by lazy eval or something. I see people making references to how one you "get it" functional logic is easier to understand and evaluate. I cannot tell if this is straight up gaslighting or my brain is just too fucking imperative.11 -
Functional programming, Reacts! Because that's what the cool kids are using now... nice rant https://hackernoon.com/how-it-feels...
-
"A graphic designer is a machine that turns coffee into beautiful, functional imagery." - Lisa Manson1
-
!rant
Do you think it is worth learning functional programming and specifically haskell. It seems like a really good concept, but a lot of people claim that it's not applicable in real scenarios.12 -
Tired of imperative different-yet-all-the-same programing languages. What's the most awesome funcional language ever?
Bonus: sweet projects you've done in that language9 -
Just starting with scala. And while I dig the more functional programming approach I am having the hardest of times dealing with naming higher-ordered functions, in my case a function returning another function.
Started out as `foo`, went through quite a lot of changes, and now it has become the beast: `createReplacePriceByPassengerConfigurationMapperFunction`. It won't stay that way but: GOSH! Naming. It's hard! Or I might as well suck at functional programmig. It's not like that these two things are necessarily mutually exclusive. -
Anyone using the Coconut variant of Python? Looks like it adds the stuff I want Python to have.
Would be interested in any experiences. -
On freecodecamp I'm now at the point where I have to build a full functional website.. It's getting excited yooooooo1
-
I'm learning Rust as a case study for my own programming language. It's funny how many approaches exist to the humble loop.
- In classic procedural languages, a loop's job is to repeat actions, and as such it provides a multitude of tools to control this repetition.
- In all languages with iterators, a for-in loop is a construct that does something with every element of a collection. In languages with both iterators and generator functions, this can even be used to define a sequence in terms of another.
- In Rust, a loop is an expression that obtains its value through repeated execution. It can also be used like a classic loop, of course, but this is the interesting part.
- My little language is a functional language, so "loop" is the Y combinator. To loop means to define the value of an expression in terms of itself. It's the only looping construct, gets special treatment from the type checker and it's also used in recursive type definitions. -
I'm a bit cornered. A week into an ambitious refactoring effort that was supposed to take just a couple of days to finish, the end doesn't seem anywhere near. The system went from a messy albeit perfectly functional state to a much better structured non functional bag of bugs. If I leave the branch all the efforts are lost. If I soldier forward I'll be unproductive for good knows how many days to come.
How did I ever fuck myself so hard!1 -
What's your opinion on functional shortcuts and 'hacks' in many languages, like map/reduce/filter, ternary operator, lambdas,inner/anonymous classes?
Imo they can make development faster and more efficent but they make the code very unreadable, especially if someone else has to read it, Therefore I try to use them only when it's appropriate. My dev friends use them too much and it makes reading their code a hellish experience, especially in Javascript with Rx.3 -
What are your thoughts on documenting developer (local/dev) functional testing? Should we be trusted that we've tested our shit and it works? Or should we provide proof? Are we better to provide proof to protect ourselves?3
-
Today, I used a curry function for the first time outside the context of a classroom/assignment, to solve a real-world problem. boy do I love functional programming.
-
I hope that when I wake up in the morning, the racket code I just wrote from midnight to 3am makes as much sense to me as it does at the time of writing.
Banana Language always seems to flow easier when exhausted. -
dev && !rant
I am thinking about picking up a functional language. Currently I use Kotlin (and I fucking love that language) but I have to admit that it's support for functional programming is limited.
But I think their lies a certain beauty in fp and I want to do some project with it.
The 2 main problems are:
1. I have no experience in functional programming. I have no clue how to structure my program (potantialy without oop) and write clean testable code.
2. I don't know what language to use. Scala seems great since it has good IDE support and I like the Java ecosystem and Haskell seems to have more beauty but is missing that IDE support and it is very unfamilar for me.
So what do you guys think I should pick up? And how do I learn to write good software with it?17 -
Implementing a for loop in js because I need to skip some elements in a map as I transform. I'm feeling dirty
* cries in functional *4 -
I love FP for sure, but it kind of looks weird in PHP. Tough I realy like the desgin of this website.
https://phpslang.io4 -
One of my supervisors once said: "A computer without mutable state is just a glorified electrical heater."
Meaning that at some level you'll need some mutability.
A processor/memory unit without mutability is not worth very much, except if you want to build a new one for every clock tick...3 -
A colleague of mine said that functional programming should be banned by law. He finds it so hard and at the same time the only language he knows is JavaScript
-
when you used to functional programming, every time you see a for loop, you can not resiste but to refactorit.
-
I’ve abandoned the classic for loop from my tool belt for quite a long time now. The vast majority of the code is functional.
But today I’ve encountered a problem where I’m considering to use the imperative for loop again because I can’t come up with a good functional approach.
Maybe you guys have an idea.
I have a list of items and I want to make a new list which is like the original list, but it has extra items in between of some other items.
The tricky part is that there is a condition that needs to be checked for each pair of items to determine if the new item should be inserted in between. Otherwise nothing should be inserted.61 -
Any recommendations for a first timer of functional programming? Not sure what languages are used the most or have the most community support. For whatever it's worth, I've enjoyed working with C# and Golang, and disliked working with JS and PHP.5
-
How much will you ask for a windows form app that is for students and is completely functional for a restaurant if i only expend like 10 hours in the developing?11
-
Who decides these things?
Excerpt from an article about a semi-state comms company in Ireland being obliged to provide a minimum service to all rural citizens.
28.9kbps is not functional internet access, it barely ever was! -
React Hooks question: those states we create in functional components, are they just for UI purposes or does it have use for overall the app? Please enlighten me!1
-
Hate getting a project that's 4 hours to slice 3 full page PSD interfaces, have all assets created, and have the site live and fully functional. Wtf?
-
Functional programming course starts today. I'm really looking forward to it, but it is so early compared to my other courses10
-
Flame war:
Best functional language + eco system for web dev -
F#, Haskell, Scala, elixir, other?
Same for scientific/mathematical simulations?9 -
what would you guys say is the archetypal functional language, the one we should pick to learn functional programming?3
-
Biggest hurdle right? That would be finding it hard to wrap my head around functional programming...it's just not getting in.. I need help pls.2
-
I’m learning Haskell and my mind is blown by how elegant functional programming is, it might take a while for me to get accustomed to FP but I can’t wait to get there. Thinking of making the 2048 game in Haskell as a learning exercise3
-
Someone asked about CVs, and I found this https://resumonk.com/blog/...
Disclaimer: I use (pay for) Resumonk.4 -
Nvidia's drivers for Linux are absolute dog shit. Like how difficult is it to make something functional? I only have 2 monitors connected but the second one is causing the driver to crash, wtf.8
-
to be honest, i hate every OOP, in my opinion it's just add complexity in every way. yet i would like to use Functional Programming but it's fukking hard to learn and hard to get use to. Tryna get used to Haskell.4
-
Trees -> declarative programming
Loops -> functional programming
Sequences -> imperative programming
Graphs -> dynamic programming
Good mapping, yeah or no?15 -
Lisp is such a cool language, and I feel like because functional programming is becoming so popular, Lisp could end up the go-to language because it's so versatile and, though there are many parens, it's friendlier at first glance than Haskell. (And there are so many libraries for it, omg)6
-
I fucking want to die while trying to make `make nconfig` work with Buildroot on NixOS. It's either that I'm too dumb to configure it properly or this functional package management thing is useless.2
-
I tend to do very functional code that I'm capable of reading while writing, but have to spend quite a bit of time on to understand later on...
Especially if it is a group project where execution time is relevant 😐 -
Arghhh! Reactive programming took away all the fun, but oh well, we can be more lazy now. Functional programming just made a big come back this year.2
-
How many fucking programmers does it take to build a fully functional human being.
One male and one female.4 -
Write a novel about code and digitalization - not so much dev'ish.
Rral dev thing: finish reading SICP and really plunge in one of the functional languages2 -
I was so excited about the new Nokia 3310. "You'll feel like you had your tough and functional companion back" they said. Then WTF is that?2
-
Do you think, that its a good idea, to add FP-features like Map,Filter,Reduce to Stack or Queue datastructures, in the way, that they pop all elements?6
-
Functional languages like Haskell, F# and so on have been designed by Satan himself to torture poor dev souls2
-
Someone posted a pic of 'funfunfunction' channel on YouTube. I saw the post and decided to check his video. Just 4 videos after, I felt so inspired that I decided to write my own blog post on functional programming with Python. Gotta love this community for bringing everything together at one place
If anyone is interested, here is the link to my post https://varundey.me/blogs/... -
I have published my app, it is stable and functional. Design is simple but not ugly. I do not have much downloads. What can I do to make users to try it?4
-
Recently I've been getting sucked further and further into functional programming. Started with learning Java 8, and when toying with Streams I was looking into different features (dropWhile and takeWhile) which lead me to Java 9. Now I find myself fluent in Scala and learning Haskell. When does it end 😵5
-
Is there anything like React Context or Unix envvars in any functional language?
Not global mutable state, but variables with a global identity that I can set to a value for the duration of a function call to influence the behavior of all deeply nested functions that reference the same variable without having to acknowledge them.13 -
I am trying to isolate logic in React with functional components. Is it a bad idea to forwardref to a custom object that I use to expose actions? This way I could model the ref behavior from old class-based components where it was perfectly normal to represent a capability as a class method.
-
I'm a bored PHP developer 😑.
I want to learn functional programming. Which one is good..?
Any suggestions folks..4 -
possibly my first !rant
Any Clojure programmers around? I started learning it seriously the other day and I have to say Im hooked. Im pretty new to functional programming and so far Im really liking it. It amazes me how much functionality you can produce from 2-3 nested function calls.2 -
No matter how many times I have to rewrite functional code, no one will ever convince me that dynamically creating JavaScript with data binding templating languages is a good idea (JSP, php, etc)3
-
Anyone out there a Scala fan? I am! Seems like most of the stories here are quite negative but positively is my thing so here's my 2 cents:
Scala is an amazing data processing language. It's a functional language with a lot of really great things like a consistent collection library api, case classes, brilliant async library's like Akka Actors, and plenty of solid learning resources like Twitter school and Martin Odersky's online course.3 -
Best thing: Getting into some pure functional programming
Worst thing: Being forced to work with VS2013 -
Is there an alternative to CSS? Because for someone who is used to more functional languages and wants to make a website on their own, CSS is kinda confusing.31
-
data Word: A Word is an unsigned integral type, with the same size as Int.
And here I was thinking a word is a string! And that's not all, there is also Word8, Word16 and whatever else.3 -
CSS.... vertical centering back around 2000 before flexbox and frameworks
HTML- before we head css frameworks looked bootstrap. I am done make things pretty ..I make them functional -
Capybara is so shit!
I can toss a coin and I would always get right on my prediction but I cannot predict if my functionals would pass! -
I am about to pay for a wireless keyboard and mouse, those ones that come with dongles. I was wondering if they work in BIOS or the OS has to boot before they become functional? thanks4
-
What's the easiest functional programming language for someone with experience with imperative languages?
I would like to learn a functional language to broaden my horizons. I have knowledge of Python and C / C ++ and I want the language to be easy to learn from someone who comes from the imperative realm of languages. I don't care if the language is strong enough. I just need a language to learn the basics of a functional programming language, and then I'll try to find a more complex (and powerful) one.
thank11 -
Congratulated a Dev at my company after he had finished all the functional testing...
Until he mentioned that he just needs to tweak the test to work with the new code now.. -
Start working on DevOps
Learn Functional Programing
Buy a Desktop Machine.
Daughter's School
Take a break :P1 -
So functional programming is basically using prebuilt libraries anf functions and not write a single line of logic?3
-
What you do ?
Competitive programming (CP) or Functional programming (FP)?
And if you FP then how much competitive programming you think you need in your job or whatever your current scenario is .14 -
Help me out a bit, functional programming fans!
I'm experimenting with functional programming through JavaScript.
I created some dummy data to experiment with and created a simple function to query the data. I would like to get all elements, whose type attribute is not 'x'. A simple solution can be seen under the 'original code' part.
Under the 'fully functional code' part I gathered some frequently used general purpose functions, which I assembled into the function composition at line 45.
I'm having a bad taste in my mouth and feel that I've gone too far. I basically replaced every language element for a function. Is this the goal of functional programming? Is this how a perfectly functional code should look like?1 -
OOP is all about code reusability until you really want exactly the code Foo with non-pure functions in all your classes. You end up almost rewriting all subclasses' properties into the superclass to silence typecheckers. Is there no "I know what i'm doing, please just transpile/compile this piece of logic into these 20 places I need?" You end up doing it the functional way, dumping refs and params into some shared util function and have it do the job. I know, might as well have that one inherited also, but what's the point of adding more mess just for that ?2
-
Sometimes I think that TypeScript is like a poor developer's Haskell. I thought "Isn't this supposed to support functional programming?" and searched for a way to do currying or partial application, and only found hackish solutions :/ Then again, maybe I don't know Haskell well enough to make a proper judgment.1
-
For Ramda (functional JavaScript) enthusiasts -
Anybody, who wishes to collaborate on writing Ramda solutions for SQL like queries, I have created the project (SQL queries, SQLite database, json data files) here - Ramda-SQL-Equivalent GitHub project (https://github.com/ajit555/...).
Please post the questions in "Issues" section and hopefully would get some solutions via pull request.
If not sending pull request, please post the solutions as issues referencing the file name.
Thanks. -
Don't you hate the subjectiveness of functional requirements and no functional requirements? I'm the only one?
-
Functional programming in a one liner:
const value = (define_value, start) => value(define_value(start))1 -
I lost the enthusiasm I had for just programming languages mostly functional languages. I see my peers who were already in the game. I came late, did all the functional hardcore bullshit and become a top pro and now lost interest.
Now its until and unless I don't see something working end to end nicely, go fuck your shit. But regardless fuck OOP3 -
i chose backend as a specialty coz i couldnt accept having a functional button and someone makes me work extra to get it to move, change color or get bigger
-
!rant
Am I the only one who has made a semi-functional compiled programming language because they're bored?2 -
Just gonna see what this functional fuss is all about.
Two weeks later: Uses state, mutation, monad every other sentence. -
Todo: write rant about fs not not being a functional node_module and dotenv still trying to require() it.
Add details about the whole hour you lost because of that. -
I am in Nepal and most of the people here don't think functional programming is a best approach ( I personally think it is ) what's your situation?4
-
Started looking into pseudo functional programming in JS.
Instant love...!!!
Writing monads composing together with curried function passing beautiful immutable data...
While listening to Fur elise Beethoven....!!
Coding bliss..!!! -
Newbie here ! What do experience pro grammars think of the recent wave of “OOP is garbage” comments on the internet ? Is OOP truly on the decline ? Or is it that OOP should be a feature of a language while coding rather than a “everything is an object” mentality.5
-
I'd like to learn about functional programming. What books, courses, tutorials or articles would you suggest? I have a good understanding of abstract algebra and I felt the need to learn it because my Typescript is a mess and I visibly don't know what I'm doing.1
-
I want to learn a functional programming language, hoping to start off with HASKELL. any suggestions?5
-
It's me or the "Reactive Functional" Spring WebFlux is a stupid fad? It's hard to train new developers on it, a PITA to debug and there isn't any study which proves which it brings better performance compared to the classic Spring MVC.1
-
Why doesn't Java have a functional interface that supports throwable exceptions?
Seems silly to have to define my own wrappers around the Function<> interface. -
Solved a seeder issue this morning that has been plaguing me since Sunday. Glad to know I just hadn't refreshed composer, and my code was functional 😥
-
Creating a language that takes the immediate feedback and clean design from Eve language and an functional paradigm like Haskell or Purescript1
-
IBM should take over making the game Jenga...since they only seem good at making teetering towers of barely functional garbage that require constant massaging and hand holding to stay up.
-
"A graphic designer is a machine that turns coffee into beautiful, functional imagery." - Lisa Manson2
-
Changing from being a developer to a SAP Business Analyst / Functional Consultant some years back was both my best and worst career choice.
Please don't hate me.1 -
So, in a microservice or web service pattern what is most important unitary test or functional test?
-
It would be awesome if angular releases functional components and signals.
I can stop being a hater
https://twitter.com/mgechev/status/... -
Being new to NodeJS, I wanted to use the framework for a small script that involved connecting to a MySQL database and updating 1500+ records.
With NodeJS's preference towards functional programming over sequential, I wanted to do things the NodeJS way with callback functions instead how I'm used to doing it, using loops (and all the MySQL functions were async).
I couldn't update all the rows at once, so I wrote a callback function that calls back itself after the SQL statement is executed. A recursive callback function... am I doing this right?7 -
Why do Haskell/Scala/Lisp/Clojure develops do crossfit?
Because they like their fitness how they like their programming paradigms: functional! -
"Syntactic sugar is syntax within a programming language that is designed to make the language 'sweeter' for human. But...don't consume it too much!"
"Why?"
"You will be diabetic."
"Oh..." -
Make a full application in elixir with Phoenix frameworks
Deeper understanding of functional programming -
Functional programming in a nutshell
isRepost && sorry()
/**
* From Reddit : https://reddit.com/r/...
*
*/4