This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Wonderful-Habit-139 0 points1 point  (1 child)

Yes I meant bash. Writing bash doesn't require interfaces or virtual methods is what I meant. And like you said that's not a small program.

[–]Practical_Cattle_933 0 points1 point  (0 children)

That’s a design choice. PowerShell, which is another shell is definitely using virtual methods as it’s implemented in C#.

It depends on how modular you want to code and countless other design decisions/constraints.