• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 20:19
CET 02:19
KST 10:19
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
TL.net Map Contest #21: Winners3Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting12[ASL20] Ro4 Preview: Descent11
Community News
Starcraft, SC2, HoTS, WC3, returning to Blizzcon!21$5,000+ WardiTV 2025 Championship5[BSL21] RO32 Group Stage3Weekly Cups (Oct 26-Nov 2): Liquid, Clem, Solar win; LAN in Philly2Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win9
StarCraft 2
General
Starcraft, SC2, HoTS, WC3, returning to Blizzcon! TL.net Map Contest #21: Winners RotterdaM "Serral is the GOAT, and it's not close" Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win 5.0.15 Patch Balance Hotfix (2025-10-8)
Tourneys
$5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest Merivale 8 Open - LAN - Stellar Fest Sea Duckling Open (Global, Bronze-Diamond) $3,500 WardiTV Korean Royale S4
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review [BSL21] RO32 Group Stage Practice Partners (Official) [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[Megathread] Daily Proleagues [BSL21] RO32 Group B - Sunday 21:00 CET [BSL21] RO32 Group A - Saturday 21:00 CET BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
Current Meta How to stay on top of macro? PvZ map balance Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Nintendo Switch Thread ZeroSpace Megathread General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread Dating: How's your luck?
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Why we need SC3
Hildegard
Career Paths and Skills for …
TrAiDoS
Reality "theory" prov…
perfectspheres
Our Last Hope in th…
KrillinFromwales
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1388 users

Ruby sucks, a poem

Blogs > Alzadar
Post a Reply
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 17:29 GMT
#1
def ruby_is_the_ugliest_language(why_use_it_ever)
all_the_clutter_of_scheme(but,none,of,the,elegance)
duck = get_thing # is this real
duck = get_banana # why would you do this to me
duck = get_firetruck # fuck I give up
mystery = is_this_a_method_or_a_variable
did_I_mention_the_ugly_naming_standard = true
ruby_annoys_me.each do |day|
get_mildly_convenient_loop_syntax
unless is_it_worth_it?
ruby_sucks
end
end
Thread.new {
multithreading_is_a_joke = true
}
end
end
end
end


****
I am the Town Medic.
MysteryMeat1
Profile Blog Joined June 2011
United States3292 Posts
January 31 2014 19:14 GMT
#2
mystery is a method.
"Cause ya know, Style before victory." -The greatest mafia player alive
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 19:19 GMT
#3
On February 01 2014 04:14 MysteryMeat1 wrote:
mystery is a method.


Maybe, maybe not. You can't know without seeing more. Even if you saw the method definition you wouldn't know for sure.

Consider:

mystery = 4

def mystery
return 2
end

puts mystery


This won't even complain about the ambiguity, it just outputs 4. This is why Ruby sucks.
I am the Town Medic.
rafaliusz
Profile Joined December 2009
Poland482 Posts
January 31 2014 19:33 GMT
#4
Does that code actually work?
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
Last Edited: 2014-01-31 19:49:35
January 31 2014 19:48 GMT
#5
On February 01 2014 04:33 rafaliusz wrote:
Does that code actually work?


It's correct syntax (other than the three superfluous end statements at the bottom), yes.
I am the Town Medic.
Chairman Ray
Profile Blog Joined December 2009
United States11903 Posts
January 31 2014 19:50 GMT
#6
Ah Ruby, I hated it so much.
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 20:01 GMT
#7
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.
I am the Town Medic.
hp.Shell
Profile Blog Joined April 2010
United States2527 Posts
January 31 2014 20:39 GMT
#8
On February 01 2014 04:14 MysteryMeat1 wrote:
mystery is a method.

lol, +1, high five sir.
Please PM me with any songs you like that you think I haven't heard before!
Logo
Profile Blog Joined April 2010
United States7542 Posts
Last Edited: 2014-01-31 22:25:12
January 31 2014 22:24 GMT
#9
On February 01 2014 05:01 Alzadar wrote:
Show nested quote +
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.


Ehhh depends on your developers. If people are good about not being terrible, duck typing can save you a ton of code and still remain workable on large projects. Less so for primitives where it's annoying, but it's nice for some functions that aren't distinct enough to create an object hierarchy for (say load and unload if you're dealing with some sort of widget type things).

Plus it avoids an equally annoying bloat you see in large projects where you have someone doing:
addNumbers(int i, int j)
addNumbers(string i, string j)
addNumbers(int i, string j)
addNumbers(string i, int j)
addNumbers(float i, float j)
... and on and on...
Logo
Alzadar
Profile Blog Joined April 2010
Canada5009 Posts
January 31 2014 22:39 GMT
#10
On February 01 2014 07:24 Logo wrote:
Show nested quote +
On February 01 2014 05:01 Alzadar wrote:
On February 01 2014 04:50 Chairman Ray wrote:
Ah Ruby, I hated it so much.


Seriously though, duck typing may be fine for a teaching language or a small personal project, but when you're digging through and debugging huge files and/or trying to use big libraries, it's like, what the FUCK does this method return? What kind of shit is this variable holding? What asshole named this method to_m?

end

Also Ruby can't multithread for shit, all you end up doing is context switching on a single core and making everything take 3x as long.


Ehhh depends on your developers. If people are good about not being terrible, duck typing can save you a ton of code and still remain workable on large projects. Less so for primitives where it's annoying, but it's nice for some functions that aren't distinct enough to create an object hierarchy for (say load and unload if you're dealing with some sort of widget type things).

Plus it avoids an equally annoying bloat you see in large projects where you have someone doing:
addNumbers(int i, int j)
addNumbers(string i, string j)
addNumbers(int i, string j)
addNumbers(string i, int j)
addNumbers(float i, float j)
... and on and on...


You could achieve a similar thing via regular polymorphism, although that takes a decent amount of foresight and would be hard to implement retroactively.
I am the Town Medic.
docvoc
Profile Blog Joined July 2011
United States5491 Posts
January 31 2014 23:19 GMT
#11
I was so sure this was gonna be about pokemon and I was about to get in here and defend that game to death lol.
User was warned for too many mimes.
Tufas
Profile Blog Joined April 2010
Austria2259 Posts
January 31 2014 23:24 GMT
#12
On February 01 2014 08:19 docvoc wrote:
I was so sure this was gonna be about pokemon and I was about to get in here and defend that game to death lol.


Same thought, but I just wanted to see TL burn.
Where is my ACE flair
Otolia
Profile Blog Joined July 2011
France5805 Posts
February 01 2014 10:28 GMT
#13
Had to dev a FTP in ruby and when I realized there was no high-level storage from ruby-objects to yaml in ruby I cried. Still there is far worse than Ruby.

*shrugs* FORTRAN *shrugs*
Chef
Profile Blog Joined August 2005
10810 Posts
February 01 2014 13:57 GMT
#14
Rails is excellent for quickly developing web-applications. Choose the right tool for the right job. Of course there's certain annoying things about Ruby and the asset pipeline can be frustrating.
LEGEND!! LEGEND!!
Please log in or register to reply.
Live Events Refresh
Replay Cast
23:00
WardiTV Mondays #58
CranKy Ducklings170
LiquipediaDiscussion
OSC
22:00
Masters Cup 150 Open Qual
davetesta29
Liquipedia
LAN Event
18:00
Day 3: Ursa 2v2, FFA
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech131
JuggernautJason112
NeuroSwarm 49
RuFF_SC2 42
StarCraft: Brood War
Calm 3439
Artosis 775
Shuttle 490
NaDa 51
League of Legends
Cuddl3bear3
Other Games
tarik_tv15057
summit1g4867
Day[9].tv506
C9.Mang0253
FrodaN200
ViBE139
Organizations
Other Games
gamesdonequick522
Counter-Strike
PGL133
Other Games
BasetradeTV84
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21674
Other Games
• Scarra512
• Day9tv506
Upcoming Events
OSC
10h 41m
LAN Event
13h 41m
Korean StarCraft League
1d 1h
CranKy Ducklings
1d 8h
LAN Event
1d 13h
IPSL
1d 16h
dxtr13 vs OldBoy
Napoleon vs Doodle
BSL 21
1d 18h
Gosudark vs Kyrie
Gypsy vs Sterling
UltrA vs Radley
Dandy vs Ptak
Replay Cast
1d 21h
Sparkling Tuna Cup
2 days
WardiTV Korean Royale
2 days
[ Show More ]
LAN Event
2 days
IPSL
2 days
JDConan vs WIZARD
WolFix vs Cross
BSL 21
2 days
spx vs rasowy
HBO vs KameZerg
Cross vs Razz
dxtr13 vs ZZZero
Replay Cast
3 days
Wardi Open
3 days
WardiTV Korean Royale
4 days
Replay Cast
5 days
Kung Fu Cup
5 days
Classic vs Solar
herO vs Cure
Reynor vs GuMiho
ByuN vs ShoWTimE
Tenacious Turtle Tussle
5 days
The PondCast
6 days
RSL Revival
6 days
Solar vs Zoun
MaxPax vs Bunny
Kung Fu Cup
6 days
WardiTV Korean Royale
6 days
Liquipedia Results

Completed

BSL 21 Points
SC4ALL: StarCraft II
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
Stellar Fest: Constellation Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual

Upcoming

BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.