there are two key elements to an anti-pattern that distinguish it from a bad habit, bad practice, or bad idea
- Feb 2021
-
en.wikipedia.org en.wikipedia.org
-
-
sobolevn.me sobolevn.me
-
Not all cases can be covered and easily restored. And sometimes when we will reuse this function for different use-cases we will find out that it requires different restore logic.
-
But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
-
And checked exceptions won’t be supported in the nearest future.
-
Almost everything in python can fail with different types of exceptions: division, function calls, int, str, generators, iterables in for loops, attribute access, key access, even raise something() itself may fail. I am not even covering IO operations here. And checked exceptions won’t be supported in the nearest future.
-
You still need to have a solid experience to spot these potential problems in a perfectly readable and typed code.
-
So, despite your code is type safe it is not safe to be used.
-
print will never be actually executed. Because 1 / 0 is an impossible operation and ZeroDivisionError will be raised.
-
So, the sad conclusion is: all problems must be resolved individually depending on a specific usage context. There’s no silver bullet to resolve all ZeroDivisionErrors once and for all. And again, I am not even covering complex IO flows with retry policies and expotential timeouts.
Tags
- seemingly contradictory
- sad/unfortunate conclusion
- actually consider / think about how it _should_ (ideally) be
- the benefit of experience
- the specific context is important
- depends on use case / application
- can't think of everything
- type safety
- surprising
- error/exception handling
- need to solve specific case/problems individually (there is no general solution)
- checked exceptions
- easy to miss / not notice (attention)
- why?
Annotators
URL
-
-
-
But so far everything brought up has just been about the relative advantages of checked exceptions, and that issue is closed. We won't do it.
-
I'm not a fan of listing exceptions functions can throw, especially here in Python, where it's easier to ask forgiveness than permission.
-
certainly I wouldn't want it to start telling me that I'm not catching these!
-
I'm not a fan of checking exceptions either
-
In my past life with Java, I've had mixed feelings about exception checking. It's saved me from some mistakes more than it's been annoying. Maybe the checking of exceptions could be controlled by some notion of "unchecked exceptions"?
Tags
- easier to ask forgiveness than permission
- Python: the Python way
- errors/warnings that may not apply to your case and be noisy/annoying to be warned about
- don't constantly revisit a decision
- intentional/well-considered decisions
- programming languages: requires verbosity / extra paperwork to explicitly list types/exceptions/...
- error/exception handling
- making decisive/definite/bold decisions
- design decision
- make bold decisions
- checked exceptions
Annotators
URL
-
-
www.python.org www.python.org
-
This PEP provides a standardized means to leverage existing tooling to package and distribute type information with minimal work and an ordering for type checkers to resolve modules and collect this information for type checking.
Tags
Annotators
URL
-
-
github.com github.com
-
Brings functional programming to Python land
-
Provides a bunch of primitives to write declarative business logic
-
Enforces better architecture
-
Make your functions return something meaningful, typed, and safe!
Tags
- software architecture
- programming: return values / result objects that communicate a more precise/complete representation of the outcome
- primitives
- declarative
- business logic
- functional programming: in non-functional languages
- functional programming
- type safety
- make it hard to get wrong/incorrect
Annotators
URL
-
-
www.morozov.is www.morozov.is
-
include Dry::Monads::Do.for(:call)
-
Railway Oriented Programming is a way to gracefully handle errors in your application
-
This is how the same example would look like using raw monads:
-
Do notation provides an alternative to bind, which also flattens the code.
-
Better control over flow of our application: more ways to add branching
-
bind applies unwrapped Success value to the block, which should return a Result object. No-op on Failure
-
It allows us to reuse steps
-
The Result object that we pass around keeps accumulating data and becomes enormous, so we have to use **rest in our function signatures
-
The DSL has a weaker control over the program’s flow — we can’t have conditions unless we add a special step
-
-
However, you don’t need to have an extensive knowledge of monads to use ROP in your code.
-
Railway Oriented Programming comes from functional programming, so it is tightly related to the usual FP concepts like monads, composition, and many others.
-
I want to emphasize that Result is just an alternative name for the Either monad.
Tags
- monad: unwrapping: bind
- advantages/merits/pros
- control flow
- DSL
- origin story
- use case
- different names for the same/identical thing (synonyms)
- strong (extreme/great/high/intense degree/level/concentration/amount/quality of)
- not:
- error/exception handling
- it's just _
- monad: unwrapping
- dry-monads (Ruby)
- ruby
- monad: Either
- do notation
- example
- don't need to fully understand in order to use
- alternative to:
- railway-oriented programming
- monad
- Ruby
- almost/nearly the same/identical / very similar / not very different
- conditional code
- disadvantages/drawbacks/cons
- functional programming
Annotators
URL
-
-
blog.logrocket.com blog.logrocket.com
-
-
Back to what railway oriented programming really is. Below is a visual representation of what this looks like:
-
One thing I really like about this style is the elegance and readability it provides to your codebase.
-
This style of error handling uses monadic behavior — a substitute way of handling errors.
-
-
tineye.com tineye.com
-
-
boardgamegeek.com boardgamegeek.com
-
www.kickstarter.com www.kickstarter.com
-
let's be honest, print-and-play is A LOT of work (printing, cutting, laminating, sleeving, etc) and it is not everyone's cup of tea.
-
-
boardgamegeek.com boardgamegeek.comMaquis1
-
boardgamegeek.com boardgamegeek.comDEFCON 12
-
-
The game seems perfectly balanced, what is so rare for an assymétric game
-
-
www.kickstarter.com www.kickstarter.comDEFCON 12
-
The author will offer presentation/game sessions on Tabletopia, in French and English. In addition, the game will be freely available for players on Tabletopia as soon as the written rules are available.
-
-
-
www.metacritic.com www.metacritic.com
-
This is the perfect game when you are not wanting something with stakes or stress.
Tags
Annotators
URL
-
-
www.metacritic.com www.metacritic.comWarsaw1
-
Difficult enough to prove a worthy challenge, with an over-complexity that might have benefitted from a little self-restraint.
overly complex = unnecessarily complicated
-
-
www.metacritic.com www.metacritic.com
-
It seems like such a beautiful little visual novel and while I wasn’t expecting a masterpiece of localisation based on its low price, I was expecting to be able to read it. But that just cannot be done. Developers from Japan, China, Taiwan, Indonesia, and every other emerging game development centre through Asia-Pacific, listen to me carefully: You can have the most beautiful aesthetics and a heartwarming concept for your game. If the localisation isn’t going to be good, though, do not bother with an English release, because it is going to get reviews like this one. Make “invest in proper translation” your big resolution for 2021. I do not want to play any other games like Lily in the Hollow - Resurrection ever again.
-
-
www.metacritic.com www.metacritic.com#DRIVE1
-
The cars handling can be best explained as "its like steering a drunk sailor on a boat."
Tags
Annotators
URL
-
-
www.metacritic.com www.metacritic.com
-
This tedium would be unacceptable in an action game, but Windbound is a survival game. In survival games, death is supposed to mean something. Loss of progress represents the stakes; repetition is the barrier of entry.
-
-
dry-rb.org dry-rb.org
-
One can say this code is opaque compared to the previous example but keep in mind that in real code it often happens to call methods returning Maybe values.
-
this implies direct work with nil-able values which may end up with errors.
-
To get the final value you can use value_or which is a safe way to unwrap a nil-able value.
-
In other words, once you've used Maybe you cannot hit nil with a missing method. This is remarkable because even &. doesn't save you from omitting || "No state" at the end of the computation. Basically, that's what they call "Type Safety".
-
Writing code in this style is tedious and error-prone.
-
Another solution is using the Safe Navigation Operator &. introduced in Ruby 2.3 which is a bit better because this is a language feature rather than an opinionated runtime environment pollution
-
However, some people think these solutions are hacks and the problem reveals a missing abstraction.
-
It's hard to say why people think so because you certainly don't need to know category theory for using them, just like you don't need it for, say, using functions.
-
-
The gem was inspired by the Kleisli gem.
-
Monads provide an elegant way of handling errors, exceptions and chaining functions so that the code is much more understandable and has all the error handling, without all the ifs and elses.
Tags
- opinionated
- error-prone
- inspired by
- don't modify objects you don’t own (monkey patching)
- tedious
- problems reveal a missing abstraction
- dry-monads (Ruby)
- monad: unwrapping
- optional chaining/safe navigation operator
- don't need to fully understand in order to use
- error/exception handling
- remarkable
- nullable type/value
- functions
- monad
- too many ifs: bad
- monad: Maybe
- category theory
- chaining
- understandable
- programming languages: features
- elegant solution
- opaque
- make it impossible to get wrong/incorrect
- tell, don't ask
- reuse existing language constructs
- good explanation
- good point
- type safety
- ruby library
- polluting the global scope/environment
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
built using nullary type constructors
first sighting nullary 
-
-
en.wikipedia.org en.wikipedia.org
-
-
Also, in non-functional programming, a function without arguments can be meaningful and not necessarily constant (due to side effects).
-
The latter are important examples which usually also exist in "purely" functional programming languages.
How can they exist and it still be considered pure??
I guess that's not quite the same / as bad as saying something had side effects in a purely functional programming context, right?
-
Often, such functions have in fact some hidden input which might be global variables, including the whole state of the system (time, free memory, …).
-
-
en.wikipedia.org en.wikipedia.org
-
Though rarer in computer science, one can use category theory directly, which defines a monad as a functor with two additional natural transformations. So to begin, a structure requires a higher-order function (or "functional") named map to qualify as a functor:
rare in computer science using category theory directly in computer science What other areas of math can be used / are rare to use directly in computer science?
-
For historical reasons, this map is instead called fmap in Haskell.
-
can transform monadic values m a applying f to the unwrapped value a
-
In fact, the Product comonad is just the dual of the Writer monad and effectively the same as the Reader monad (both discussed below)
-
procedure to wrap values of any basic type within the monad (yielding a monadic value)
-
A combinator, typically called bind (as in binding a variable) and represented with an infix operator >>=, that unwraps a monadic variable, then inserts it into a monadic function/expression, resulting in a new monadic value:(mx >>= f) : (M T, T → M U) → M U
-
A type constructor M that builds up a monadic type M T
-
A type converter, often called unit or return, that embeds an object x in the monad:.mw-parser-output .block-indent{padding-left:3em;padding-right:0;overflow:hidden}unit(x) : T → M T
-
allows monads to simplify a wide range of problems
-
another to compose functions that output monadic values (called monadic functions)
-
Monads achieve this by providing their own data type (a particular type for each type of monad), which represents a specific form of computation
-
In functional programming, a monad is an abstraction that allows structuring programs generically
-
Supporting languages may use monads to abstract away boilerplate code needed by the program logic.
-
Whatever language or default programming paradigm a developer uses, following the monad pattern brings many of the benefits of purely functional programming.
-
By reifying a specific kind of computation, a monad not only encapsulates the tedious details of that computational pattern, but it does so in a declarative way, improving the code's clarity.
-
category of functors (from values to computations)
-
To emphasize how Just acts on the underlying value by wrapping it, it can be redefined as a function too, called eta for now
-
With >>= available, add can now be redefined as something much more compact:
-
these two functions >>= and eta were designed to simplify add, but they clearly do not depend on the specifics of add in any way, just the Maybe type
-
While other monads will embody different logical processes, and some may have extra properties, all of them will have three similar components (directly or indirectly) that follow the basic outline of this example.
-
Maybe T can be understood as a "wrapping" type, wrapping the type T into a new type with built-in exception handling
-
This is done to avoid confusion by differentiating between cases where a variable carries a defined value and those where it does not.
-
Undefined values or operations are one particular problem that robust software should prepare for and handle gracefully.
-
Since monads make semantics explicit for a kind of computation, they can also be used to implement convenient language features.
-
Research beginning in the late 1980s and early 1990s established that monads could bring seemingly disparate computer-science problems under a unified, functional model.
-
handling potential undefined values (with the Maybe monad)
Tags
- _any_
- reduce the amount of boilerplate/duplication
- monad: monadic value (wrapping a value within the monad)
- annotation meta: may need new tag
- values (programming)
- monad: unwrapping
- monad: data type
- decoupled
- generic programming
- wrapping type
- semantics
- category theory
- differentiating
- simplify
- higher-order function
- functional programming
- dual (math)
- encapsulation
- generalization
- advantages/merits/pros
- functor
- declarative
- due to historical reasons
- use case
- programming paradigm
- error/exception handling
- monad: monadic functions (composition)
- code/program structure
- unification/cohesiveness
- defining in terms of _
- reifying
- monad
- abstractions
- clarity
- representing a kind of computation (monad)
- monad: Maybe
- concise
- robust
- monad: wrapping value (nomadic value)
- distinction
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
The exception can be avoided by using ? operator on the nullable value instead:
-
The @ ? annotation can be used to denote a nullable value.
-
-
-
en.wikipedia.org en.wikipedia.org
Tags
Annotators
URL
-
-
www.martinfowler.com www.martinfowler.com
-
It reminds us that rather than asking an object for data and acting on that data, we should instead tell an object what to do.
-
-
jrsinclair.com jrsinclair.com
-
-
It’s definitely better than littering our code with endless if-statements.
-
As you can see, we end up with a lot of boilerplate if-statements. The code is more verbose. And it’s difficult to follow the main logic.
-
In JavaScript, we have a built-in language feature for dealing with exceptions. We wrap problematic code in a try…catch statement. This lets us write the ‘happy path’ in the try section, and then deal with any exceptions in the catch section. And this is not a bad thing. It allows us to focus on the task at hand, without having to think about every possible error that might occur.
-
And they are not the only way to handle errors.
-
In this article, we’ll take a look at using the ‘Either monad’ as an alternative to try...catch.
-
The .chain() method allows us to switch over to the left track if an error occurs. Note that the switches only go one way.
-
This stuff is intoxicating once you get into it.
-
Don’t worry if you get confused at first. Everyone does. I’ve listed some other references at the end that may help. But don’t give up.
-
And a word of warning. If you haven’t come across things like monads before, they might seem really… different. Working with tools like these takes a mind shift. And that can be hard work to start with.
Tags
- hard to follow/read/understand
- annotation meta: may need new tag
- error/exception handling
- different way of solving/implementing something
- monad: Either
- good illustration (visual)
- replacement for:
- fun
- railway-oriented programming
- excellent technical writing
- too many ifs: bad
- happy path
- JavaScript
- monad
- elegant solution
- different way of thinking about something
- traditional exception handling (try/catch; begin/rescue)
- sad path
- functional programming
- verbose / noisy / too much boilerplate
- you're not alone / it happens to/is like that for everyone
- encouragement
Annotators
URL
-
-
functionalprogramming.medium.com functionalprogramming.medium.com
-
polymorphic method inside shape class, its possible to discriminate them. without if’s.
-
-
-
en.wikipedia.org en.wikipedia.org
-
Since an inverse is the contrapositive of the converse, inverse and converse are logically equivalent to each other.
-
-
en.wikipedia.org en.wikipedia.org
-
In logic and mathematics, statements p {\displaystyle p} and q {\displaystyle q} are said to be logically equivalent if they are provable from each other under a set of axioms,[1] or have the same truth value in every model.
-
-
mmhaskell.com mmhaskell.com
-
So every program starts in the IO monad. From here you can get any input you need, call into relatively "pure" code with the inputs, and then output the result in some way. The reverse does not work. You cannot call into IO code from pure code like you can call into a Maybe function from pure code.
-
The IO monad wraps computations in the following context: "This computation can read information from or write information to the terminal, file system, operating system, and/or network". If you want to get user input, print a message to the user, read information from a file, or make a network call, you'll need to do so within the IO Monad. These are "side effects". We cannot perform them from "pure" Haskell code.
-
A Monad wraps a value or a computation with a particular context. A monad must define both a means of wrapping normal values in the context, and a way of combining computations within the context.
-
So if you don't yet understand functors or applicative functors, check out part 1 and part 2 of this series!
-
-
-
en.wikipedia.org en.wikipedia.org
-
Each of the programming language generations aims to provide a higher level of abstraction of the internal computer hardware details, making the language more programmer-friendly, powerful, and versatile.
-
-
en.wikipedia.org en.wikipedia.org
-
It turns out that, given a set of constraints defining a particular problem, deriving an efficient algorithm to solve it is a very difficult problem in itself. This crucial step cannot yet be automated and still requires the insight of a human programmer.
-
-
en.wikipedia.org en.wikipedia.org
-
Purely functional programming may also be defined by forbidding state changes and mutable data.
-
purely functional programming usually designates a programming paradigm—a style of building the structure and elements of computer programs—that treats all computation as the evaluation of mathematical functions.
-
Purely functional data structures are persistent. Persistency is required for functional programming; without it, the same computation could return different results.
-
-
en.wikipedia.org en.wikipedia.org
-
Most C++ template idioms will carry over to D without alteration, but D adds some additional functionality
-
it is inconvenient to write specific implementations for each datatype contained, especially if the code for each datatype is virtually identical. For example, in C++, this duplication of code can be circumvented by defining a class template
-
-
-
wiki.haskell.org wiki.haskell.org
-
Comparison to imperative languages
-
Tags
Annotators
URL
-
-
rosettacode.org rosettacode.org
Tags
Annotators
URL
-
-
en.wikipedia.org en.wikipedia.org
-
In mathematics, a structure is a set endowed with some additional features on the set (e.g. an operation, relation, metric, or topology)
Tags
Annotators
URL
-
-
fsharpforfunandprofit.com fsharpforfunandprofit.com
-
This is a useful approach to error handling, but please don’t take it to extremes! See my post on “Against Railway-Oriented Programming”.
-
-
trailblazer.to trailblazer.toTrailblazer15
-
Modelling the flow of a program where chunks of code are executed in a certain order, with a successful “happy path” and an “error-out” path is called a Railway. It popped up in functional languages
first sighting: railway-oriented programming
-
Intuitively, you understand the flow just by looking at the BPMN diagram. And, heck, we haven’t even discussed BPMN or any terminology, yet!
-
If anything here did fail in “validate omniauth”, all other steps in the chain would be skipped as the flow would follow the path leading to the failure terminus.
-
Things could go wrong in two places here. First, the validation could fail if Github sends us data we don’t understand. Second, we might not know the user signing in, meaning the “find user” logic has to error-out
-
Whatever data from the outside is needed in the activity has to be passed explicitely into the activity’s call method.
-
In other words: the controllers usually contain only routing and rendering code and dispatch instantly to a particular operation/activity class.
-
At this stage, routing, controllers, etc is irrelevant. Just imagine a Rails controller action, a Sinatra router or a Hanami action as follows.
-
They help streamlining the control flow, and take away control code while providing you with an incredibly cool developer experience.
-
Activities are a necessary abstraction on top of Ruby.
-
provide interfaces so you don’t have to think about them
Question to myself: Is not having to think about it actually a good goal to have? Is it at odds with making intentional/well-considered decisions?  Obviously there are still many of interesting decisions to make even when using a framework that provides conventions and standardization and makes some decisions for you...
-
You’re allowed to blame us for a terrible developer experience in Trailblazer 2.0. It’s been quite painful to find out which step caused an exception. However, don’t look back in anger! We’ve spent a lot of time on working out a beautiful way for both tracing and debugging Trailblazer activities in 2.1.
-
An activity is a high-level concept to structure code flow
-
Trailblazer is an architectural pattern that comes with Ruby libraries to implement that pattern.
-
Whether this is the life-cycle of a <user> entity or just a sign-up function, it has to be defined and coded somewhere.
-
Trailblazer strikes when it comes to organizing business code.
Tags
- code organization
- software design patterns
- necessary
- software architecture
- rule of thumb
- reduce the amount of boilerplate/duplication
- avoid duplication
- standardization
- framework
- high-levelconcept
- I have a question about this
- anticipating what could go wrong / error/exception cases
- Business Process Model and Notation
- intentional/well-considered decisions
- business logic
- error/exception handling
- the Trailblazer way
- separation of concerns
- interfaces (programming)
- software development: code organization: where does this code belong?
- decoupled
- first sighting
- trailblazer-activity
- railway-oriented programming
- neutral/unbiased/agnostic
- abstractions
- terminus/termini
- tautology
- newer/better ways of doing things
- developer experience
- intuitive
- so you don’t have to think about it
- debugging tools
- admit when you failed (failures)
- ruby library
Annotators
URL
-
-
developpaper.com developpaper.com
-
on one of the most popular websites of F #
which one?
-
This is the most popular article “railway oriented programming” on one of the most popular websites of F #.
I may have seen it before but not really paid attention to it, but this just might be the first time I stopped to look it up.
Because I saw the code below, didn't recognize the language, and was intrigued.
-
-
github.com github.com
-
No contribution is too small Even if you find a single-character typo, we're happy to take the change! Although the codebase can feel daunting for beginners, we and other contributors are happy to help you along.
-
Tags
Annotators
URL
-
-
github.com github.com
-
Please go to https://github.com/dotnet/fsharp/. All contributions to the F# compiler/library/tools now go there.
Couldn't this be set up to redirect over there then?
-
-
fsharp.org fsharp.org
Tags
Annotators
URL
-
-
trailblazer.to trailblazer.to
-
An operation has two invocation styles. This is the only difference to an Activity.
-
Operations are often confused as god objects that do “everything”. However, operations are nothing but orchestrators.
-
-
github.com github.com
-
Here comes a sample screenshot.
-
-
trailblazer.to trailblazer.to
-
The activity gem is an extraction from Trailblazer 2.0, where we only had operations. Operations expose a linear flow which goes into one direction, only. While this was a massive improvement over messily nested code, we soon decided it’s cool being able to model non-linear flows. This is why activities are the major concept since Trailblazer 2.1.
-
-
trailblazer.to trailblazer.to
-
Feel free to pick and choose what you need for your applications.
-
-
trailblazer.to trailblazer.to
-
I started Trailblazer GmbH 4 years ago with my relocation from Australia back to Europe. One of our consulting clients is the central police department of a German state that has kept me busy for more than three years now.
-
In addition to the organically formed core team
-
Endpoint is the missing link between your routing (Rails, Hanami, …) and the “operation” to be called. It provides standard behavior for all cases 404, 401, 403, etc and lets you hook in your own logic like Devise or Tyrant authentication, again, using TRB activity mechanics.
-
TRAILBLAZER-WORKFLOW is another dream ‘o mine come true. It allows creating long-term processes (or state machines) based on BPMN diagrams that can be modeled using our editor.
-
Not only does it help to structure myself,
-
TRAILBLAZER-TEST The official stable release is only weeks away bringing you a bunch of new assertions that drastically reduce coding effort for tests! Of course, Minitest and RSpec will both be supported. TRAILBLAZER-STORY will follow as it turned out to be inevitable for setting up application state for tests. Instead of fumbling around with factories and traits in your tests, you “tell a story” about what to create in which order, easily customizable, and all written using activities. Currently, I’m working on designing the interfaces and it’s real fun!
-
In the past 1 ½ years something weird happened: a real core team formed around the Trailblazer gems. I say “real” because in the past 15 years of OSS, I’ve had people come and go, being of great help but never staying and taking over long-term responsibilities - which I found to be the pivotal element of a core team. Eventually, those kids convinced me to start the Trailblazer organization on Github and move over all “apotonick gems”. Over the course of time, I saw myself giving away that aforementioned responsibility with a smile on my face, adding owners and collaborators to gems, yes, even giving away entire gems, letting people work on documentation and just trusting someone and their skills. I have no words to describe how good that feels!
-
I work with crazy geniuses who share many of my opinions (not all, and that’s good).
Tags
- company/business
- trailblazer-endpoint
- the missing link
- advantages/merits/pros
- state charts
- dream come true
- organically formed
- state machine
- the Trailblazer way
- structuring your day
- differences of opinion/perspective are good
- testing
- software development consultancy
- maintenance: core team
- organic
- organization/team
- list-making
- Trailblazer
Annotators
URL
-
-
www.quora.com www.quora.com
-
There are two definitions of ‘Enterprise’ 1 - Enterprise as a business. In fact, in French, ‘enterprise’ literally means ‘business’ 2- Enterprise as a large business. This is the most common use of the term in business, differentiating between small, medium, and large businesses. In this context, there is no official rule, however it is generally accepted for enterprise to mean companies with over 1,000 employees and/or $1B in revenue
-
This would be the taxonomy:
-
-
trailblazer.to trailblazer.to
-
-
Our company reinvests our funds straight back into developing all Trailblazer gems, better documentation and support, plus building up a nice team of fantastic people to help you with Trailblazer.
-
would love to hear from you if you’re excited about our gems, high-level abstractions and improving our documentation
-
We’re actively looking to grow this team and would love to hear from you
-
And: we will never stop innovating.
-
-
en.wikipedia.org en.wikipedia.org
-
-
which entails computer programming (process of writing and maintaining the source code), but also encompasses a planned and structured process from the conception of the desired software to its final manifestation
-
-
en.wikipedia.org en.wikipedia.org
-
Software architecture is about making fundamental structural choices that are costly to change once implemented.
-
Software architecture refers to the fundamental structures of a software system
-
-
trailblazer.to trailblazer.to
-
The adapter is where authentication, policy checks, and eventually your domain logic happen. All termini of the protocol’s activity are standardized end events - that’s how protocol and adapter communicate.
-
An endpoint links your routing with your business code. The idea is that your controllers are pure HTTP routers, calling the respective endpoint for each action. From there, the endpoint takes over, handles authentication, policies, executing the domain code, interpreting the result, and providing hooks to render a response.
-
The endpoint gem is the missing link between your routing framework and your business code. It acts like a mix of before_filters and “responder” that handles authentication and authorization, invoking your actual logic, and rendering a response.
-
-
github.com github.com
-
Instead of dealing with a mix of before_filters, Rack-middlewares, controller code and callbacks, an endpoint is just another activity and allows to be customized with the well-established Trailblazer mechanics.
-
providing best practices for both HTML-rendering controllers and APIs.
-
While routing and redirecting/rendering still happens in Rails, all remaining steps are handled in the endpoint.
-
their main intent is to reduce fuzzy controller code
-
-
-
github.com github.com
-
Tyrant "Freedom choked in dread we live, since tyrant was enthroned."
-
-
-
trailblazer.to trailblazer.to
-
The trailblazer-workflow gem is currently a paid feature.
-
-
www.huffpost.com www.huffpost.com
-
They do not maintain a to-do list (mentally or physically).
-
I am a delegation junkie. Whenever possible, I assign tasks and responsibilities originally assigned to me onto others.
-
In the classroom, I delegate responsibilities to my students at a rate that astounds people. There is almost nothing that I will not allow my students to do, including teaching my lessons whenever possible. My students take full and complete ownership of the classroom, whether they like it or not, and as a result, they possess great ownership of their learning.
-
If you ask my former students, they will tell you that as a teacher, my goal is to do nothing. I dream of the day when I can sit at my desk, feet propped up, reading a book, while the classroom bursts with activity and learning around me.
-
They cannot accept any less than 100 percent of their expectations being met.
-
-
www.forbes.com www.forbes.com
-
-
I admit, I was a bit cynical -- I mean, how much can what I scribble on the back of a used envelope really change my life?
-
’ve had Paula Rizzo’s book, Listful Thinking: Using Lists to be More Productive, Highly Successful and Less Stressed, on my to-read list (see what I did there?)
-
-
en.wikipedia.org en.wikipedia.org
-
en.wikipedia.org en.wikipedia.org
-
-
Self-referential statements are sometimes paradoxical, and can also be considered recursive.
-
-
english.stackexchange.com english.stackexchange.com
-
This text wound up founding the discipline which we today call "metaphysics", and one way to describe what this subject encompasses is that it covers things at a level of abstraction above physics.
-
a documentary is a meta movie, no question about it
-
Any "rising above" is meta. When works do it about themselves, that of course is meta as well: the specific kind of meta which is self-referential (what Hostadter calls a Strange Loop. BTW, do you know what Hofstadter's motto is? "I'm So Meta, Even This Acronym")
-