MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/transprogrammer/comments/uw2aeb/wish_i_could_trycatch_my_gender/
r/transprogrammer • u/[deleted] • May 23 '22
14 comments sorted by
27
Have you tried:
Gender gender = new Gender(); try { gender.swap(); } catch (DysphoriaException e) { gender.transition(); }
20
Do like one would do it in Lua. Just do a protected call.
Instead of gender.swap() you do pcall(gender.swap)
gender.swap()
pcall(gender.swap)
Edit 0: Fixed markdown
11 u/[deleted] May 23 '22 [removed] — view removed comment 7 u/[deleted] May 23 '22 Monads 5 u/ato-de-suteru May 23 '22 Option<Gender> 3 u/lowpass May 23 '22 Monads in the lightning, in the lightning! In the raaain
11
[removed] — view removed comment
7 u/[deleted] May 23 '22 Monads 5 u/ato-de-suteru May 23 '22 Option<Gender> 3 u/lowpass May 23 '22 Monads in the lightning, in the lightning! In the raaain
7
Monads
5 u/ato-de-suteru May 23 '22 Option<Gender> 3 u/lowpass May 23 '22 Monads in the lightning, in the lightning! In the raaain
5
Option<Gender>
3
Monads in the lightning, in the lightning! In the raaain
10
A wise person told me to never look back, so maybe I'll just fork a new gender? Then those genders can fork sub-genders and so on until one of them figures things out.
gender() { gender | gender & }; gender
6 u/ato-de-suteru May 23 '22 ..... this looks frighteningly familiar 4 u/Queeragon May 24 '22 As in a figurative complicated gender discovery experience or the literal panic-inducing code snippet? 3 u/ato-de-suteru May 24 '22 The latter. Is that not a fork bomb?
6
..... this looks frighteningly familiar
4 u/Queeragon May 24 '22 As in a figurative complicated gender discovery experience or the literal panic-inducing code snippet? 3 u/ato-de-suteru May 24 '22 The latter. Is that not a fork bomb?
4
As in a figurative complicated gender discovery experience or the literal panic-inducing code snippet?
3 u/ato-de-suteru May 24 '22 The latter. Is that not a fork bomb?
The latter. Is that not a fork bomb?
1
you see the issue is you cant swap it because its cis
4 u/[deleted] May 24 '22 Ugh, I thought I uninstalled the StillCisTho library... 2 u/TheAlan404 May 24 '22 thats not a valid package.. are you sure thats not a fake?
Ugh, I thought I uninstalled the StillCisTho library...
2 u/TheAlan404 May 24 '22 thats not a valid package.. are you sure thats not a fake?
2
thats not a valid package.. are you sure thats not a fake?
27
u/[deleted] May 23 '22
Have you tried:
20
u/[deleted] May 23 '22
Do like one would do it in Lua. Just do a protected call.
Instead of
gender.swap()you dopcall(gender.swap)Edit 0: Fixed markdown
10
u/Queeragon May 23 '22
A wise person told me to never look back, so maybe I'll just fork a new gender? Then those genders can fork sub-genders and so on until one of them figures things out.
1
u/TheAlan404 May 24 '22
you see the issue is you cant swap it because its cis