© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Search
Star
Feedback
Setup for Free
Using Classes Inside Functions: Best Practices - Effect Community
EC
Effect Community
•
3y ago
•
5 replies
Sadra
Using Classes Inside Functions: Best Practices
can we use class inside functions
? or we should use them outside of whole class
?
Effect Community
Join
Production-grade applications in TypeScript.
6,221
Members
View on Discord
Resources
ModelContextProtocol
ModelContextProtocol
MCP Server
Recent Announcements
Similar Threads
Was this page helpful?
Yes
No
Similar Threads
Best Practices for Pure Functions in Effect Typescript
EC
Effect Community / 🚀-beginners
5mo ago
Best Practices for Using `process.exit()`
EC
Effect Community / 🚀-beginners
3y ago
Best Practices for Using `effect.fn` in Code
EC
Effect Community / 🚀-beginners
13mo ago
Best Practices for Defining Layer Constructing Functions: Interfaces vs. Type Aliases
EC
Effect Community / 🚀-beginners
2y ago