Can you recommend full-fledged programming languages, other than Prolog, that provide first-class support for term rewriting or are primarily designed around it? I'm looking for a standalone language…
I'm a beginner trying to understand why classes are considered useful compared with ordinary functions. If functions can contain smaller helper functions—and closures can preserve variables—what advantages do…
I'm new to programming and trying to understand why classes are considered useful when functions can contain other functions. Couldn't I organize a program with one larger function…
I'm interested in both functional programming and object-oriented programming, and I'm curious about languages that intentionally bring the two paradigms together. I'm especially interested in something with genuinely…
I watched a programming discussion that used a bank account as an example: the account is represented as an object, with methods such as deposit() and withdraw() that…
I'm interested in both functional programming and object-oriented programming and would like to explore a language that deliberately combines the two. I'm especially curious about approaches that support…
I watched a programming discussion using a bank account as an example. The account is represented as an object with methods such as deposit() and withdraw() that mutate…
I recently remembered taking introductory programming courses that used Scheme almost exclusively. Compared with languages like Java or Python, Scheme has very little conventional object-oriented syntax and often…
I recently remembered taking introductory programming courses where all the assignments were written in Scheme. Compared with languages such as Java or Python, Scheme has a very minimal…
I'm a first-year undergraduate taking computer science and math courses, currently studying data structures in C. Math is starting to make sense to me, even when it takes…
I've tried object-oriented programming and understand concepts like classes, objects, inheritance, encapsulation, and polymorphism, but I still find large object-oriented codebases difficult to navigate. Deep layers of classes…
I've been learning JavaScript for a while and I understand how to write and call functions, but I still get confused by the concepts of first-class functions, higher-order…
I've been learning JavaScript for a while and understand how to write and call functions, but I still find three related ideas confusing: first-class functions, higher-order functions, and…
I'm learning lambda calculus and come more from a mathematics background, although I'm also comfortable with imperative programming. Once I understand lambda calculus well, how difficult would it…
I've been coding for a while now mainly in Java and Python, but I'm feeling stuck in the Object-Oriented Programming (OOP) mindset. I primarily use Java for robotics…
I'm a physicist looking to dip my toes into programming as a hobby, and I came across a book called "Learn Physics with Functional Programming." I find myself…
I'm curious about the inner workings of the map() function and similar methods in JavaScript. More specifically, how do they iterate? Are these functions using a loop behind…
I've been diving into the concept of monads for a few days now, trying to get a hold of their practical implications and I'm feeling closer to grasping…
I'm coming from a six-year background in imperative and object-oriented programming, and I want to expand my skills into functional programming. I've spent a little time trying to…
I'm preparing for interviews for a Junior Frontend Developer position and I'm curious whether I should expect to be asked about currying. Is this a common topic in…