Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1036847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T14:46:15+00:00 2026-05-16T14:46:15+00:00

I have been learning the Factor and J languages to experiment with point-free programming.

  • 0

I have been learning the Factor and J languages to experiment with point-free programming. The basic mechanics of the languages seem clear, but getting a feeling for how to approach algorithm design is a challenge.

A particular source of confusion for me is how one should structure code so that it is easy to experiment with different parameters. By this, I mean the sort of thing Mathematica and Matlab are so good at; you set up an algorithm then manipulate the variables and watch what happens.

How do you do this without explicit variables? Maybe I’m thinking about this all wrong. How should I approach this in point-free programming?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T14:46:16+00:00Added an answer on May 16, 2026 at 2:46 pm

    Here are three important advices that I found really helpful while dealing with the concatenative paradigm (applied to the Factor programming language in my case):

    • Factor your code mercilessly. Write extremely small functions: if there is more than 3-4 stack parameters, maybe you could break it into smaller parts.
    • Invest your time in learning dataflow combinators (bi, tri, cleave, spread,…). They allow to express common dataflow patterns while removing the need of complex stack shuffling.
    • Learn to build quotations from other quotations. Use currying techniques (curry, with, …) to build simple quotations from stack parameters, and when things get too complex use Fried quotations (the “fry” vocab). They allow to easily build complex nested quotations from patterns, without any stack shuffling.

    And as a always, read and “Walk” into existing code. In Factor it is quite easy to explore the runtime and see how things are working.

    For your specific source of confusion, if you have a lot of input parameters in your algorithm, the most important thing to do is to study how they will be used. Harvest for dataflow patterns. You must really THINK about the best way to “schedule” operations on the smallest set of related parameters.

    It is a quite difficult experience, but it is also really rewarding one when it succeed. We feel like a human compiler after that..

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been learning about Delegation and Data Sources for iOS programming and need
I have been learning functional programming and I come to idea, to assemble mathematical
I have been learning about various functional languages for some time now including Haskell,
I have been learning windows API from online and PDF books but I hear
I have been learning about collision in phisics programming , and i have one
I have been learning (slowly but surely) how to do deal with sqlite databases
I have been learning Groovy for a week, but I have a problem: I
I have been learning PHP/Mysql for a while. But don't yet know enough to
I have been learning about the basics of C# but haven't come across a
I have been learning Erlang, but also I'm keeping my eyes open to other

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.