Walter Chang's user avatar
Walter Chang's user avatar
Walter Chang's user avatar
Walter Chang
  • Member for 14 years, 9 months
  • Last seen more than a week ago
121 votes
Accepted

How do I setup multiple type bounds in Scala?

98 votes
Accepted

Case class to map in Scala

73 votes
Accepted

Scala: How do I dynamically instantiate an object and invoke a method using reflection?

70 votes
Accepted

Scala: How to define "generic" function parameters?

69 votes
Accepted

Scala: XML Whitespace Removal?

59 votes
Accepted

Using Either to process failures in Scala code

53 votes

How to model type-safe enum types?

53 votes
Accepted

Difference between Iterator and Stream in Scala?

46 votes
Accepted

A better way to test the value of an Option?

42 votes
Accepted

Scala: set a field value reflectively from field name

37 votes

Read entire file in Scala?

29 votes
Accepted

Unimporting in Scala

28 votes
Accepted

Scala: how to merge a collection of Maps

21 votes
Accepted

Does Scala AnyRef.clone perform a shallow or deep copy?

19 votes

Scala best way of turning a Collection into a Map-by-key? (2nd variant)

19 votes
Accepted

fold list of tuples in scala with destructuring

16 votes

How to instantiate an instance of type represented by type parameter in Scala

15 votes
Accepted

What is the easiest way to deeply clone (copy) a mutable Scala object?

15 votes
Accepted

Scala: How to "store" a function in a var?

13 votes

Remove Characters from the end of a String Scala

13 votes
Accepted

How to create non-blocking methods in Scala?

12 votes

Scala's for-comprehensions: vital feature or syntactic sugar?

12 votes
Accepted

Why can't scalac optimize tail recursion in certain scenarios?

9 votes
Accepted

When are threads created for Scala actor's reacts?

7 votes

Calculating the Moving Average of a List

7 votes
Accepted

Scala: How to know if a class is an enumeration; isInstanceOf[Enumeration] doesn't work

6 votes

Scala: how to inherit a "static slot"?

6 votes

Symbols or Case Classes for sending messages to Scala Actors?

6 votes

In Scala, how would you declare static data inside a function?

6 votes

Why doesn't Scala Source close the underlying InputStream?