Giter Site home page Giter Site logo

Suggestions about learn-halogen HOT 4 CLOSED

srghma avatar srghma commented on August 25, 2024
Suggestions

from learn-halogen.

Comments (4)

JordanMartinez avatar JordanMartinez commented on August 25, 2024

If you dont want to tell about something beforehand - you can just write "More about this field later."

In the last paragraph of this section, I state:

To limit this feeling of being overwhelmed, we'll provide some scaffolding that "hides" irrelevant things from you until you understand the foundational concepts first. This scaffolding code will be stored in the Scaffolding folder. Feel free to ignore this folder until after you have finished reading through the rest of the folder's contents.

Doesn't that address what you're bringing up here?

from learn-halogen.

srghma avatar srghma commented on August 25, 2024

No, I mean I don't think this hiding is good, it makes everything even harder to learn, instead of learning only api of halogen I need to learn the scaffolding api also and keep that api in my head while I'm looking at examples

That's just how I feel

from learn-halogen.

JordanMartinez avatar JordanMartinez commented on August 25, 2024

That makes sense.

So, you're proposal is to change a given lesson's file to a structure like below?

module Some.Module where

-- Imports necessary for scaffolding that we don't want to focus on
import Halogen
-- ...
---------------------------------------------------

-- Imports necessary to what we're doing in a specific lesson
import Halogen.HTML

-- actual lesson here


-------------------------------------------------------------
-- all scaffolding code here

from learn-halogen.

srghma avatar srghma commented on August 25, 2024

well, not exactly, I thought about not using util functions at all

but I dont know if this is good idea

for first chapter it makes sense to use util functions, because reader can see more types

but it becomes harder to read starting from second chapter

I dont know, just wanted to share feelings

from learn-halogen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.