4 ms·
Both of these points are False, point 2 I’ve been integrating a bootstrap framework and sass and it’s super simple; I put the files in assets, add npm install —
by andy_ppp 8y ago
Both of these points are False, point 2 I’ve been integrating a bootstrap framework and sass and it’s super simple; I put the files in assets, add npm install —save sass and that’s it!
Then debugging a pipeline is as simple as dropping in IO.inspect between statements as it returns the content as well as printing.
thing
|> stage1
|> IO.inspect
|> stage2
Not that difficult!
- hartator 8y ago> I put the files in assets, add npm install —save sass and that’s it! It takes forever if your assets are large. Just serving random static files shouldn't take long. > IO.inspect It's nothing like a real debugger.
- rehemiau 8y agoI agree about the inspect / pry not being a real debugger but could you expand on your problems with the debugger and pipelines? Are you using the Erlang :debugger module? The only "problem" I see is that we can't set a breakpoint on the first line of a Elixir pipeline, but to see the value of variable from that line we can set a breakpoint on the last line of the pipeline. To see why that happens we can try stepping through a pipeline with the debugger: First "executed" is the last line of the pipeline, then the second line, then third etc and it looks like for the debugger the first line of the pipeline never happened. I don't think this is a big problem to be honest.
- andy_ppp 8y agoI’ve not found this, are you on windows? Inspect is fine as in Elixir you don’t have any hidden state. Use the :debugger if you need more than this.
- undersheet 8y ago> I’ve been integrating a bootstrap framework You do this for legacy systems. New systems should not use Bootstrap, there is much better out there.
- GordonS 8y agoDon't be so dogmatic - Bootstrap works just fine, and if it's what you know, you need some very good reasons to switch and learn a new framework.
- undersheet 8y agoNot about being dogmatic. Bootstrap is just wrong in 2019.
- andy_ppp 8y agoI agree but this type of comment also shows your lack of experience. Very rarely do you personally get to make a choice about the technology used. In this case I’ve come onto a project to fix a load of bugs and restyle something that already existed. I’m not going to come in and redo everything from scratch before delivering something...
- GordonS 8y agoOK, so how am I supposed to take a reply like this - it sounds... well, dogmatic! Given you haven't even attempted to explain your reasoning, I can't possibly agree.
- whitepoplar 8y agoWhat's the best in 2019?
- rozhok 8y agoWhat should I use instead of Bootstrap in 2019 then?