rfc:ripples

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
rfc:ripples [2013/10/30 10:53] – [Proposal] krakjoerfc:ripples [2013/10/30 13:33] – [Proposal] krakjoe
Line 69: Line 69:
                
        try {        try {
-         while (($buffer = $socket->transcode($data))) {+         while (($buffer = $transcoder->transcode($data))) {
    
          }          }
    
-       } catch (SocketTranscodeException $esex) {+       } catch (DataDecodeException $dde) {
           /* this is exceptional */           /* this is exceptional */
           /* nothing can be done to recover execution */           /* nothing can be done to recover execution */
        }        }
-     } dam (SocketReadRipple $sex) {+     } dam (SocketReadRipple $sr) {
    
      }      }
    }    }
-} dam (SocketDisconnectRipple $se) {+} dam (SocketDisconnectRipple $sd) {
    
 } }
Line 96: Line 96:
 The flow of this program could be described as fragmented, but it is //not// broken, execution //flows// from one block to another in a non-linear way. The flow of this program could be described as fragmented, but it is //not// broken, execution //flows// from one block to another in a non-linear way.
  
-Instead of throwing exceptions to be caught, unconditionally altering the flow of executionwe can drop ripples to be dammed, allowing execution to recover.+We throw exceptions to be caught, unconditionally altering the flow of executionwe can drop ripples to be dammed, allowing execution to recover.
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
Line 133: Line 133:
 Do we have in ripples a viable replacement for warnings and notices ? Do we have in ripples a viable replacement for warnings and notices ?
  
-===== Proposed Voting Choices =====+===== Preempted Opinions =====
  
   * You are crazy   * You are crazy
rfc/ripples.txt · Last modified: 2017/09/22 13:28 by 127.0.0.1