- Shift + tab + tab
- Use “opus” for planning and Sonnet for everything else, /model
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Map<String, Schema.SObjectType> gd = Schema.getGlobalDescribe(); | |
| Map<String,String> objNameToPrefix = new Map<String,String>(); | |
| for ( Schema.SObjectType ot : gd.values() ) { | |
| Schema.DescribeSObjectResult dor = ot.getDescribe(); | |
| objNameToPrefix.put( dor.getName(), dor.getKeyPrefix() ); | |
| } | |
| System.debug( '--->>> ' + objNameToPrefix ); |
Applied rationality for a coding agent. Defensive epistemology: minimize false beliefs, catch errors early, avoid compounding mistakes.
This is correct for code, where:
- Reality has hard edges (the compiler doesn't care about your intent)
- Mistakes compound (a wrong assumption propagates through everything built on it)
- The cost of being wrong exceeds the cost of being slow